How to set custom game rule - dapucita/haxbotron GitHub Wiki

How to set custom game rule

You can use your own custom game rule for operating game rooms.

Open Create new room page in the Web-base Management System and find Game Rules section.

In this document, suppose that you will use built-in maps named as gbhothuge and gbtraining.

See also How to load custom map.

Set the game rule

Edit each of textfields boxes.

Rule Name and Rule Description: describe about your game rule

Minimum Players Need: player minimum requisite for the game room

Number of Team Players: team quota

timeLimit: time limitation of the game match

scoreLimit: score limitation of the game match

teamLock: switch on/off team moving by player

autoAdmin: switch on/off auto admin appointment

autoOperating: switch on/off auto operating

statsRecord: switch on/off stats recording

Default Map Name: name of default map (for game mode)

Ready Map Name: name of training map (for ready mode)

See also