-
Notifications
You must be signed in to change notification settings - Fork 18
Configfile
The configuration is stored in plugins/ChessCraft/config.yml under your Bukkit folder. It is a YAML file with simple key/value pairs.
You can edit this file directly if you wish, but it is recommended to use /chess setcfg <item> <value>
to make changes. If you do edit it directly, use /chess reload
immediately to reload your changes.
To view settings, use /chess getcfg
to see all settings, or /chess getcfg <item>
to view a specific item.
The settings are:
Default: 30 seconds. This is time from the end of a game to when it will be automatically deleted, freeing up its board for a new game. This gives players time to write a PGN archive of the game if they wish.
Default: true. When you join a game (accept an invitation), you will be automatically teleported to the chessboard.
Default: true. If true, ChessCraft state will be saved to disk whenever necessary, i.e. when a board is created or destroyed, a game is created or ends, game state changes (move made, etc.). If false, state is only saved when the server shuts down or reloads, or someone does a /chess save
. It is recommended to leave this as true to avoid loss of data.
If true (the default), then the results of all games will be broadcast to the entire server. If false, then only the game's players will be notified.
Default: 60 seconds. If a player logs out while in a game (or games), their opponent(s) may claim victory after this many seconds by typing /chess win
. If the player logs back in before the timeout expires, the timeout is reset. If forfeit_timeout is set to 0, then /chess win
cannot be used.
Default: true. Prevents any part of the boards from being broken or built upon.
Default: true. Prevent any part of the board from being burnt.
Default: true. Prevent any creatures from spawning on the boards.
Default: true. Prevents explosions (creepers & TNT) from damaging any part of the boards. Players will still be injured by explosions, however.
Default: 1 second. ChessCraft will carry out some general tasks this often - periodically checking the light level of all boards and turn some squares into glowstone if necessary to ensure the board is bright enough, and also updating chess clocks for games in progress.
Default: air. You must be holding this item in your hand to move chess pieces by waving at them ("air" means empty-handed).