mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Added option KICK_INACTIVE. Uncomment it in config.txt if you want to disconnect inactive players.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1472 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
var/hostedby = null
|
||||
var/respawn = 1
|
||||
var/guest_jobban = 1
|
||||
var/kick_inactive = 0 //force disconnect for inactive players
|
||||
|
||||
var/server
|
||||
var/banappeals
|
||||
@@ -196,6 +197,8 @@
|
||||
diary << "Unknown game mode probability configuration definition: [prob_name]."
|
||||
else
|
||||
diary << "Incorrect probability configuration definition: [prob_name] [prob_value]."
|
||||
if ("kick_inactive")
|
||||
config.kick_inactive = text2num(value)
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user