Upload egg json
This commit is contained in:
102
Terraria/tModLoader/tModLoader.json
Normal file
102
Terraria/tModLoader/tModLoader.json
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
{
|
||||||
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||||
|
"meta": {
|
||||||
|
"version": "PTDL_v2",
|
||||||
|
"update_url": null
|
||||||
|
},
|
||||||
|
"exported_at": "2022-07-05T16:39:06-05:00",
|
||||||
|
"name": "tModLoader",
|
||||||
|
"author": "mindfang@taco.quest",
|
||||||
|
"description": "tModLoader (TML) is an open-source, community-driven, modification and expansion of the Terraria game that makes it possible to make and play mods. TML expands your Terraria adventures with new content to explore created by the Terraria community! TML allows players to create and play Terraria mods and is designed in such a way so that you can play alone or together with friends, with one mod or with multiple mods: choose to play however you like! It is however required that all your friends also install TML if you want to play together; vanilla users can't play with TML users.",
|
||||||
|
"features": null,
|
||||||
|
"docker_images": {
|
||||||
|
"gethec\/pterodactyl-yolks:steamcmd": "gethec\/pterodactyl-yolks:steamcmd"
|
||||||
|
},
|
||||||
|
"file_denylist": [],
|
||||||
|
"startup": ".\/startServer.sh",
|
||||||
|
"config": {
|
||||||
|
"files": "{}",
|
||||||
|
"startup": "{\r\n \"done\": \"Type 'help' for a list of commands\",\r\n \"userInteraction\": []\r\n}",
|
||||||
|
"logs": "{}",
|
||||||
|
"stop": "exit"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"installation": {
|
||||||
|
"script": "#!\/bin\/bash\r\nHOME=\/mnt\/server\r\nGREEN='\\033[0;32m'\r\n\r\nmkdir -p $HOME\r\ncd $HOME\r\n\r\necho -e \"Creating Steam subdirectories\"\r\nmkdir -p ${HOME}\/.steam\/{root,steam} && \\\r\n\r\necho -e \"Running Steam initial update\"\r\nsteamcmd +quit\r\n\r\nif [ -z \"$VERSION\" ] || [ \"$VERSION\" == \"latest\" ]; then\r\n echo -e \"Downloading latest release\"\r\n curl -sSL https:\/\/github.com\/tModLoader\/tModLoader\/releases\/latest\/download\/tModLoader.zip -O\r\nelse\r\n echo -e \"Downloading version $VERSION of tModLoader\"\r\n curl -sSL https:\/\/github.com\/tModLoader\/tModLoader\/releases\/download\/${VERSION}\/tModLoader.zip -O\r\nfi\r\n\r\necho -e \"Installing tModLoader\"\r\nunzip -o tModLoader.zip\r\n\r\necho -e \"Downloading additional files\"\r\ncurl -sSL https:\/\/raw.githubusercontent.com\/Gethec\/Pterodactyl-Eggs\/main\/Terraria\/tModLoader\/startServer.sh -O\r\ncurl -sSL https:\/\/raw.githubusercontent.com\/Gethec\/Pterodactyl-Eggs\/main\/Terraria\/tModLoader\/.pteroignore -O\r\n\r\necho -e \"Creating content directories\"\r\nmkdir -p mods saves\/Worlds\r\n\r\necho -e \"Setting executables\"\r\nchmod +x .\/DedicatedServerUtils\/Setup_tModLoaderServer.sh .\/LaunchUtils\/ScriptCaller.sh start-tModLoaderServer.sh start-tModLoader.sh startServer.sh\r\n\r\necho -e \"Cleaning up extra files\"\r\nrm tModLoader.zip\r\n\r\necho -e \"${GREEN}Server installation complete!\"",
|
||||||
|
"container": "gethec\/pterodactyl-yolks:steamcmd-installer",
|
||||||
|
"entrypoint": "bash"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "tModloader Version",
|
||||||
|
"description": "The version of tModloader that is to be used.",
|
||||||
|
"env_variable": "VERSION",
|
||||||
|
"default_value": "latest",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "required|string|max:20",
|
||||||
|
"field_type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "World Name",
|
||||||
|
"description": "The name for the world file.",
|
||||||
|
"env_variable": "WORLD_NAME",
|
||||||
|
"default_value": "world",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "required|string|max:26",
|
||||||
|
"field_type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Max Players",
|
||||||
|
"description": "The maximum number of players a server will hold.",
|
||||||
|
"env_variable": "MAX_PLAYERS",
|
||||||
|
"default_value": "8",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": false,
|
||||||
|
"rules": "required|numeric|digits_between:1,3",
|
||||||
|
"field_type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "World Size",
|
||||||
|
"description": "Defines the worlds size. 0 (do not autogenerate), 1 (small), 2 (medium), 3 (large).",
|
||||||
|
"env_variable": "WORLD_SIZE",
|
||||||
|
"default_value": "0",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "required|numeric|digits_between:0,3",
|
||||||
|
"field_type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Server Password",
|
||||||
|
"description": "Server password for users to connect to your server",
|
||||||
|
"env_variable": "SERVER_PASSWORD",
|
||||||
|
"default_value": "",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "nullable|string|max:20",
|
||||||
|
"field_type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MOTD",
|
||||||
|
"description": "Message of the Day for the server",
|
||||||
|
"env_variable": "MOTD",
|
||||||
|
"default_value": "Please don\u2019t cut the purple trees!",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "required|string|max:40",
|
||||||
|
"field_type": "text"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "World Seed",
|
||||||
|
"description": "Set the world seed for autogeneration",
|
||||||
|
"env_variable": "WORLD_SEED",
|
||||||
|
"default_value": "AwesomeSeed",
|
||||||
|
"user_viewable": true,
|
||||||
|
"user_editable": true,
|
||||||
|
"rules": "required|string|max:20",
|
||||||
|
"field_type": "text"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Reference in New Issue
Block a user