+ set additional variables for lgsm details (incomplete)
This commit is contained in:
		@@ -14,8 +14,9 @@ ENV CSS_PATH="/home/steam/addons/css" \
 | 
				
			|||||||
	WORKSHOP_COLLECTION_ID="" \
 | 
						WORKSHOP_COLLECTION_ID="" \
 | 
				
			||||||
	WORKSHOP_API_KEY="" \
 | 
						WORKSHOP_API_KEY="" \
 | 
				
			||||||
	WORKSHOP_AUTOLOAD="true" \
 | 
						WORKSHOP_AUTOLOAD="true" \
 | 
				
			||||||
	SERVER_NAME="" \
 | 
						SERVER_NAME="LinuxGSM" \
 | 
				
			||||||
	SERVER_PASSWORD="" \
 | 
						SERVER_PASSWORD="" \
 | 
				
			||||||
 | 
						SERVER_RCON_PASSWORD="" \
 | 
				
			||||||
	SERVER_VOICE_ENABLE="1" \
 | 
						SERVER_VOICE_ENABLE="1" \
 | 
				
			||||||
	SERVER_IP="0.0.0.0" \
 | 
						SERVER_IP="0.0.0.0" \
 | 
				
			||||||
	SERVER_PORT="27015" \
 | 
						SERVER_PORT="27015" \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,15 @@ fi
 | 
				
			|||||||
#travistest: unbound variable
 | 
					#travistest: unbound variable
 | 
				
			||||||
#set -o nounset
 | 
					#set -o nounset
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## For "details" command: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/functions/info_messages.sh
 | 
				
			||||||
 | 
					## fn_info_message_gameserver
 | 
				
			||||||
 | 
					servername="$SERVER_NAME"
 | 
				
			||||||
 | 
					serverpassword="$SERVER_PASSWORD"
 | 
				
			||||||
 | 
					if [ ! -n "$SERVER_RCON_PASSWORD" ]; then
 | 
				
			||||||
 | 
						rconpassword="$SERVER_RCON_PASSWORD"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
 | 
					## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
 | 
				
			||||||
ip="$SERVER_IP"
 | 
					ip="$SERVER_IP"
 | 
				
			||||||
port="$SERVER_PORT"
 | 
					port="$SERVER_PORT"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user