Features
Game Features
BoardGamesAPI handles following commands and permissions for plugins that are using it.
Permission Nodes - pluginname.node
Commands - /<command> [argument] [option] [option] [option]
Playing/Joining
pluginname.player
- /<command> play [option1] [option2] [etc] - starts game / joins queue / send request etc
- /<command> accept - accept request and start game
none
- /<command> spectate - start spectating (should I add permission pluginame.player?)
- /<command> quit - ends a game
- /<command> request [playername] [etc] - send player request
- /<command> reject - reject a player request
- /<command> hint - different function depending on game
- /<command> setcode - different function depending on game
Administration
pluginname.admin
- /<command> reload - reloads config and ends all games
- /<command> setboard [option1] [option2] [etc] - sets and saves a gameboard
- /<command> delboard [boardname] - deletes a board
- /<command> setlobby - sets lobby location
Information
none
- /<command> list - view board list
- /<command> info - show board / game info
- /<command> help - display help
- /<command> scores [option1] [option2] [etc] - shows high scores
Events/Listeners
The following bukkit event listeners are used with BoardGames.
- BlockBreakEvent
- BlockPlaceEvent
- InventoryClickEvent
- PlayerDropItemEvent
- PlayerMoveEvent
- PlayerQuitEvent
- PlayerTeleportEvent
Global Settings
A BoardGamesAPI folder will be created in the servers plugins directory after installing. The following can be found within this directory. BoardGames handles language translation and contains common messages. Current translation files available are:
lang directory
- EN.lang - English dummy file used for translatin
- HU.lang - Hungarian language translation.
- CN.lang - Chinese language translation.
config.yml file
Language: EN //sets the language to be used across all Board Game plugins Vault: true //enables or disables vault
Comments