One of the most important things you need to understand in order to work effectively with DungeonsXL is the game rule priority system. Game rules define the frame conditions of your DXL games.
Game rules can be fetched from multiple sources. In case of a conflict, only one rule will finally affect the game. Which one is determinated by the inheritance system:
The game type you specify on the ready sign.
2. Dungeon config override values
3. Floor config values
Note that not all floor configuration values are game rules, like for example the list of invited players.
5. Main config default values
If no values are set, DXL will use its internal default values.
Name | Explanation | Possible values | Default value | Annotation |
---|---|---|---|---|
isLobbyDisabled | If the Lobby is disabled. | Boolean | false | Works only with singleplayer dungeons without classes. |
timeUntilKickOfflinePlayer | The time until a player who left the game gets kicked from the dungeon. | Integer | -1 (=never) | |
timeToNextPlay | ||||
timeToNextLoot | ||||
timeToNextWave | ||||
timeToFinish | ||||
gameMode | ||||
playerVersusPlayer | ||||
friendlyFire | ||||
gameCommandWhitelist | ||||
mustFinishOne | ||||
mustFinishAll | ||||
timeLastPlayed | ||||
requirements | ||||
keepInventoryOnEnter | ||||
keepInventoryOnDeath | ||||
keepInventoryOnFinish | ||||
keepInventoryOnEscape | ||||
build | ||||
initialLives | ||||
message | ||||
secureObjects | ||||
gamePermissions |
- Boolean: "true" or "false"
- Integer: Numeric value; no decimals
- Double: Numeric value, decimals allowed
- String: Text
- List: A list of values
- Map: A list of key / value pairs