Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array
- (
- [object] => egg
- [attributes] => Array
- (
- [id] => 9
- [uuid] => 605a740a-6a2b-4cd0-b359-9152316dd5e3
- [nest] => 2
- [author] => support@pterodactyl.io
- [description] => Garrys Mod, is a sandbox physics game created by Garry Newman, and developed by his company, Facepunch Studios.
- [docker_image] => quay.io/pterodactyl/core:source
- [config] => Array
- (
- [files] => Array
- (
- )
- [startup] => Array
- (
- [done] => gameserver Steam ID
- [userInteraction] => Array
- (
- )
- )
- [stop] => quit
- [logs] => Array
- (
- [custom] => 1
- [location] => logs/latest.log
- )
- [extends] =>
- )
- [startup] => ./srcds_run -game garrysmod -console -port {{SERVER_PORT}} +ip 0.0.0.0 +login anonymous +gamemode {{SRCDS_GAMEMODE}} +map {{SRCDS_MAP}} +maxplayers {{SRCDS_MAXPLAYERS}} +host_workshop_collection {{SRCDS_WORKSHOPID}} +tickrate {{SRCDS_TICKRATE}} +r_hunkalloclightmaps {{SRCDS_HUNK}} +rcon_password {{SRCDS_RCON}} -authkey {{SRCDS_AUTHKEY}} -strictportbind -norestart
- [script] => Array
- (
- [privileged] => 1
- [install] => #!/bin/bash
- # Garry's Mod Installation Script
- #
- # Server Files: /mnt/server
- rm -rf /mnt/server/
- apt -y update
- apt -y --no-install-recommends install curl lib32gcc1 ca-certificates
- cd /tmp
- curl -sSL -o steamcmd.tar.gz http://media.steampowered.com/installer/steamcmd_linux.tar.gz
- mkdir -p /mnt/server/steamcmd
- tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
- cd /mnt/server/steamcmd
- # SteamCMD fails otherwise for some reason, even running as root.
- # This is changed at the end of the install process anyways.
- chown -R root:root /mnt
- export HOME=/mnt/server
- ./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 4020 +quit
- mkdir -p /mnt/server/.steam/sdk32
- cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
- cd /mnt/server/garrysmod/cfg
- echo '
- "mountcfg"
- {
- "cstrike" "/home/container/cstrike"
- }
- ' > mount.cfg
- [entry] => bash
- [container] => ubuntu:16.04
- [extends] =>
- )
- [created_at] => 2019-01-03T00:41:34+00:00
- [updated_at] => 2019-01-19T10:48:00+00:00
- [relationships] => Array
- (
- [variables] => Array
- (
- [object] => list
- [data] => Array
- (
- [0] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 22
- [egg_id] => 9
- [name] => Map
- [description] =>
- [env_variable] => SRCDS_MAP
- [default_value] => gm_flatgrass
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|alpha_dash
- [created_at] => 2019-01-03 01:41:34
- [updated_at] => 2019-01-03 02:00:12
- )
- )
- [1] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 24
- [egg_id] => 9
- [name] => Source AppID
- [description] =>
- [env_variable] => SRCDS_APPID
- [default_value] => 4020
- [user_viewable] => 1
- [user_editable] => 0
- [rules] => required|string|max:20
- [created_at] => 2019-01-03 01:41:34
- [updated_at] => 2019-03-16 18:38:30
- )
- )
- [2] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 46
- [egg_id] => 9
- [name] => Gamemode
- [description] =>
- [env_variable] => SRCDS_GAMEMODE
- [default_value] => sandbox
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:50
- [created_at] => 2019-01-03 02:00:37
- [updated_at] => 2019-01-03 02:00:37
- )
- )
- [3] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 47
- [egg_id] => 9
- [name] => Maxplayers
- [description] =>
- [env_variable] => SRCDS_MAXPLAYERS
- [default_value] => 128
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:128
- [created_at] => 2019-01-03 02:00:58
- [updated_at] => 2019-01-03 02:00:58
- )
- )
- [4] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 48
- [egg_id] => 9
- [name] => Workshop Collection ID
- [description] =>
- [env_variable] => SRCDS_WORKSHOPID
- [default_value] => 0
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:50
- [created_at] => 2019-01-03 02:01:20
- [updated_at] => 2019-01-03 02:01:20
- )
- )
- [5] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 49
- [egg_id] => 9
- [name] => Authkey
- [description] =>
- [env_variable] => SRCDS_AUTHKEY
- [default_value] => 0
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:50
- [created_at] => 2019-01-03 02:01:35
- [updated_at] => 2019-01-03 02:01:35
- )
- )
- [6] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 50
- [egg_id] => 9
- [name] => Tickrate
- [description] =>
- [env_variable] => SRCDS_TICKRATE
- [default_value] => 22
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:120
- [created_at] => 2019-01-03 02:01:55
- [updated_at] => 2019-01-03 02:01:55
- )
- )
- [7] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 51
- [egg_id] => 9
- [name] => Hunk
- [description] =>
- [env_variable] => SRCDS_HUNK
- [default_value] => 0
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:20
- [created_at] => 2019-01-03 02:02:18
- [updated_at] => 2019-01-03 02:02:18
- )
- )
- [8] => Array
- (
- [object] => egg_variable
- [attributes] => Array
- (
- [id] => 52
- [egg_id] => 9
- [name] => Rcon password
- [description] =>
- [env_variable] => SRCDS_RCON
- [default_value] => BuffedPassword123!?
- [user_viewable] => 1
- [user_editable] => 1
- [rules] => required|string|max:50
- [created_at] => 2019-01-03 02:02:47
- [updated_at] => 2019-01-03 02:02:47
- )
- )
- )
- )
- )
- )
- [status_code] => 200
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement