Home›Java›Mods›BGPlaceHolders
BGPlaceHolders
[​IMG] [​IMG] [​IMG]​

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.8

[​IMG]​
The 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)

Spoiler: Upcoming Features
A new placeholder for the last winner
A new placeholder for the player current kit
A new placeholder for ability use check

[​IMG]​
1. Download
Download this plugin
Download PlaceHolderAPI
Make sure you have downloaded the latest version of BukkitGames​
2. Installation
Drag all the downloaded files into your server's plugin folder​
3. Start your server and have fun

[​IMG] ​
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"
Spoiler: Example of Configuration
[​IMG]
You can edit this config for make a similar HUD to the example at the top of this page
​
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:
Code (Text):
on game start:
    wait 1 second
        execute console command "/wh hideall"
[​IMG]
For any problem contact me with a PM here on spigotmc.org

​

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

BGPlaceHolders is a free Minecraft Java mod. Downloaded 621 times (via Spigot). Download it and open it directly in the game.

Explore more