You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'description' => 'Spigot is the most widely-used modded Minecraft server software in the world. It powers many of the top Minecraft server networks around to ensure they can cope with their huge player base and ensure the satisfaction of their players. Spigot works by reducing and eliminating many causes of lag, as well as adding in handy features and settings that help make your job of server administration easier.',
@@ -103,5 +113,41 @@ private function addVariables()
103
113
'required' => 1,
104
114
'regex' => '/^(latest|[a-zA-Z0-9_\.-]{5,6})$/'
105
115
]);
116
+
117
+
Models\ServiceVariables::create([
118
+
'option_id' => $this->option['spigot']->id,
119
+
'name' => 'Server Jar File',
120
+
'description' => 'The name of the server jarfile to run the server with.',
121
+
'env_variable' => 'SERVER_JARFILE',
122
+
'default_value' => 'server.jar',
123
+
'user_viewable' => 1,
124
+
'user_editable' => 1,
125
+
'required' => 1,
126
+
'regex' => '/^([\w\d._-]+)(\.jar)$/'
127
+
]);
128
+
129
+
Models\ServiceVariables::create([
130
+
'option_id' => $this->option['spigot']->id,
131
+
'name' => 'Spigot Version',
132
+
'description' => 'The version of Spigot to download (using the --rev tag). Use "latest" for latest.',
133
+
'env_variable' => 'DL_VERSION',
134
+
'default_value' => 'latest',
135
+
'user_viewable' => 1,
136
+
'user_editable' => 1,
137
+
'required' => 1,
138
+
'regex' => '/^(latest|[a-zA-Z0-9_\.-]{5,6})$/'
139
+
]);
140
+
141
+
Models\ServiceVariables::create([
142
+
'option_id' => $this->option['spigot']->id,
143
+
'name' => 'Download Path',
144
+
'description' => 'A URL to use to download Spigot rather than building it on the server. This is not user viewable. Use <code>{{DL_VERSION}}</code> in the URL to automatically insert the assigned version into the URL. If you do not enter a URL Spigot will build directly in the container (this will fail on low memory containers).',
0 commit comments