Skip to content

Commit 14838db

Browse files
authored
Merge pull request pterodactyl#1432 from smcfreak/patch-1
Added missing option for auto-save interval
2 parents 7906074 + 7b7e208 commit 14838db

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

database/seeds/eggs/rust/egg-rust.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "support@pterodactyl.io",
99
"description": "The only aim in Rust is to survive. To do this you will need to overcome struggles such as hunger, thirst and cold. Build a fire. Build a shelter. Kill animals for meat. Protect yourself from other players, and kill them for meat. Create alliances with other players and form a town. Do whatever it takes to survive.",
1010
"image": "quay.io\/pterodactyl\/core:rust",
11-
"startup": ".\/RustDedicated -batchmode +server.port {{SERVER_PORT}} +server.identity \"rust\" +rcon.port {{RCON_PORT}} +rcon.web true +server.hostname \\\"{{HOSTNAME}}\\\" +server.level \\\"{{LEVEL}}\\\" +server.description \\\"{{DESCRIPTION}}\\\" +server.url \\\"{{SERVER_URL}}\\\" +server.headerimage \\\"{{SERVER_IMG}}\\\" +server.worldsize \\\"{{WORLD_SIZE}}\\\" +server.seed \\\"{{WORLD_SEED}}\\\" +server.maxplayers {{MAX_PLAYERS}} +rcon.password \\\"{{RCON_PASS}}\\\" {{ADDITIONAL_ARGS}}",
11+
"startup": ".\/RustDedicated -batchmode +server.port {{SERVER_PORT}} +server.identity \"rust\" +rcon.port {{RCON_PORT}} +rcon.web true +server.hostname \\\"{{HOSTNAME}}\\\" +server.level \\\"{{LEVEL}}\\\" +server.description \\\"{{DESCRIPTION}}\\\" +server.url \\\"{{SERVER_URL}}\\\" +server.headerimage \\\"{{SERVER_IMG}}\\\" +server.worldsize \\\"{{WORLD_SIZE}}\\\" +server.seed \\\"{{WORLD_SEED}}\\\" +server.maxplayers {{MAX_PLAYERS}} +rcon.password \\\"{{RCON_PASS}}\\\" +server.saveinterval {{SAVEINTERVAL}} {{ADDITIONAL_ARGS}}",
1212
"config": {
1313
"files": "{}",
1414
"startup": "{\r\n \"done\": \"Server startup complete\",\r\n \"userInteraction\": []\r\n}",
@@ -108,7 +108,7 @@
108108
"name": "RCON Port",
109109
"description": "Port for RCON connections.",
110110
"env_variable": "RCON_PORT",
111-
"default_value": "8401",
111+
"default_value": "28016",
112112
"user_viewable": 1,
113113
"user_editable": 0,
114114
"rules": "required|integer"
@@ -122,6 +122,15 @@
122122
"user_editable": 1,
123123
"rules": "required|string|max:64"
124124
},
125+
{
126+
"name": "Save Interval",
127+
"description": "Sets the server’s auto-save interval in seconds.",
128+
"env_variable": "SAVEINTERVAL",
129+
"default_value": "60",
130+
"user_viewable": 1,
131+
"user_editable": 1,
132+
"rules": "required|integer"
133+
},
125134
{
126135
"name": "Additional Arguments",
127136
"description": "Add additional startup parameters to the server.",
@@ -132,4 +141,4 @@
132141
"rules": "nullable|string"
133142
}
134143
]
135-
}
144+
}

0 commit comments

Comments
 (0)