Turf Wars Lobby Add-On 1.0

Allows to use API to get MySQL stored stats from another server where Turf Wars isn't installed.

  1. iSach
    TURF WARS
    LOBBY ADD-ON

    Turf Wars Lobby Add-on is a small plugin that aims to allow using Turf Wars API from a server where it isn't installed.
    It only works for stats stored in MySQL!
    You can use this for
    example to have a Leaderboard using Leaderheads plugin in your lobby!

    Setup
    To use it, you need to have your stats stored in MySQL.
    So once it's done, in your other server where Turf Wars isn't installed, like your lobby, install the plugin. Reload, configure it through config.yml, it's explained in it. Then reload again, check it could connect and it's good :)

    How to use Turf Wars API??
    Here is an example code.
    Code (Text):
    TurfWarsAPI api;

    public void onEnable() {
      api = TurfWars.getAPI();

      for(Player player : Bukkit.getOnlinePlayers())
        Bukkit.broadcastMessage(player.getName() + " has " + api.getKills(player.getUniqueId()) + " kills!");
    }
    Also don't forget to add "depend: [TurfWars]"
    In your plugin.yml

    Need help using it? Contact me in Discussion page :)
    Aoro likes this.

Recent Reviews

  1. Olas
    Olas
    5/5,
    Version: 1.0
    I didn't buy your TurfWars plugin, but I know it is da best. So... I'm giving you 5 extra stars just for UltraCosmetics :P
  2. File14
    File14
    5/5,
    Version: 1.0
    Great addon! You've done a very nice job, many thanks for this!
    _____________________________________________________
    1. iSach
      Author's Response
      Thanks for the review, glad to know it's useful :)
  3. Toshka
    Toshka
    5/5,
    Version: 1.0
    Great! Now I can use LeaderHeads for TurfWars on my lobby servers!
    Thanks for your work !!!!!!!!!!!!
    1. iSach
      Author's Response
      Thanks for the review! :D