mirror of
https://github.com/pelican-eggs/games-standalone.git
synced 2024-11-22 10:22:28 +01:00
Merge branch 'master' into add/barotrauma
This commit is contained in:
commit
34e09b7036
@ -71,6 +71,8 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
||||
## Game Eggs
|
||||
[Among Us Impostor Server](/among_us/impostor_server)
|
||||
|
||||
[Cryofall](/cryofall)
|
||||
|
||||
[ET Legacy](/enemy_territory/etlegacy)
|
||||
|
||||
[Factorio](/factorio/factorio)
|
||||
@ -142,6 +144,7 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
||||
* [Arma 3 HC](/steamcmd_servers/arma/arma3_headless_client)
|
||||
* [Arma 3 HC](/steamcmd_servers/arma/arma3_x64)
|
||||
* [Avorion](/steamcmd_servers/avorion)
|
||||
* [Assetto Corsa](/steamcmd_servers/assetto_corsa)
|
||||
* [Barotrauma](/steamcmd_servers/barotrauma)
|
||||
* [Citadel: Forged with Fire](/steamcmd_servers/citadel)
|
||||
* [Conan Exiles](/steamcmd_servers/conan_exiles)
|
||||
@ -189,4 +192,6 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
||||
|
||||
[Xonotic](/xonotic/xonotic)
|
||||
|
||||
[Cryofall](/cryofall)
|
||||
## [Storage](/storage/)
|
||||
### S3 Storage
|
||||
* [minio](/storage/minio)
|
||||
|
@ -24,13 +24,7 @@ This is a direct fork of the default forge service
|
||||
A generic service to pull forge mod packs from the curseforge site.
|
||||
|
||||
## FTB Packs
|
||||
[FTB](https://www.feed-the-beast.com/modpacks)
|
||||
A generic service to pull forge mod packs from the FTB site.
|
||||
Supply values to 2 variables to use
|
||||
- MODPACK_URL: from the url to the pack https://www.feed-the-beast.com/projects/{MODPACK_URL}
|
||||
- MODPACK_VERSION: version of the modpack to install
|
||||
|
||||
[FTB Modpacks through modpacks.ch](https://api.modpacks.ch)
|
||||
[FTB Modpacks](https://api.modpacks.ch)
|
||||
A generic service to pull FTB modpacks from api.modpacks.ch.
|
||||
There are 2 ways to install a server through this service.
|
||||
The first method only requires you to know the modpacks name and version.
|
||||
@ -51,10 +45,7 @@ The second method requires you to know the id for both the modpack and version i
|
||||
**NOTE**
|
||||
**Not all FTB packs come with a server.properties file, due to this the server.properties file
|
||||
may not get updated with the correct ip address and port at first launch.
|
||||
Please restart the server after first launch to fix this.**
|
||||
|
||||
[FTB Revelation](https://www.feed-the-beast.com/projects/ftb-revelation)
|
||||
Revelation is a general all-purpose modpack with optimal FPS, server performance and stability.
|
||||
Please restart the server after first launch to fix this.**
|
||||
|
||||
## Magma
|
||||
[Magma](https://magmafoundation.org/)
|
||||
@ -97,4 +88,4 @@ Fork of Paper aimed at improving server performance at high playercounts.
|
||||
|
||||
## Mohist
|
||||
Fork of Spigot focused on performance optimizations.
|
||||
[Mohist Github](https://github.com/Mohist-Community)
|
||||
[Mohist Github](https://github.com/Mohist-Community)
|
||||
|
31
minecraft/java/ftb/README.md
Normal file
31
minecraft/java/ftb/README.md
Normal file
@ -0,0 +1,31 @@
|
||||
## FTB Modpacks
|
||||
A generic service to pull FTB modpacks from api.modpacks.ch.
|
||||
There are 2 ways to install a server through this service.
|
||||
The first method only requires you to know the modpacks name and version.
|
||||
The second method requires you to know the id for both the modpack and version in the api.
|
||||
|
||||
**Method 1 (Recommended)**
|
||||
- FTB_SEARCH_TERM: the modpack name to query for, must be at least 4 characters long.
|
||||
EX: for FTB: Interactions you would do "interactions".
|
||||
- FTB_VERSION_STRING: the string version that you want to install.
|
||||
EX: for FTB: Interactions 2.0.2, you would put "2.0.2".
|
||||
|
||||
**Method 2**
|
||||
- FTB_MODPACK_ID: the id that directs to the modpack in the api.
|
||||
EX: for FTB: Interactions the id would be "5". https://api.modpacks.ch/public/modpack/5
|
||||
- FTB_MODPACK_VERSION_ID: the version id in the api.
|
||||
EX: for FTB: Interactions 2.0.2 the id is "86". https://api.modpacks.ch/public/modpack/5/86
|
||||
|
||||
**NOTE**
|
||||
**Not all FTB packs come with a server.properties file, due to this the server.properties file
|
||||
may not get updated with the correct ip address and port at first launch.
|
||||
Please restart the server after first launch to fix this.**
|
||||
|
||||
## Server Ports
|
||||
The minecraft server requires a single port for access (default 25565) but some plugins may require extra ports to enabled for the server.
|
||||
|
||||
|
||||
| Port | default |
|
||||
|-------|---------|
|
||||
| Game | 25565 |
|
||||
|
@ -12,4 +12,9 @@ The minecraft server requires a single port for access (default 25565) but plugi
|
||||
|
||||
## Server Specific
|
||||
|
||||
Limited to version 1.12.2 (1.16.4 cannot run headless as of 12/6/2020)
|
||||
### Supported versions:
|
||||
- 1.16.4 series build 132+
|
||||
- 1.12.x series
|
||||
- 1.7.x series build 13+
|
||||
|
||||
Requires changing Minecraft_Version variable on each new Minecraft version release.
|
@ -3,7 +3,7 @@
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2020-12-06T02:04:44-08:00",
|
||||
"exported_at": "2020-12-13T18:26:08-08:00",
|
||||
"name": "Mohist",
|
||||
"author": "alex.chang-lam@protonmail.com",
|
||||
"description": "Spigot fork with performance optimizations.",
|
||||
@ -18,34 +18,43 @@
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n# Mohistmc Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt install -y curl\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -sSL \"https:\/\/mohistmc.com\/api\/${MINECRAFT_VERSION}\/${BUILD_NUMBER}\/download\" -o ${SERVER_JARFILE}",
|
||||
"script": "#!\/bin\/bash\r\n# Mohist Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl\r\n\r\n#Go into main direction\r\nif [ ! -d \/mnt\/server ]; then\r\n mkdir \/mnt\/server\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\nif [ ! -z ${BUILD_VERSION} ]; then\r\n DOWNLOAD_LINK=https:\/\/mohistmc.com\/api\/${MC_VERSION}\/${BUILD_VERSION}\/download\r\nelse\r\n DOWNLOAD_LINK=https:\/\/mohistmc.com\/api\/${MC_VERSION}\/${BUILD_TYPE}\/download\r\nfi\r\n\r\n#Downloading jars\r\necho -e \"Download link is ${DOWNLOAD_LINK}\"\r\necho -e \"Downloading build version ${BUILD_VERSION}\"\r\nif [ ! -z \"${DOWNLOAD_LINK}\" ]; then \r\n if curl --output \/dev\/null --silent --head --fail ${DOWNLOAD_LINK}-server.jar; then\r\n echo -e \"Download link is valid.\"\r\n else\r\n echo -e \"Link is invalid closing out\"\r\n exit 2\r\n fi\r\nfi\r\n\r\ncurl -s -o server.jar -sS ${DOWNLOAD_LINK}\r\n\r\n#Checking if downloaded jars exist\r\nif [ ! -f .\/server.jar ]; then\r\n echo \"!!! Error downloading build version ${BUILD_VERSION} !!!\"\r\n exit\r\nfi",
|
||||
"container": "debian:buster-slim",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Server Jar File",
|
||||
"description": "The name of the jarfile to run the server with.",
|
||||
"env_variable": "SERVER_JARFILE",
|
||||
"default_value": "server.jar",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Minecraft Version",
|
||||
"description": "The version of minecraft to download. \r\n\r\nInvalid versions will default to 1.12.2.",
|
||||
"env_variable": "MINECRAFT_VERSION",
|
||||
"default_value": "1.12.2",
|
||||
"description": "The version of Minecraft to download.",
|
||||
"env_variable": "MC_VERSION",
|
||||
"default_value": "1.16.4",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Build Number",
|
||||
"description": "Optional: \r\nThe build number for the Mohist release. Overrides Build Type.",
|
||||
"env_variable": "BUILD_VERSION",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Server Jar File",
|
||||
"description": "The name of the server jarfile to run the server with.",
|
||||
"env_variable": "SERVER_JARFILE",
|
||||
"default_value": "server.jar",
|
||||
"user_viewable": true,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Build Number",
|
||||
"description": "The build number for the Mohist release.\r\n\r\nLeave at latest to always get the latest version. Invalid versions will default to latest.",
|
||||
"env_variable": "BUILD_NUMBER",
|
||||
"name": "Build Type",
|
||||
"description": "The type of server jar to download from Mohist.\r\n\r\nValid types are \"recommended\" and \"latest\".",
|
||||
"env_variable": "BUILD_TYPE",
|
||||
"default_value": "latest",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
|
@ -3,21 +3,22 @@
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2019-07-14T20:36:29-04:00",
|
||||
"exported_at": "2020-11-22T01:50:29-05:00",
|
||||
"name": "Velocity",
|
||||
"author": "parker@parkervcp.com",
|
||||
"description": "Velocity is a Minecraft server proxy with unparalleled server support, scalability, and flexibility.",
|
||||
"image": "quay.io\/pterodactyl\/core:java",
|
||||
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}",
|
||||
"features": null,
|
||||
"image": "quay.io\/parkervcp\/pterodactyl-images:adoptopenjdk-15-hotspot",
|
||||
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar {{SERVER_JARFILE}}",
|
||||
"config": {
|
||||
"files": "{\r\n \"velocity.toml\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"bind = \": \"bind = \\\"0.0.0.0:{{server.build.default.port}}\\\"\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Done (\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "shutdown"
|
||||
"stop": "end"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/ash\r\n# Velocity Proxy Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napk add --no-cache curl\r\n\r\nmkdir -p \/mnt\/server\/\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z ${VELOCITY_VERSION} ] || [ ${VELOCITY_VERSION} == \"latest\" ]; then\r\n\tVELOCITY_VERSION=\/lastStableBuild\r\nfi\r\n\r\necho -e \"Getting download link\"\r\nDOWNLOAD_ENDPOINT=$(curl https:\/\/ci.velocitypowered.com\/job\/velocity\/${VELOCITY_VERSION}\/ | grep -Eo 'href=\"[^\\\"]+\"' | grep -vE \"view|fingerprint\" | grep \".jar\" | sed -n 's\/.*href=\"\\([^\"]*\\).*\/\\1\/p')\r\nDOWNLOAD_LINK=https:\/\/ci.velocitypowered.com\/job\/velocity\/lastStableBuild\/${DOWNLOAD_ENDPOINT}\r\n\r\necho -e \"Downloading ${DOWNLOAD_LINK}\"\r\ncurl ${DOWNLOAD_LINK} -o ${SERVER_JARFILE}\r\n\r\nif [ -f velocity.toml ]; then\r\n echo -e \"velocity config file exists\"\r\nelse\r\n echo -e \"downloading velocity config file.\"\r\n curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/proxy\/proxy\/velocity\/velocity.toml -o velocity.toml\r\nfi\r\n\r\necho -e \"install complete\"",
|
||||
"script": "#!\/bin\/ash\r\n# Velocity Proxy Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napk add --no-cache curl\r\n\r\nmkdir -p \/mnt\/server\/\r\n\r\ncd \/mnt\/server\/\r\n\r\nif [ -z ${VELOCITY_VERSION} ] || [ ${VELOCITY_VERSION} == \"latest\" ]; then\r\n\tVELOCITY_VERSION=\"latest\"\r\nfi\r\n\r\necho -e \"Getting download link\"\r\nDOWNLOAD_LINK=https:\/\/versions.velocitypowered.com\/download\/${VELOCITY_VERSION}\r\n\r\necho -e \"Downloading ${DOWNLOAD_LINK}\"\r\ncurl ${DOWNLOAD_LINK} -o ${SERVER_JARFILE}\r\n\r\nif [ -f velocity.toml ]; then\r\n echo -e \"velocity config file exists\"\r\nelse\r\n echo -e \"downloading velocity config file.\"\r\n curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/minecraft\/proxy\/java\/velocity\/velocity.toml -o velocity.toml\r\nfi\r\n\r\necho -e \"install complete\"",
|
||||
"container": "alpine:3.10",
|
||||
"entrypoint": "ash"
|
||||
}
|
||||
@ -25,20 +26,20 @@
|
||||
"variables": [
|
||||
{
|
||||
"name": "Velocity Version",
|
||||
"description": "The Velocity Proxy version to download.\r\n\r\nset to 'latest ' the download the last stable build.",
|
||||
"description": "The Velocity Proxy version to download.\r\n\r\nSet to 'latest ' the download the last stable build.\r\nSet to '1.1.x-SNAPSHOT' to get the latest dev build.",
|
||||
"env_variable": "VELOCITY_VERSION",
|
||||
"default_value": "latest",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 0,
|
||||
"user_viewable": true,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Server Jar File",
|
||||
"description": "Server Jar File name",
|
||||
"description": "Server Jarfile, by default this is set to 'velocity.jar'.\r\nSet it to otherwise if you wish to have a different jarfile name.",
|
||||
"env_variable": "SERVER_JARFILE",
|
||||
"default_value": "velocity.jar",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 0,
|
||||
"user_viewable": true,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
}
|
||||
]
|
||||
|
@ -1,106 +1,135 @@
|
||||
# Config version. Do not change this
|
||||
config-version = "1.0"
|
||||
|
||||
# What port should the proxy be bound to? By default, we'll bind to all addresses on port 25577.
|
||||
bind = "0.0.0.0:25577"
|
||||
|
||||
# What should be the MOTD? This gets displayed when the player adds your server to
|
||||
# their server list. Legacy color codes and JSON are accepted.
|
||||
motd = "&3A Velocity Server"
|
||||
|
||||
# What should we display for the maximum number of players? (Velocity does not support a cap
|
||||
# on the number of players online.)
|
||||
show-max-players = 500
|
||||
|
||||
# Should we authenticate players with Mojang? By default, this is on.
|
||||
online-mode = true
|
||||
|
||||
# If client's ISP/AS sent from this proxy is different from the one from Mojang's
|
||||
# authentication server, the player is kicked. This disallows some VPN and proxy
|
||||
# connections but is a weak form of protection.
|
||||
prevent-client-proxy-connections = false
|
||||
# Should we forward IP addresses and other data to backend servers?
|
||||
# Available options:
|
||||
# - "none": No forwarding will be done. All players will appear to be connecting from the
|
||||
# proxy and will have offline-mode UUIDs.
|
||||
# - "legacy": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this if
|
||||
# you run servers using Minecraft 1.12 or lower.
|
||||
# - "modern": Forward player IPs and UUIDs as part of the login process using Velocity's
|
||||
# native forwarding. Only applicable for Minecraft 1.13 or higher.
|
||||
player-info-forwarding-mode = "NONE"
|
||||
|
||||
# If you are using modern IP forwarding, configure an unique secret here.
|
||||
forwarding-secret = "FrP42MxySW6Y"
|
||||
|
||||
# - "none": No forwarding will be done. All players will appear to be connecting
|
||||
# from the proxy and will have offline-mode UUIDs.
|
||||
# - "legacy": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this
|
||||
# if you run servers using Minecraft 1.12 or lower.
|
||||
# - "bungeeguard": Forward player IPs and UUIDs in a format supported by the BungeeGuard
|
||||
# plugin. Use this if you run servers using Minecraft 1.12 or lower, and are
|
||||
# unable to implement network level firewalling (on a shared host).
|
||||
# - "modern": Forward player IPs and UUIDs as part of the login process using
|
||||
# Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher.
|
||||
player-info-forwarding-mode = "legacy"
|
||||
# If you are using modern or BungeeGuard IP forwarding, configure an unique secret here.
|
||||
forwarding-secret = ""
|
||||
# Announce whether or not your server supports Forge. If you run a modded server, we
|
||||
# suggest turning this on.
|
||||
#
|
||||
# If your network runs one modpack consistently, consider using ping-passthrough = "mods"
|
||||
# instead for a nicer display in the server list.
|
||||
announce-forge = false
|
||||
# If enabled (default is false) and the proxy is in online mode, Velocity will kick
|
||||
# any existing player who is online if a duplicate connection attempt is made.
|
||||
kick-existing-players = false
|
||||
# Should Velocity pass server list ping requests to a backend server?
|
||||
# Available options:
|
||||
# - "disabled": No pass-through will be done. The velocity.toml and server-icon.png
|
||||
# will determine the initial server list ping response.
|
||||
# - "mods": Passes only the mod list from your backend server into the response.
|
||||
# The first server in your try list (or forced host) with a mod list will be
|
||||
# used. If no backend servers can be contacted, Velocity won't display any
|
||||
# mod information.
|
||||
# - "description": Uses the description and mod list from the backend server. The first
|
||||
# server in the try (or forced host) list that responds is used for the
|
||||
# description and mod list.
|
||||
# - "all": Uses the backend server's response as the proxy response. The Velocity
|
||||
# configuration is used if no servers could be contacted.
|
||||
ping-passthrough = "DISABLED"
|
||||
|
||||
[servers]
|
||||
# Configure your servers here. Each key represents the server's name, and the value
|
||||
# represents the IP address of the server to connect to.
|
||||
lobby = "127.0.0.1:30066"
|
||||
minigames = "127.0.0.1:30068"
|
||||
factions = "127.0.0.1:30067"
|
||||
|
||||
# In what order we should try servers when a player logs in or is kicked from aserver.
|
||||
try = [
|
||||
"lobby"
|
||||
]
|
||||
# Configure your servers here. Each key represents the server's name, and the value
|
||||
# represents the IP address of the server to connect to.
|
||||
lobby = "127.0.0.1:30066"
|
||||
minigames = "127.0.0.1:30068"
|
||||
# In what order we should try servers when a player logs in or is kicked from aserver.
|
||||
try = ["lobby"]
|
||||
factions = "127.0.0.1:30067"
|
||||
|
||||
[forced-hosts]
|
||||
# Configure your forced hosts here.
|
||||
"minigames.example.com" = [
|
||||
"minigames"
|
||||
]
|
||||
"lobby.example.com" = [
|
||||
"lobby"
|
||||
]
|
||||
"factions.example.com" = [
|
||||
"factions"
|
||||
]
|
||||
"minigames.example.com" = ["minigames"]
|
||||
# Configure your forced hosts here.
|
||||
"lobby.example.com" = ["lobby"]
|
||||
"factions.example.com" = ["factions"]
|
||||
|
||||
[advanced]
|
||||
# How large a Minecraft packet has to be before we compress it. Setting this to zero will
|
||||
# compress all packets, and setting it to -1 will disable compression entirely.
|
||||
compression-threshold = 256
|
||||
|
||||
# How much compression should be done (from 0-9). The default is -1, which uses the
|
||||
# default level of 6.
|
||||
compression-level = -1
|
||||
|
||||
# How fast (in milliseconds) are clients allowed to connect after the last connection? By
|
||||
# default, this is three seconds. Disable this by setting this to 0.
|
||||
login-ratelimit = 3000
|
||||
|
||||
# Specify a custom timeout for connection timeouts here. The default is five seconds.
|
||||
connection-timeout = 5000
|
||||
|
||||
# Specify a read timeout for connections here. The default is 30 seconds.
|
||||
read-timeout = 30000
|
||||
|
||||
# Enables compatibility with HAProxy.
|
||||
proxy-protocol = false
|
||||
# Specify a custom timeout for connection timeouts here. The default is five seconds.
|
||||
connection-timeout = 5000
|
||||
# Enables BungeeCord plugin messaging channel support on Velocity.
|
||||
bungee-plugin-message-channel = true
|
||||
# Specify a read timeout for connections here. The default is 30 seconds.
|
||||
read-timeout = 30000
|
||||
# Enables compatibility with HAProxy.
|
||||
proxy-protocol = false
|
||||
# Enables TCP fast open support on the proxy. Requires the proxy to run on Linux.
|
||||
tcp-fast-open = true
|
||||
# Shows ping requests to the proxy from clients.
|
||||
show-ping-requests = false
|
||||
# By default, Velocity will attempt to gracefully handle situations where the user unexpectedly
|
||||
# loses connection to the server without an explicit disconnect message by attempting to fall the
|
||||
# user back, except in the case of read timeouts. BungeeCord will disconnect the user instead. You
|
||||
# can disable this setting to use the BungeeCord behavior.
|
||||
failover-on-unexpected-server-disconnect = true
|
||||
# How much compression should be done (from 0-9). The default is -1, which uses the
|
||||
# default level of 6.
|
||||
compression-level = -1
|
||||
# Declares the proxy commands to 1.13+ clients.
|
||||
announce-proxy-commands = true
|
||||
# Enables the logging of commands
|
||||
log-command-executions = false
|
||||
# How large a Minecraft packet has to be before we compress it. Setting this to zero will
|
||||
# compress all packets, and setting it to -1 will disable compression entirely.
|
||||
compression-threshold = 256
|
||||
# How fast (in milliseconds) are clients allowed to connect after the last connection? By
|
||||
# default, this is three seconds. Disable this by setting this to 0.
|
||||
login-ratelimit = 3000
|
||||
|
||||
[query]
|
||||
# Whether to enable responding to GameSpy 4 query responses or not.
|
||||
enabled = false
|
||||
|
||||
# If query is enabled, on what port should the query protocol listen on?
|
||||
port = 25577
|
||||
|
||||
# This is the map name that is reported to the query services.
|
||||
map = "Velocity"
|
||||
|
||||
# Whether plugins should be shown in query response by default or not
|
||||
show-plugins = false
|
||||
# If query is enabled, on what port should the query protocol listen on?
|
||||
port = 25577
|
||||
# Whether plugins should be shown in query response by default or not
|
||||
show-plugins = false
|
||||
# This is the map name that is reported to the query services.
|
||||
map = "Velocity"
|
||||
# Whether to enable responding to GameSpy 4 query responses or not.
|
||||
enabled = false
|
||||
|
||||
[metrics]
|
||||
# Whether metrics will be reported to bStats (https://bstats.org).
|
||||
# bStats collects some basic information, like how many people use Velocity and their
|
||||
# player count. We recommend keeping bStats enabled, but if you're not comfortable with
|
||||
# this, you can turn this setting off. There is no performance penalty associated with
|
||||
# having metrics enabled, and data sent to bStats can't identify your server.
|
||||
enabled = true
|
||||
|
||||
# A unique, anonymous ID to identify this proxy with.
|
||||
id = "b12f2e77-133c-4a5f-b288-d8833be3dc4d"
|
||||
|
||||
log-failure = false
|
||||
# A unique, anonymous ID to identify this proxy with.
|
||||
id = ""
|
||||
log-failure = false
|
||||
# Whether metrics will be reported to bStats (https://bstats.org).
|
||||
# bStats collects some basic information, like how many people use Velocity and their
|
||||
# player count. We recommend keeping bStats enabled, but if you're not comfortable with
|
||||
# this, you can turn this setting off. There is no performance penalty associated with
|
||||
# having metrics enabled, and data sent to bStats can't identify your server.
|
||||
enabled = false
|
||||
|
||||
# Legacy color codes and JSON are accepted in all messages.
|
||||
[messages]
|
||||
generic-connection-error = "&cAn internal error occurred in your connection."
|
||||
already-connected = "&cYou are already connected to this proxy!"
|
||||
online-mode-only = "&cThis server only accepts connections from online-mode clients.\n\n&7Did you change your username? Sign out of Minecraft, sign back in, and try again."
|
||||
# Prefix when the player is disconnected from a server.
|
||||
# First argument '%s': the server name
|
||||
disconnect-prefix = "&cCan't connect to %s: "
|
||||
no-available-servers = "&cThere are no available servers."
|
||||
# Prefix when the player gets kicked from a server.
|
||||
# First argument '%s': the server name
|
||||
kick-prefix = "&cKicked from %s: "
|
||||
moved-to-new-server-prefix = "&cThe server you were on kicked you: "
|
@ -1,4 +1,4 @@
|
||||
# steamcmd servers
|
||||
# steamcmd servers
|
||||
|
||||
This is a collection of servers that use steamcmd to install.
|
||||
|
||||
@ -16,6 +16,9 @@ This is a collection of servers that use steamcmd to install.
|
||||
## Avorion
|
||||
[avorion](avorion/)
|
||||
|
||||
## Assetto Corsa
|
||||
[assetto_corsa](assetto_corsa/)
|
||||
|
||||
## Barotrauma
|
||||
[barotrauma](barotrauma/)
|
||||
|
||||
@ -82,6 +85,9 @@ This is a collection of servers that use steamcmd to install.
|
||||
## Team Fortress 2 Classic
|
||||
[Team Fortress 2 Classic](team_fortress_2_classic)
|
||||
|
||||
## The Forest
|
||||
[The Forest](the_forest)
|
||||
|
||||
## Tower Unite
|
||||
[Tower Unite](tower_unite)
|
||||
|
||||
|
12
steamcmd_servers/assetto_corsa/README.md
Normal file
12
steamcmd_servers/assetto_corsa/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Assetto Corsa
|
||||
|
||||
Assetto Corsa is a sim racing video game developed by the Italian video game developer Kunos Simulazioni. It is designed with an emphasis on a realistic racing experience with support for extensive customization and moddability.
|
||||
|
||||
## Server Ports
|
||||
|
||||
Asseto Corsa requires two ports, game port is UDP and WEB HTTP port is TCP.
|
||||
|
||||
| Port | default |
|
||||
|-------------|---------|
|
||||
| Game | 9600 |
|
||||
| HTTP | 8081 |
|
91
steamcmd_servers/assetto_corsa/egg-assetto-corsa.json
Normal file
91
steamcmd_servers/assetto_corsa/egg-assetto-corsa.json
Normal file
@ -0,0 +1,91 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2020-12-14T03:20:46+02:00",
|
||||
"name": "Assetto Corsa",
|
||||
"author": "admin@softwarenoob.com",
|
||||
"description": "Assetto Corsa (Italian for \"Race Setup\") is a sim racing video game developed by the Italian video game developer Kunos Simulazioni. It is designed with an emphasis on a realistic racing experience with support for extensive customization and moddability",
|
||||
"features": null,
|
||||
"image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_source",
|
||||
"startup": ".\/acServer",
|
||||
"config": {
|
||||
"files": "{\r\n \"cfg\/server_cfg.ini\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"NAME\": \"NAME={{server.build.env.HOSTNAME}}\",\r\n \"PASSWORD\": \"PASSWORD={{server.build.env.PASSWORD}}\",\r\n \"ADMIN_PASSWORD\": \"ADMIN_PASSWORD={{server.build.env.ADM_PASSWORD}}\",\r\n \"UDP_PORT\": \"UDP_PORT={{server.build.default.port}}\",\r\n \"TCP_PORT\": \"TCP_PORT={{server.build.default.port}}\",\r\n \"HTTP_PORT\": \"HTTP_PORT={{server.build.env.HTTP_PORT}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Server started\"\r\n}",
|
||||
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
||||
"stop": "^C"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\napt -y update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [ \"${STEAM_USER}\" == \"\" ]; then\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"Downloading the game as Steam user ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +@sSteamCmdForcePlatformType windows +force_install_dir \/mnt\/server +app_update 302550 ${EXTRA_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nif [ \"${STEAM_USER}\" == \"anonymous\" ]; then\r\n echo -e \"ERROR - STEAM USER NOT SET\\n\"\r\n echo -e \"Steam account must have the dedicated server in his library in order to install and host the game\\n\"\r\n echo -e \"You must configure Steam account in the server startup variables, after that reinstall the server\\n\"\r\nfi",
|
||||
"container": "debian:buster-slim",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Steam Username",
|
||||
"description": "A steam username of an account that owns the game is required",
|
||||
"env_variable": "STEAM_USER",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string"
|
||||
},
|
||||
{
|
||||
"name": "Steam Password",
|
||||
"description": "Steam User Password",
|
||||
"env_variable": "STEAM_PASS",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string"
|
||||
},
|
||||
{
|
||||
"name": "Steam Auth Code",
|
||||
"description": "Steam Auth Code required if the Steam Account is using Steam Auth",
|
||||
"env_variable": "STEAM_AUTH",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string"
|
||||
},
|
||||
{
|
||||
"name": "Server Name",
|
||||
"description": "Name of the server",
|
||||
"env_variable": "HOSTNAME",
|
||||
"default_value": "Pterodactyl Server",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:45"
|
||||
},
|
||||
{
|
||||
"name": "Server Password",
|
||||
"description": "If enabled players must enter the password to join the server",
|
||||
"env_variable": "PASSWORD",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:40"
|
||||
},
|
||||
{
|
||||
"name": "Admin Password",
|
||||
"description": "Used to login as server administrator, type \/help in-game for more",
|
||||
"env_variable": "ADMIN_PASSWORD",
|
||||
"default_value": "4yRWj5vqr6zD",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:40"
|
||||
},
|
||||
{
|
||||
"name": "HTTP Port",
|
||||
"description": "HTTP Port",
|
||||
"env_variable": "HTTP_PORT",
|
||||
"default_value": "8081",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
}
|
||||
]
|
||||
}
|
31
steamcmd_servers/the_forest/README.md
Normal file
31
steamcmd_servers/the_forest/README.md
Normal file
@ -0,0 +1,31 @@
|
||||
## FTB Modpacks
|
||||
A generic service to pull FTB modpacks from api.modpacks.ch.
|
||||
There are 2 ways to install a server through this service.
|
||||
The first method only requires you to know the modpacks name and version.
|
||||
The second method requires you to know the id for both the modpack and version in the api.
|
||||
|
||||
**Method 1 (Recommended)**
|
||||
- FTB_SEARCH_TERM: the modpack name to query for, must be at least 4 characters long.
|
||||
EX: for FTB: Interactions you would do "interactions".
|
||||
- FTB_VERSION_STRING: the string version that you want to install.
|
||||
EX: for FTB: Interactions 2.0.2, you would put "2.0.2".
|
||||
|
||||
**Method 2**
|
||||
- FTB_MODPACK_ID: the id that directs to the modpack in the api.
|
||||
EX: for FTB: Interactions the id would be "5". https://api.modpacks.ch/public/modpack/5
|
||||
- FTB_MODPACK_VERSION_ID: the version id in the api.
|
||||
EX: for FTB: Interactions 2.0.2 the id is "86". https://api.modpacks.ch/public/modpack/5/86
|
||||
|
||||
**NOTE**
|
||||
**Not all FTB packs come with a server.properties file, due to this the server.properties file
|
||||
may not get updated with the correct ip address and port at first launch.
|
||||
Please restart the server after first launch to fix this.**
|
||||
|
||||
## Server Ports
|
||||
The minecraft server requires a single port for access (default 25565) but some plugins may require extra ports to enabled for the server.
|
||||
|
||||
|
||||
| Port | default |
|
||||
|-------|---------|
|
||||
| Game | 25565 |
|
||||
|
109
steamcmd_servers/the_forest/egg-the-forest.json
Normal file
109
steamcmd_servers/the_forest/egg-the-forest.json
Normal file
@ -0,0 +1,109 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2020-12-14T01:03:24+02:00",
|
||||
"name": "The Forest",
|
||||
"author": "admin@softwarenoob.com",
|
||||
"description": "As the lone survivor of a passenger jet crash, you find yourself in a mysterious forest battling to stay alive against a society of cannibalistic mutants. Build, explore, survive in this terrifying first-person survival horror simulator.",
|
||||
"features": null,
|
||||
"image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_wine-xvfb",
|
||||
"startup": ".\/start.sh -serverip {{SERVER_IP}}:{{QUERY_PORT} -serversteamport {{STEAM_PORT}} -servergameport {{SERVER_PORT}} -serverqueryport {{QUERY_PORT}} -servername \"{{SERVER_NAME}}\" -serverplayers {{MAX_PLAYERS}} -difficulty {{SERVER_DIFFICULTY}}",
|
||||
"config": {
|
||||
"files": "{\r\n \"\/TheForestDedicatedServer_Data\/forest\/config\/config.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"serverIP\": \"serverIP {{server.build.default.ip}}:{{server.build.env.QUERY_PORT}}\",\r\n \"serverSteamPort\": \"serverSteamPort {{server.build.env.STEAM_PORT}}\",\r\n \"serverGamePort\": \"serverGamePort {{server.build.default.port}}\",\r\n \"serverName\": \"serverName {{server.build.env.SERVER_NAME}}\",\r\n \"serverPlayers\": \"serverPlayers {{server.build.env.MAX_PLAYERS}}\",\r\n \"serverPassword\": \"serverPassword {{server.build.env.SERVER_PASS}}\",\r\n \"serverPasswordAdmin\": \"serverPasswordAdmin {{server.build.env.ADMIN_PASS}}\",\r\n \"serverSteamAccount\": \"serverSteamAccount {{server.build.env.STEAM_ACC}}\",\r\n \"difficulty\": \"difficulty {{server.build.env.SERVER_DIFFICULTY}}\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Game autosave started\"\r\n}",
|
||||
"logs": "{}",
|
||||
"stop": "^C"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n# Installation Script\r\n#\r\n# Install dependencies\r\napt update\r\napt -y --no-install-recommends install curl unzip libstdc++6 lib32gcc1 ca-certificates\r\n\r\n\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\n\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## Install game using steamcmd\r\n.\/steamcmd.sh +login anonymous +@sSteamCmdForcePlatformType windows +force_install_dir \/mnt\/server +app_update ${APPID} ${EXTRA_FLAGS} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## Configure wine and server startup config\r\nmkdir -p \/home\/container\/.wine64\r\necho \"#!\/bin\/sh\r\nexport WINEARCH=win64\r\nexport WINEPREFIX=\/home\/container\/.wine64\r\nxvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' wine64 \/home\/container\/TheForestDedicatedServer.exe -batchmode -nographics -nosteamclient -savefolderpath \/home\/container\/TheForestDedicatedServer_Data -configfilepath \/home\/container\/TheForestDedicatedServer_Data\/forest\/config\/config.cfg |grep -v 'RenderTexture.Create failed: format unsupported - 2.'\" > \/mnt\/server\/start.sh\r\nchmod +x \/mnt\/server\/start.sh",
|
||||
"container": "ubuntu:18.04",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "APP ID",
|
||||
"description": "The ID corresponding to the game to download.",
|
||||
"env_variable": "APPID",
|
||||
"default_value": "556450",
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|numeric|digits_between:1,6"
|
||||
},
|
||||
{
|
||||
"name": "Server Name",
|
||||
"description": "Name of the server, appears in Steam browser.",
|
||||
"env_variable": "SERVER_NAME",
|
||||
"default_value": "Pterodactyl Forest Server",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:64"
|
||||
},
|
||||
{
|
||||
"name": "Steam Port",
|
||||
"description": "Steam port",
|
||||
"env_variable": "STEAM_PORT",
|
||||
"default_value": "8766",
|
||||
"user_viewable": true,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Query Port",
|
||||
"description": "Query port, this port is also used for connecting to the server",
|
||||
"env_variable": "QUERY_PORT",
|
||||
"default_value": "27016",
|
||||
"user_viewable": true,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Max Players",
|
||||
"description": "Server player cap",
|
||||
"env_variable": "MAX_PLAYERS",
|
||||
"default_value": "10",
|
||||
"user_viewable": true,
|
||||
"user_editable": false,
|
||||
"rules": "required|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Difficulty",
|
||||
"description": "Server difficulty setting, Peaceful, Normal or Hard.",
|
||||
"env_variable": "SERVER_DIFFICULTY",
|
||||
"default_value": "Normal",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|in:Peaceful,Normal,Hard"
|
||||
},
|
||||
{
|
||||
"name": "Steam Account Token",
|
||||
"description": "The Steam Account Token is required for the server to save player progress. Use APP ID 242760 for the token generation. \r\n\r\nYou can generate the token on steam at https:\/\/steamcommunity.com\/dev\/managegameservers",
|
||||
"env_variable": "STEAM_ACC",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string"
|
||||
},
|
||||
{
|
||||
"name": "Server Password",
|
||||
"description": "Password protects the server if set, any player must enter the password to join",
|
||||
"env_variable": "SERVER_PASS",
|
||||
"default_value": "",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "nullable|string|max:20"
|
||||
},
|
||||
{
|
||||
"name": "Admin Password",
|
||||
"description": "A password that will be used to gain admin access to the server in-game",
|
||||
"env_variable": "ADMIN_PASS",
|
||||
"default_value": "cHanGetHePaSwWord",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20"
|
||||
}
|
||||
]
|
||||
}
|
22
storage/minio/README.md
Normal file
22
storage/minio/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
# minio s3
|
||||
|
||||
## Features
|
||||
Auto generate keys on server creation bypassing default minio keys
|
||||
|
||||
|
||||
Automatic Key rotation using "rotate" startup feature
|
||||
|
||||
## Auto Rotate
|
||||
It's possible to rotate your keys by changing the startup option to "rotate"
|
||||
|
||||
|
||||
Once this is changed restart your server and it will automatically move your current keys to old and create your new keys
|
||||
|
||||
|
||||
Be sure to change your startup back to "normal" once you have started your server using "rotate". This will ensure that you don't accidentally rotate your keys twice
|
||||
|
||||
## Known Issues
|
||||
|
||||
Double encryption may occur if you manually manipulate files in the keys directory
|
||||
|
||||
#### Key rotation is handled automatically, DO NOT manually delete files in keys directory
|
37
storage/minio/egg-minio-s3.json
Normal file
37
storage/minio/egg-minio-s3.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2020-11-27T21:39:14-05:00",
|
||||
"name": "Minio S3",
|
||||
"author": "accounts@bofanodes.io",
|
||||
"description": "MinIO is a cloud storage server compatible with Amazon S3, released under Apache License v2. As an object store, MinIO can store unstructured data such as photos, videos, log files, backups and container images. The maximum size of an object is 5TB.",
|
||||
"features": null,
|
||||
"image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu",
|
||||
"startup": ".\/minio.sh",
|
||||
"config": {
|
||||
"files": "{}",
|
||||
"startup": "{\r\n \"done\": \"guide\"\r\n}",
|
||||
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
||||
"stop": "^C"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#\r\n#\r\napt update\r\napt install -y wget\r\ncd \/mnt\/server\r\nwget https:\/\/dl.min.io\/server\/minio\/release\/linux-amd64\/minio\r\nchmod +x minio\r\nmkdir data\r\nmkdir keys\r\nwget https:\/\/github.com\/tmunsch\/eggs\/raw\/minio\/storage\/minio\/minio.sh\r\nchmod +x minio.sh\r\nexport MINIO_ACCESS_KEY=$(cat \/dev\/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\r\necho $MINIO_ACCESS_KEY > keys\/key.txt\r\nexport MINIO_SECRET_KEY=$(cat \/dev\/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\r\necho $MINIO_SECRET_KEY > keys\/secret.txt\r\necho done",
|
||||
"container": "debian:buster-slim",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "Startup Type",
|
||||
"description": "normal or rotate",
|
||||
"env_variable": "STARTUP_TYPE",
|
||||
"default_value": "normal",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|in:normal,rotate"
|
||||
}
|
||||
]
|
||||
}
|
56
storage/minio/minio.sh
Normal file
56
storage/minio/minio.sh
Normal file
@ -0,0 +1,56 @@
|
||||
#!/bin/bash
|
||||
##################################
|
||||
echo Starting up....
|
||||
echo "Startup Type: $STARTUP_TYPE"
|
||||
if [ -f "keys/key.txt" ]; then
|
||||
echo "Key file detected..."
|
||||
export MINIO_ACCESS_KEY=`cat keys/key.txt`
|
||||
else
|
||||
echo minioadmin > keys/key.txt
|
||||
echo "No key file detected...Preparing First Time Boot"
|
||||
fi
|
||||
if [ -f "keys/secret.txt" ]; then
|
||||
echo "Secret file detected..."
|
||||
export MINIO_SECRET_KEY=`cat keys/secret.txt`
|
||||
else
|
||||
echo minioadmin > keys/secret.txt
|
||||
echo "No secret file detected...Preparing First Time Boot"
|
||||
fi
|
||||
if [ -f "keys/oldsecret.txt" ]; then
|
||||
echo "Old secret file detected..."
|
||||
export MINIO_SECRET_KEY_OLD=`cat keys/oldsecret.txt`
|
||||
fi
|
||||
if [ -f "keys/oldkey.txt" ]; then
|
||||
echo "Old key file detected..."
|
||||
export MINIO_ACCESS_KEY_OLD=`cat keys/oldkey.txt`
|
||||
fi
|
||||
if [ -f "keys/justrotated.txt" ]; then
|
||||
echo "Previous key rotation detected...."
|
||||
echo "Clearing the Lanes...."
|
||||
unset MINIO_ACCESS_KEY_OLD
|
||||
unset MINIO_SECRET_KEY_OLD
|
||||
STARTUP_TYPE=normal
|
||||
rm keys/justrotated.txt
|
||||
rm keys/oldsecret.txt
|
||||
rm keys/oldkey.txt
|
||||
fi
|
||||
##########################################
|
||||
if [ -z "$STARTUP_TYPE" ] || [ "$STARTUP_TYPE" == "rotate" ]; then
|
||||
touch keys/justrotated.txt
|
||||
export MINIO_ACCESS_KEY_OLD=$MINIO_ACCESS_KEY
|
||||
echo $MINIO_ACCESS_KEY_OLD > keys/oldkey.txt
|
||||
export MINIO_SECRET_KEY_OLD=$MINIO_SECRET_KEY
|
||||
echo $MINIO_SECRET_KEY_OLD > keys/oldsecret.txt
|
||||
export MINIO_ACCESS_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
||||
echo $MINIO_ACCESS_KEY > keys/key.txt
|
||||
export MINIO_SECRET_KEY=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
|
||||
echo $MINIO_SECRET_KEY > keys/secret.txt
|
||||
echo Your New Access Key is: $MINIO_ACCESS_KEY
|
||||
echo Your New Secret Key is: $MINIO_SECRET_KEY
|
||||
echo Your Old Access Key is: $MINIO_ACCESS_KEY_OLD
|
||||
echo Your Old Access Key is: $MINIO_SECRET_KEY_OLD
|
||||
echo Booting...
|
||||
./minio server data --address 0.0.0.0:$SERVER_PORT
|
||||
else
|
||||
./minio server data --address 0.0.0.0:$SERVER_PORT
|
||||
fi
|
@ -3,10 +3,11 @@
|
||||
"meta": {
|
||||
"version": "PTDL_v1"
|
||||
},
|
||||
"exported_at": "2020-03-28T13:50:13-04:00",
|
||||
"exported_at": "2020-12-13T16:59:05+01:00",
|
||||
"name": "TeaSpeak",
|
||||
"author": "parker@parkervcp.com",
|
||||
"description": "TeaSpeak is a free to use client and server software for VoIP communication.\r\n\r\nIts the ideal deal software for everyone who is annoyed about limits and restrictions.",
|
||||
"features": null,
|
||||
"image": "quay.io\/parkervcp\/pterodactyl-images:base_debian",
|
||||
"startup": ".\/TeaSpeakServer --property:binding.query.port={{QUERY_PORT}} --property:binding.file.port={{FILE_PORT}} --property:voice.default_port={{SERVER_PORT}}",
|
||||
"config": {
|
||||
@ -17,7 +18,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n \r\n## install required packages\r\napt update\r\napt upgrade -y\r\napt install curl -y\r\n\r\n## make and change to directory\r\nmkdir \/mnt\/server\r\ncd \/mnt\/server\/\r\n\r\n## get download link\r\nif [ \"${VERSION}\" == \"\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo \"https:\/\/repo.teaspeak.de\/server\/linux\/amd64\/TeaSpeak-$(curl -sSLk https:\/\/repo.teaspeak.de\/server\/linux\/amd64\/latest).tar.gz\")\r\nelse\r\n DOWNLOAD_URL=$(echo \"https:\/\/repo.teaspeak.de\/server\/linux\/amd64\/TeaSpeak-${VERSION}.tar.gz\")\r\nfi\r\n\r\nif [ ! -z \"${DOWNLOAD_URL}\" ]; then \r\n if curl --output \/dev\/null --silent --head --fail ${DOWNLOAD_URL}; then\r\n echo -e \"link is valid. setting download link to ${DOWNLOAD_URL}\"\r\n DOWNLOAD_LINK=${DOWNLOAD_URL}\r\n else \r\n echo -e \"link is invalid closing out\"\r\n exit 2\r\n fi\r\nfi\r\n\r\n## download files\r\necho -e \"running: curl -sSL -o teaspeak.tar.gz ${DOWNLOAD_LINK}\"\r\ncurl -sSL -o teaspeak.tar.gz ${DOWNLOAD_LINK}\r\n\r\n## unpack files\r\necho -e \"unpacking files\"\r\ntar xzvf teaspeak.tar.gz\r\n\r\necho -e \"install complete\"",
|
||||
"script": "#!\/bin\/bash\r\n \r\n## install required packages\r\napt update\r\napt upgrade -y\r\napt install curl -y\r\n\r\n## make and change to directory\r\nmkdir \/mnt\/server\r\ncd \/mnt\/server\/\r\n\r\n## get download link\r\nif [ \"${VERSION}\" == \"\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo \"https:\/\/repo.teaspeak.de\/server\/linux\/amd64\/TeaSpeak-$(curl -sSLk https:\/\/repo.teaspeak.de\/server\/linux\/amd64\/latest).tar.gz\")\r\nelif [ \"${VERSION}\" == \"\" ] || [ \"${VERSION}\" == \"nightly\" ]; then\r\n DOWNLOAD_URL=$(echo \"https:\/\/repo.teaspeak.de\/server\/linux\/amd64_nightly\/TeaSpeak-$(curl -sSLk https:\/\/repo.teaspeak.de\/server\/linux\/amd64_nightly\/latest).tar.gz\")\r\nelse\r\n DOWNLOAD_URL=$(echo \"https:\/\/repo.teaspeak.de\/server\/linux\/amd64\/TeaSpeak-${VERSION}.tar.gz\")\r\nfi\r\n\r\nif [ ! -z \"${DOWNLOAD_URL}\" ]; then \r\n if curl --output \/dev\/null --silent --head --fail ${DOWNLOAD_URL}; then\r\n echo -e \"link is valid. setting download link to ${DOWNLOAD_URL}\"\r\n DOWNLOAD_LINK=${DOWNLOAD_URL}\r\n else \r\n echo -e \"link is invalid closing out\"\r\n exit 2\r\n fi\r\nfi\r\n\r\n## download files\r\necho -e \"running: curl -sSL -o teaspeak.tar.gz ${DOWNLOAD_LINK}\"\r\ncurl -sSL -o teaspeak.tar.gz ${DOWNLOAD_LINK}\r\n\r\n## unpack files\r\necho -e \"unpacking files\"\r\ntar xzvf teaspeak.tar.gz\r\n\r\necho -e \"install complete\"",
|
||||
"container": "debian:buster-slim",
|
||||
"entrypoint": "bash"
|
||||
}
|
||||
@ -28,8 +29,8 @@
|
||||
"description": "The query port for TeaSpeak",
|
||||
"env_variable": "QUERY_PORT",
|
||||
"default_value": "10101",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 1,
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|numeric|max:65535"
|
||||
},
|
||||
{
|
||||
@ -37,8 +38,8 @@
|
||||
"description": "The TeaSpeak File Transfer Port",
|
||||
"env_variable": "FILE_PORT",
|
||||
"default_value": "30303",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 1,
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|numeric|max:65535"
|
||||
},
|
||||
{
|
||||
@ -46,8 +47,8 @@
|
||||
"description": "The TeaSpeak Server MOTD",
|
||||
"env_variable": "SERVER_MOTD",
|
||||
"default_value": "TeaSpeak\\n\\rHosted on pterodactyl!",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 1,
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:128"
|
||||
},
|
||||
{
|
||||
@ -55,8 +56,8 @@
|
||||
"description": "Don't touch this if you want the server to start",
|
||||
"env_variable": "LD_LIBRARY_PATH",
|
||||
"default_value": ".\/libs\/",
|
||||
"user_viewable": 0,
|
||||
"user_editable": 0,
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string"
|
||||
},
|
||||
{
|
||||
@ -64,17 +65,17 @@
|
||||
"description": "Don't touch this if you want the server to start",
|
||||
"env_variable": "LD_PRELOAD",
|
||||
"default_value": ".\/libs\/libjemalloc.so.2",
|
||||
"user_viewable": 0,
|
||||
"user_editable": 0,
|
||||
"user_viewable": false,
|
||||
"user_editable": false,
|
||||
"rules": "required|string"
|
||||
},
|
||||
{
|
||||
"name": "Teaspeak Version",
|
||||
"description": "What version of teaspeak to install",
|
||||
"description": "What version of teaspeak to install: latest = latest stable ; nightly = latest nightly",
|
||||
"env_variable": "VERSION",
|
||||
"default_value": "latest",
|
||||
"user_viewable": 1,
|
||||
"user_editable": 1,
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|string|max:20"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user