Settings

From Tronwiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
==[[Spawn Zone | SPAWN_ZONE]]==
 
==[[Spawn Zone | SPAWN_ZONE]]==
  
<pre>WAIT_FOR_EXTERNAL_SCRIPT
+
WAIT_FOR_EXTERNAL_SCRIPT
 
+
 
default is false
 
default is false
 
set it to 1 and the server stop at the end of the round and wait for the script to turn this setting back to 0 ...
 
set it to 1 and the server stop at the end of the round and wait for the script to turn this setting back to 0 ...
Line 11: Line 10:
 
- sending messages to users  
 
- sending messages to users  
  
RENAME_ENABLED_DEFAULT 1|0 : to set the default flag for player joining the server. if 0, players can't rename ...
+
RENAME_ENABLED_DEFAULT 1|0
RENAME_ENABLED 1|0 : set the default value + all players flags
+
to set the default flag for player joining the server. if 0, players can't rename ...
RENAME_PLAYER_ENABLED playername 1|0 : set the flag for the selected player
+
RENAME_ENABLED 1|0
RENAME_PLAYER currentname newname : rename the player from server
+
set the default value + all players flags
FORCE_SPECTATING playername : force a player to spectator mode immidiatly. means the player is also killed if he's in the game
+
RENAME_PLAYER_ENABLED playername 1|0
ALLOW_PLAYER_TO_JOIN_DEFAULT 1|0 : set the default value for player joining the server
+
set the flag for the selected player
ALLOW_PLAYER_TO_JOIN player_name 1|0 : set the player flag to allow him join the game
+
RENAME_PLAYER currentname newname
 
+
rename the player from server
RENAME_ENABLED <1> [<player>] : set (the default value and all players flags) or a specific player flag. default value is 1.
+
FORCE_SPECTATING playername
RENAME_PLAYER <player> <newname> : to rename the player from script
+
force a player to spectator mode immidiatly. means the player is also killed if he's in the game
FORCE_SPECTATING <player> : force a player to spectator mode immidiatly. means the player is also killed if he's in the game
+
ALLOW_PLAYER_TO_JOIN_DEFAULT 1|0
 +
set the default value for player joining the server
 +
ALLOW_PLAYER_TO_JOIN player_name 1|0
 +
set the player flag to allow him join the game  
  
LOGIN_REQUIRED <1> [<player>]: set (the default value and all players flags) or a specific player flag . default value is 0.</pre>
+
RENAME_ENABLED <1> [<player>]
 +
set (the default value and all players flags) or a specific player flag. default value is 1.
 +
RENAME_PLAYER <player> <newname>
 +
to rename the player from script
 +
FORCE_SPECTATING <player>
 +
force a player to spectator mode immidiatly. means the player is also killed if he's in the game
 +
LOGIN_REQUIRED <1> [<player>]
 +
set (the default value and all players flags) or a specific player flag . default value is 0.
  
 
[[Category:Settings]]
 
[[Category:Settings]]

Revision as of 13:05, 4 September 2007

SPAWN_ZONE

WAIT_FOR_EXTERNAL_SCRIPT

default is false set it to 1 and the server stop at the end of the round and wait for the script to turn this setting back to 0 ... it can be usefull in many cases : - map rotation/mode rotation at the end so we know if round was win or draw - preparing the next map for race script so the script is not impacting the game (it use to be the case for race to winzone on marathon) - updating the ladder - sending messages to users

RENAME_ENABLED_DEFAULT 1|0

to set the default flag for player joining the server. if 0, players can't rename ...

RENAME_ENABLED 1|0

set the default value + all players flags

RENAME_PLAYER_ENABLED playername 1|0

set the flag for the selected player

RENAME_PLAYER currentname newname

rename the player from server

FORCE_SPECTATING playername

force a player to spectator mode immidiatly. means the player is also killed if he's in the game

ALLOW_PLAYER_TO_JOIN_DEFAULT 1|0

set the default value for player joining the server

ALLOW_PLAYER_TO_JOIN player_name 1|0

set the player flag to allow him join the game

RENAME_ENABLED <1> [<player>]

set (the default value and all players flags) or a specific player flag. default value is 1.

RENAME_PLAYER <player> <newname>

to rename the player from script

FORCE_SPECTATING <player>

force a player to spectator mode immidiatly. means the player is also killed if he's in the game

LOGIN_REQUIRED <1> [<player>]

set (the default value and all players flags) or a specific player flag . default value is 0.

Personal tools