forked from pufferpanel/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminecraft-velocity.json
81 lines (81 loc) · 2.34 KB
/
minecraft-velocity.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"type": "minecraft-java",
"display": "Velocity - Minecraft",
"data": {
"version": {
"type": "string",
"desc": "Version of Velocity to install.",
"display": "Velocity Version",
"required": true,
"value": "3.2.0-SNAPSHOT",
"userEdit": true
},
"build": {
"type": "integer",
"desc": "Build of the Velocity Version to use",
"display": "Velocity Build",
"required": true,
"value": "261",
"userEdit": true
},
"ip": {
"type": "string",
"desc": "What IP to bind the server to",
"display": "IP",
"required": true,
"value": "0.0.0.0"
},
"memory": {
"type": "integer",
"desc": "How much memory in MB to allocate to the Waterfall server. It is generally recommended to allocated 512MB RAM for every 500 players. Please keep in mind that additional plugins may impact the amount needed in your case.",
"display": "Memory (MB)",
"required": true,
"value": 512
},
"motd": {
"type": "string",
"desc": "This is the message that is displayed in the server list of the client, below the name. The MOTD does support <a href='https://minecraft.wiki/w/Formatting_codes' target='_blank'>color and formatting codes</a>.",
"display": "MOTD message of the day",
"required": true,
"value": "A Velocity proxy &9hosted on PufferPanel"
},
"port": {
"type": "integer",
"desc": "What port to bind the server to",
"display": "Port",
"required": true,
"value": "25565"
},
"javaversion": {
"type": "integer",
"desc": "Version of Java to use",
"display": "Java Version",
"value": "21",
"required": true
}
},
"install": [
{
"type": "javadl",
"version": "${javaversion}"
},
{
"files": [
"https://api.papermc.io/v2/projects/velocity/versions/${version}/builds/${build}/downloads/velocity-${version}-${build}.jar"
],
"type": "download"
},
{
"source": "velocity-*.jar",
"target": "velocity.jar",
"type": "move"
}
],
"run": {
"command": "java${javaversion} -Xmx${memory}M -Xms${memory}M -Dterminal.jline=false -Dterminal.ansi=true -Dlog4j2.formatMsgNoLookups=true -jar velocity.jar",
"stop": "shutdown"
},
"environment": {
"type": "standard"
}
}