SideAPI - Change Scoreboard Text!

Discussion in 'Resources' started by Bionicrm, Mar 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Bionicrm

    ______________________________________________

    SideAPI's main idea is to allow multiple plugins to hook into the sidebar to add/remove lines of text. Here's what it looks like:

    [​IMG]

    Features for the player/server admin:
    • Less flashing because it only updates if one of the lines have actually changed, rather than every 2 seconds, for example, regardless of whether or not something has changed.
    • Using "/toggleside" will toggle the visibility of the scoreboard. This is built into SideAPI, and can be enabled/disabled by the server admin.
    • An auto-updater can keep the plugin up-to-date without additional downloading from the project page.
    Features for the developer:
    • One static method will get you the scoreboard, a.k.a the Side. Just use SideAPI.getSide().
    • You can add a line of text to either the beginning or end of the board. The red numbers on the right will automatically change to keep the correct order.
    • You still have control over the score to the right (the red numbers).
    • Don't worry about creating new objectives, setting scores, getting a new scoreboard, etc. Just get the scoreboard of a player, a.k.a the ScoreText, and add/remove however you'd like! Other plugins can do this too, and no conflicts will occur.
    This API is well-documented and is open for changes.


    Resources for server admins:
    Resources for developers:
     
  2. Offline

    97WaterPolo

    Bionicrm
    Amazing! Thank you so much for this! Saw this as a plugin and I couldn't wait till the release! :p Thanks again!
     
Thread Status:
Not open for further replies.

Share This Page