chore: initial commit for main
This commit is contained in:
@@ -120,6 +120,75 @@ async function seed() {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
slug: 'minecraft-bedrock',
|
||||
name: 'Minecraft: Bedrock Edition',
|
||||
dockerImage: 'itzg/minecraft-bedrock-server:latest',
|
||||
defaultPort: 19132,
|
||||
startupCommand: '',
|
||||
stopCommand: 'stop',
|
||||
configFiles: [
|
||||
{
|
||||
path: 'server.properties',
|
||||
parser: 'properties',
|
||||
editableKeys: [
|
||||
'server-name',
|
||||
'server-port',
|
||||
'max-players',
|
||||
'gamemode',
|
||||
'difficulty',
|
||||
'level-seed',
|
||||
'online-mode',
|
||||
'allow-cheats',
|
||||
'view-distance',
|
||||
],
|
||||
},
|
||||
],
|
||||
environmentVars: [
|
||||
{ key: 'EULA', default: 'TRUE', description: 'Accept Minecraft EULA', required: true },
|
||||
{ key: 'VERSION', default: 'LATEST', description: 'Bedrock server version', required: true },
|
||||
],
|
||||
},
|
||||
{
|
||||
slug: 'terraria',
|
||||
name: 'Terraria',
|
||||
dockerImage: 'ryshe/terraria:latest',
|
||||
defaultPort: 7777,
|
||||
startupCommand: '',
|
||||
stopCommand: 'exit',
|
||||
configFiles: [
|
||||
{
|
||||
path: 'serverconfig.txt',
|
||||
parser: 'keyvalue',
|
||||
editableKeys: [
|
||||
'worldname',
|
||||
'maxplayers',
|
||||
'password',
|
||||
'motd',
|
||||
'difficulty',
|
||||
'worldsize',
|
||||
],
|
||||
},
|
||||
],
|
||||
environmentVars: [
|
||||
{ key: 'WORLD_NAME', default: 'world', description: 'World file name', required: true },
|
||||
],
|
||||
},
|
||||
{
|
||||
slug: 'rust',
|
||||
name: 'Rust',
|
||||
dockerImage: 'didstopia/rust-server:latest',
|
||||
defaultPort: 28015,
|
||||
startupCommand: '',
|
||||
stopCommand: 'quit',
|
||||
configFiles: [],
|
||||
environmentVars: [
|
||||
{ key: 'RUST_SERVER_NAME', default: 'My Rust Server', description: 'Server name', required: true },
|
||||
{ key: 'RUST_SERVER_MAXPLAYERS', default: '50', description: 'Max players', required: false },
|
||||
{ key: 'RUST_SERVER_IDENTITY', default: 'default', description: 'Server identity', required: false },
|
||||
{ key: 'RUST_RCON_PASSWORD', default: '', description: 'RCON password', required: true },
|
||||
],
|
||||
},
|
||||
])
|
||||
.onConflictDoNothing();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user