BGPlaceHolders 2.0

Provide placeholders for BukkitGames - The best and Free HungerGames plugin!

  1. Hexel
    Contributors:
    ftbastler, Kloudy
    [​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)

    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"
    [​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

    ftbastler and clip like this.

Recent Updates

  1. BGPlaceHolders - Include Countdown!

Recent Reviews

  1. ftbastler
    ftbastler
    5/5,
    Version: 1.0
    Works as intended. Thanks for developing this add-on for BukkitGames.
    Be sure to read the plugin description.
    1. Hexel
      Author's Response
      This was a real pleasure :D