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 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!

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