promotional bannermobile promotional banner

UniPlugin

This plugin is like vault but a little different. It also does scoreboards! This plugin is completely developer only and helps when making multiple plugins requiring money, or scoreboards!

This plugin is like vault, a universal bank that any plugin can hook up to. This plugin has more variety then vault because it also does scoreboards and allows multiple plugins to add, or remove scores! If you have 3 plugins trying to utilize the scoreboard and they just keep overlapping each-other, this plugin would help greatly! If all the plugins using the scoreboard uses it through the means of this, it would simply add them on to scoreboard. I can not supply commands or permissions because this plugin is completely developer. Also I plan to add many more features but currently I'm out of ideas. The way I have it coded is a nice layout of handlers, so it is easily changeable and I can add as much as I want!

 

Here is how developers can use this:

UniPlugin base = (UniPlugin) Bukkit.getPluginManager().getPlugin("UniPlugin"); // Getting my plugin
MainHandler handler = base.getMainHandler(); // Getting the main handler

MoneyHandler money = handler.getMoneyHandler(); // Getting the money handler
ScoreboardHandler scoreboard = handler.getScoreboardHandler(); // Getting the scoreboard handler

 

And from the money handler you can:

getAmount(String uuid); ---> Returns the amount of the uuid (player)

addAmount(String uuid, int amount); ---> Does not return anything, adds amount to the uuid (player)

removeAmount(String uuid, int amount); ---> Returns a boolean if it was successful in, removing amount from the uuid

hasAmount(String uuid, int amount); ---> Returns a boolean to test if they have enough or not

 

For the scoreboard hander you can:

addText(String uuid, String text); ---> Adds text to scoreboard for uuid (player)

removeText(String uuid, String text); ---> Returns a boolean if it was successful in, removing text

containsText(String uuid, String text); ---> Returns a boolean to test if they have the text or not

update(String uuid); ---> This is called when you addText or removeText, but you can manually call it if you would like to: updates the text

 

NOTE: For scoreboards adding text you can put a semicolon and then an integer for the value like so: 'Money:1'

And that is all!

The UniPlugin Team

profile avatar
  • 9
    Projects
  • 11.7K
    Downloads

More from og_phantomunicornsView all

  • Jinx project image

    Jinx

    • 487
    • Bukkit Plugins

    This is a API that is essential for those who would like fancy effects!

    • 487
    • June 12, 2017
    • Bukkit Plugins
    • +3
  • WorldPlus project image

    WorldPlus

    • 1.4K
    • Bukkit Plugins

    This is a manager for your worlds! This plugin allows you to create, remove, dupe, load, worlds and more!

    • 1.4K
    • November 2, 2016
    • Bukkit Plugins
    • +3
  • morePlus project image

    morePlus

    • 1.8K
    • Bukkit Plugins

    This is morePlus, with this you can create your own commands, items and enchantments! They can also interconnect!

    • 1.8K
    • October 25, 2016
    • Bukkit Plugins
    • +3
  • Bufferbam project image

    Bufferbam

    • 955
    • Bukkit Plugins

    This is like a better clearlag! This automatically clears all entities if the amount exceeds 10

    • 955
    • October 21, 2016
    • Bukkit Plugins
    • +3
  • Jinx project image

    Jinx

    • 487
    • Bukkit Plugins

    This is a API that is essential for those who would like fancy effects!

    • 487
    • June 12, 2017
    • Bukkit Plugins
    • +3
  • WorldPlus project image

    WorldPlus

    • 1.4K
    • Bukkit Plugins

    This is a manager for your worlds! This plugin allows you to create, remove, dupe, load, worlds and more!

    • 1.4K
    • November 2, 2016
    • Bukkit Plugins
    • +3
  • morePlus project image

    morePlus

    • 1.8K
    • Bukkit Plugins

    This is morePlus, with this you can create your own commands, items and enchantments! They can also interconnect!

    • 1.8K
    • October 25, 2016
    • Bukkit Plugins
    • +3
  • Bufferbam project image

    Bufferbam

    • 955
    • Bukkit Plugins

    This is like a better clearlag! This automatically clears all entities if the amount exceeds 10

    • 955
    • October 21, 2016
    • Bukkit Plugins
    • +3