2021-04-13 09:24:52 +08:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
"version" : "PTDL_v1" ,
"update_url" : null
} ,
2021-07-02 09:36:56 +08:00
"exported_at" : "2021-07-02T04:27:30+03:00" ,
2021-04-13 09:24:52 +08:00
"name" : "Veloren" ,
"author" : "parker@parkervcp.com" ,
"description" : "Veloren is a multiplayer voxel RPG written in Rust. It is inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft." ,
"features" : null ,
"images" : [
"quay.io\/parkervcp\/pterodactyl-images:base_debian"
] ,
"file_denylist" : [ ] ,
"startup" : ".\/veloren-server-cli -b" ,
"config" : {
2021-04-24 06:44:33 +08:00
"files" : "{\r\n \"userdata\/server\/server_config\/settings.ron\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" gameserver_address\": \" gameserver_address: \\\"0.0.0.0:{{server.build.default.port}}\\\",\",\r\n\t \" server_name\": \" server_name: \\\"{{server.build.env.SERVER_NAME}}\\\",\"\r\n }\r\n }\r\n}" ,
"startup" : "{\r\n \"done\": \"Server is ready to accept connections\"\r\n}" ,
2021-04-13 09:24:52 +08:00
"logs" : "{}" ,
2021-06-20 20:47:21 +08:00
"stop" : "shutdown graceful 10"
2021-04-13 09:24:52 +08:00
} ,
"scripts" : {
"installation" : {
2021-07-02 09:36:56 +08:00
"script" : "#!\/bin\/bash\r\n\r\napt update\r\napt install -y curl git-lfs\r\n\r\nmkdir -p \/mnt\/server\/assets\r\n\r\ncd \/tmp.\r\n\r\ngit clone https:\/\/gitlab.com\/veloren\/veloren.git\r\n\r\n## build veloran server cli\r\nexport VELOREN_USERDATA_STRATEGY=executable\r\ncd veloren\r\necho -e \"building veloran server, this is gonna take a bit\" \r\ncargo build --bin veloren-server-cli --release\r\n\r\ncp -f target\/release\/veloren-server-cli \/mnt\/server\/\r\ncp -Rf assets\/{common,server,world} \/mnt\/server\/assets\/\r\n\r\n## get config from repo because there is no better way to get it.\r\nmkdir -p \/mnt\/server\/userdata\/server\/server_config\/\r\nif [ ! -f \/mnt\/server\/userdata\/server\/server_config\/settings.ron ]; then\r\n echo -e \"getting default config from git repo\"\r\n curl -sSL https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/veloren\/settings.ron > \/mnt\/server\/userdata\/server\/server_config\/settings.ron\r\n echo -e \"config pulled\"\r\nfi\r\n\r\necho -e \"install complete\"" ,
2021-04-13 09:24:52 +08:00
"container" : "rust:slim-buster" ,
"entrypoint" : "bash"
}
} ,
"variables" : [ ]
2021-07-02 09:36:56 +08:00
}