Scales v0.2.8 Garry's Mod Plugin #211
Locked
LordRalex
announced in
Legacy - Templates and Modifications
Replies: 1 comment
-
MrPalamen wrote at Apr 15 2016 13:48:51 UTC: Bonjour, bonsoir. je peux te contacte pour une question merci. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
digitronic-games wrote at Apr 15 2016 13:48:51 UTC:
This is how I set up a Garry's Mod Server in puffer panel, it adds a fastdl compiler in the preflight of the plugin and a countdown timer for stopping/restarting the server. Hope you like it.
NOTE: This doesn't work with docker enabled and requires a nginx server to be set up for the fastdl. I've only tested this on Ubuntu 14.04 and not tested with the other plugins, use at your own risk and make backups before editing any file.
First you'll need to edit a core file of the Scales for this to work .
/lib/process.js
You can download it here or manually edit the file:
You need to change on line 44 to this
and on line 949
then replace line 444-446 to this,
and lastly on line 442 add this :
Installing the plugin
Run the following commands in your terminal:
Then go to the PufferPanel Settings and add this plugin:
Name : GarrysMod
Plugin Slug : gmod
Default Startup Command:
Variables
${players} : 20
The maximum number of players (including bots) that can access a server at once.
${map} : gm_construct
The default map to use in a rotation.
${gamemode} : sandbox
The game mode the server is running on first start.
${rcon} : password
The rcon password.
${cfg} : gamemode.cfg
The configuration file for your server.
Nginx/Fastdl Setup
add this to /etc/nginx/sites-available/default
run these commands
The fastdl link will be http://domin.com/fdl/serverip-port/
Go here for a tutorial on setting fastdl for a Garry's Mod server.
Beta Was this translation helpful? Give feedback.
All reactions