- ftbastler, Kloudy
BGPlaceHolders hook into BukkitGames and PlaceHolderAPI providing some usefull BukkitGames's placeholders that you can use in all the plugins that support that API.
COMPATIBLE WITH SPIGOT 1.8.8The placeholders that this plugin provide are:
%BukkitGames_player_balance% ---> Return the player's balance
%BukkitGames_tributes_alive% ---> Return the numbers of player alive
%BukkitGames_gamestate% ---> Return the current game state (Preparation, Invincibility, Running)
%BukkitGames_running_state% ---> Return the running state (it's a valid value only in "Running" game state)
%BukkitGames_custom_world_name% ---> Return the name of current custom map
%BukkitGames_team_members% ---> Return all the players currently in your team (BG's add to team command: "/bg team add <player>").
%BukkitGames_countdown% ---> Show all the countdown (Pregame, Invincibility, Game time left)
A new placeholder for the last winner
A new placeholder for the player current kit
A new placeholder for ability use check
Download this plugin2. Installation
Make sure you have downloaded the latest version of BukkitGames
Drag all the downloaded files into your server's plugin folder3. Start your server and have fun
Some example of use could be find in WonderHUD that use PlaceHolderAPI.
You can follow this example for insert this placeholders into WonderHUD's file "config.yml"
MAKE SURE TO GIVE AT ALL YOUR GROUPS THE PERMISSION: "wh.see"
For make this HUD show only in the pregame phase you can use skript for make a function that hide all the HUDs on game start like this one:
You can edit this config for make a similar HUD to the example at the top of this page
Code (Text):on game start:
wait 1 second
execute console command "/wh hideall"
For any problem contact me with a PM here on spigotmc.org