SpigotLib 9.3.4

A library for every neccessary missing thing in Spigot.

  1. gyurix
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/gyurix/SpigotLib
    Contributors:
    gyuriX, zozidalom
    Languages Supported:
    German, Hungarian
    [​IMG]

    SpigotLib is a plugin containing lots of useful libraries and commands which helps for both developers and server owners to make their servers better.

    •••► Join to our Discord server ◄•••
    https://discord.gg/Jr3bKpq



    [​IMG]
    If you are a server owner, then you should use it for one of the following purposes:
    1. You would like to use a plugin on your server which depends on it
    2. For using some of it's commands by server owners, admins. You may even put them to a sign or an NPC with other plugins, what can be very helpful
    3. For getting nice, colored and meaningful error reports encoded by the SpigotLibs CommandAPI instead of the old boring internal server error chat messages.

    If you are a developer, then you should use it for one of the following purposes:
    1. For coding plugins up to 2x faster
    2. For using already perfectly working solutions for common plugin development problems
    3. For hooking in to other plugins indirectly
    4. To avoid the possibility of so many bugs appearing in your plugin
    5. For coding plugins working on the packet level super easily


    [​IMG]
    If the plugin does not work for you then please do not panic, do NOT leave a bad review, or a comment, just read and follow these steps:

    0. Before posting the new update I always fully test the plugin, so it's verified that it works fine, which means that in the most of the cases it should also work at you without any issues. The only reason of malfunction can be the differences between my and your testing enviroment, so in the next points I will explain you what kind of testing enviroment differences exists

    1. Incorrect server version: Please use the Spigots BuildTools to build yourself one of the following server versions: 1.8.8; 1.9; 1.9.2; 1.9.4; 1.10; 1.10.2; 1.11; 1.11.2; 1.12; 1.12.2; 1.13; 1.13.1.

    For any other version there is no guarantee that SpigotLib will work without any issues. On 1.7.10 and older servers the SpigotLib works might only work in a limited "safe" mode, which means that only some of it's funtionalities will work, which does not directly depend on the Spigot API.


    2. Using other plugins which causes issues: I will list you a few already known problematic plugins, of which some versions might cause issues:
    - ChatControl plugins packet related features: Please stop your server and disable these features in ChatControl plugins configuration
    - ProtocolSupport, ProtocolLib, ViaVersion: All of these plugins works with packets, so it's possible that some of them causes compatibility issues with SpigotLib. To resolve these issues it's suggested to make a new test server using just SpigotLib, and try to add these 3 plugins to it step by step. After these are added and working properly you may add the other plugins to your server. If they are not working, then check if you are using the correct versions of both of these plugins.

    I have tested and verified already, that using the right versions of ProtocolSupport, ProtocolLib and ViaVersion together with SpigotLib are working fine, however I believe, that the combination of these 4 plugins incorrectly causes the most of the problems.

    3. Remove old SpigotLib folder: After each update it's suggested to remove the old SpigotLib folder for letting the plugin extract the latest configuration and language file from the new SpigotLib jar.

    4. Verify that SpigotLib works fine: The easiest way to verify that SpigotLib works properly is the usage of the /sl command

    5. If you are absolutely sure about that none of the above mentioned points helped you still do NOT leave a bad review or write a comment, just contact me and I will help you.


    [​IMG]

    If you need any help in SpigotLib usage or you need a custom plugin feel free to contact me on Skype.
    My Skype name is gyurixdev.

    If you are satisfied by the help I give you or you are using a plugin, that depends on SpigotLib, please consider giving me a rating, for keeping me motivated about the SpigotLibs future development.

    [​IMG]

    Before starting to code using SpigotLib please do the following steps:
    1. Read the plugins licensing and reselling rules. It's very important that when you code plugins using SpigotLib you should never break the plugins license.

    2. Watch the tutorials and try to use the things mentioned in them in your code too. The tutorials are for education purposes, so if you follow them, then you will be sure about that you are doing everything good

    3. Explore the JavaDocs and the plugins source code to find out how to use all the beautiful APIs included in the SpigotLib

    4. Ask questions, here in Spigots Plugin development forum, not by PM, so I or another user having experience with it could help

    5. If you got enough experience help other users who asks help in Spigot plugin development forum and consider making new SpigotLib development tutorials.

    For every good tutorial you make I can give you free access to one of my premium plugins.


    [​IMG]

    Animation API (make your animations and run them easily)

    BungeeAPI (Communicate super easily with the BungeeCord or with other servers connected to BungeeCord)

    ChatAPI (for sending Action bar, Chat and System JSON messages really easy, using my really simple custom format)

    CommandAPI (make command simulations easily using this API. It provides commands like Title, Subtitle, ActionBar, Console, Chat, Message, e.t.c. And every command is executed through the VariableAPI, so you can also use variables in the commands. You can even create custom commands too)
    Code (YAML):
    ABM: Send an action bar message to a player or a normal message to other command senders
      usage
    : ABM:<message>
    BUNGEE
    : Execute a BungeeLib command on the Bungee
      usage
    : BUNGEE:<command>
    CLOSEINV
    : Closes the inventory of the player
      usage
    : CLOSEINV
    CONSOLE
    : Executes a command from the console
      usage
    : CONSOLE:<command without />
    DAMAGE
    : Damages the player with the given amount of hp damage (2 hp = 1 hearth)
      usage
    : DAMAGE:<amount of HP to took>
    ECON
    : Gives money to players, use negative amount for taking money
      usage
    : ECON:[money-type] <amount>
    ECONSET
    : Sets the money of a player
      usage
    : ECONSET:[money-type] <amount>
    EXPLOSION
    : Makes an explosion with no fire effect and no block damage around a player
      usage
    : EXPLOSION:<radius>
    FORCE
    : Forces another player or the console for executing a command
      usage
    : FORCE:<playername|console> <message>
    GNOTE
    : Plays note effect to all players or to a players in the executer players world
      usage1
    : GNOTE:* <instrument1>:<noteid1> [<instrument2>:<noteid2>]...
      usage2
    : GNOTE:<world> <x> <y> <z> <instrument1>:<noteid1> [<instrument2>:<noteid2>]...
      instruments
    : PIANO, BASS_DRUM, SNARE_DRUM, STICKS, BASS_GUITAR
      noteids
    : 0,1,2,...,23,24
    GPARTICLE
    : Plays an effect in the given location to all players in the given radius
      usage
    : GPARTICLE:<world> <x> <y> <z> <effect> <id> <data> <offsetX> <offsetY> <offsetZ> <speed> <count> <radius>
      effects
    : [URL]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html[/URL]
    GSOUND
    : Plays a sound to all the players in the world at the given or the executor players location
      usage1
    : GSOUND:<world> <x> <y> <z> <soundname> <volume> <pitch>
      usage2
    : GSOUND:<soundname> <volume> <pitch>
    HP
    : Set the hp of the player (2 hp = 1 hearth)
      usage
    : HP:<amount-hp>
    KICK
    : Kick the player with the given message
      usage
    : KICK:<message>
    LOG
    : Log the given message to the console
      usage
    : LOG:<message>
    MAXHP
    : Set the max health of the given player
      usage
    : MAXHP:<amount-hp>
    MSG
    : Send a ChatAPI message (a message with extra json tag support) to the player or a regular message to other command senders.
      usage
    : MSG:<message>
    NOCMD
    : Execute the variable calculations in the message without outputing anything
      usage
    : NOCMD:<message>
    NORMAL
    : Force the player for entering the given message to the chat
      usage
    : NORMAL:<message>
    NOTE
    : Plays note effect to the player at the player or the given location
      usage1
    : NOTE:* <instrument1>:<noteid1> [<instrument2>:<noteid2>]...
      usage2
    : NOTE:<world> <x> <y> <z> <instrument1>:<noteid1> [<instrument2>:<noteid2>]...
      instruments
    : PIANO, BASS_DRUM, SNARE_DRUM, STICKS, BASS_GUITAR
      noteids
    : 0,1,2,...,23,24
    OP
    : Temporarily op the player and force him for entering the given message to the chat
      usage
    : OP:<message>
    OPFORCE
    : Forces another player or the console for executing a command. Giving temporary OP status to the forced player.
      usage
    : OPFORCE:<playername|console> <message>
    PARTICLE
    : Plays an effect in the given location to the player
      usage
    : PARTICLE:<x> <y> <z> <effect> <id> <data> <offsetX> <offsetY> <offsetZ> <speed> <count> <radius>
      effects
    : [URL]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Effect.html[/URL]
    PERMADD
    : Adds the given permission to the player through Vault.
      usage
    : PERMADD:<perm>
    PERMREM
    : Removes the given permission to the player through Vault.
      usage
    : PERMREM:<perm>
    POTION
    : Gives the given potion effects to the command sender if the command sender is a living entity.
      usage
    : POTION:<type1>[:<level1>]:<duration1>[:NP][:NA] <type2>[:<level2>]:<duration2>[:NP][:NA]...
      level
    : Starts with 0, i.e. Speed 1 = level 0
      NP
    : Disable particles
      NA
    : Disable ambient flag
      potions
    : [URL]https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html[/URL]
    SEND
    : Send the player to another server, which is connected to the BungeeCord to which the player is connected.
      usage
    : SEND:<server>
    SERVER
    : Execute a command on another server
      usage
    : SERVER:<server1>[<,;><server2>[<,;><server3>]] <command>[;<command2>[;<command3>]]
    SETITEM
    : Set item in the given inventory slot of the players inventory  
      usage
    : SETITEM:<slot> <item>
    SOUND
    : Plays a sound to the player at the given or at the executor players location
      usage1
    : GSOUND:<x> <y> <z> <soundname> <volume> <pitch>
      usage2
    : GSOUND:<soundname> <volume> <pitch>
    SUBTITLE
    : Changes the subtitle message of the player
      usage
    : SUBTITLE:<new-subtitle>
    TS
    : Sets the settings of the next title message sent to the player
      usage
    : TS:<fade-in-ticks> <showtime-ticks> <fade-out-ticks>
    TITLE
    : Shows the given title message to the player with the previously set settings and subtitle
      usage
    : TITLE:<title>
    XPLEVEL
    : Adds the given amount of levels to the players xp level
      usage
    : XPLEVEL:<new-level>
    XP
    : Sets the xp bar of the player to the given xp bar filling ratio.
      usage
    : XP:<xp-bar-filling-ratio-(0.0-1.0)>


    Config management (Don't waste your time with config loading / saving. This system simplifiest all your Config management. From now it works with MySQL too.)

    EconomyAPI (a simple but really useful EconomyAPI system with multiple balance types, Vault compatibility and bank support. Now it supports working with other economy management plugins too.)

    ItemGuiAPI (Make custom item GUIs easily, supports inventory layout management so you can set up the same item to several inventory slots easily)

    JSON API (Are you tired of using Gson, it's time to try out a way better JsonAPI system. This system works similiar to the configuration management, just with Json-s)

    Language management API (use per player selectable languages for your plugins language file)

    Map API (manage custom maps very easily and super fast on packet level)

    Mojang API (easily handle the requests and responses between your server and between the Mojangs official API)

    MySQL API (Never worry about MySQL connections anymore, just use this API to easily send MySQL commands and get the answers or just do some background/Async updates)

    NBT API (get, list and add custom NBT tags for entities and items)

    TPS meter and crashreporter (make a crash report from the per thread stack trace dumps, if the servers tps is too low)

    TitleAPI (for setting Titles/Subtitles, for players without version incompatibility)

    PacketAPI (I have created a brand new API for managing packets really easily and compatible between different Spigot versions)

    PlayerDataStorage (A brilliant way of storing any kind of data about a player. From now it supports MySQL backend too.)

    RomanNumsAPI (A brilliant way of storing any kind of data about a player. From now it supports MySQL backend too.)

    ScoreboardAPI (manage per player different NO FLICKER sidebars, tabbars and nametagbars easily)

    VariableAPI (for handling unlimited amount of variables cross plugins, with a really simple and easy to use way)

    TimeAPI (for calculating times easily)



    [​IMG]




    Please help me by making high quality and accurate tutorials. For every good tutorial you make I can give you free access to one of my premium plugins.



    [​IMG]

    If you would like to use any SpigotLib commands for other users, you can do /sl subcommand p:<user1>,<user2> [arguments], so for example /sl cmd p:gyuriX MSG:My name is <plr:name>. This command will send a PM to gyuriX and

    /sl cmd <commands>
    /sl debug
    /sl item [give]
    /sl lang
    /sl migratetodb
    /sl perm [permission]
    /sl reload <config|pf|lf>
    /sl save pf
    /sl vars [text]
    /sl velocity <x> <y> <z>



    [​IMG]

    SpigotLib is licensed under the GPL-3 license

    Short overview: https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
    Full text: https://github.com/gyurix/SpigotLib/blob/master/LICENSE.MD

Recent Reviews

  1. xDutchProx1
    xDutchProx1
    5/5,
    Version: 9.0.3
    This plugin is freaking great! Apart from the little documentation. Once you figure out how to fully use the API then it saves a ton of headaches and time! Really worth using would even pay for it if it wasn't free!
  2. zozidalom
    zozidalom
    5/5,
    Version: 9.0.2
    Thank you for the quick update! I really like using your API for developing my own plugin. It makes everything easier.
  3. Drzant12
    Drzant12
    5/5,
    Version: 8.4
    This dev is amazing. I would recommend anyone with a server to check this guy out asap
    1. gyurix
      Author's Response
      Thank you very much for your review. Make sure to check out the plugins last version if you are looking for 1.14 support :)
  4. marcosant
    marcosant
    5/5,
    Version: 8.4
    Nagyon hasznos és fantasztikus plugin :D Very useful and fantastic plugin :D Így tovább! :)
    1. gyurix
      Author's Response
      Thank you very much for your review.
  5. Peebbong
    Peebbong
    5/5,
    Version: 8.4
    Nice Spigot API!

    Recommend Plugin

    Its very nice plugin! thanks for plugin!
    i love you.
    1. gyurix
      Author's Response
      Thank you very much for your review. Feel free to join our Discord channel if you have any questions about the plugin.
  6. Thefireman5
    Thefireman5
    5/5,
    Version: 8.0
    Good plugin, work perfectly, i recommended for anothers plugins by this creator,
  7. xcamnhamx
    xcamnhamx
    5/5,
    Version: 7.1.1
    Great developer, the plugin provides meaningful error reports ingame and prevent useless spam in the console. Thanks.
  8. apik007
    apik007
    5/5,
    Version: 7.1.1
    Nice resource and nice developer. I really enjoy the features of the API and the plugin itself! The developer also helped me with implementation. Thank you!
  9. ZNsolo101
    ZNsolo101
    5/5,
    Version: 7.1.1
    I inquired about an error and a new release followed in less then a full day blows my mind what an awesome plugin best yet and have had every single complaint and error replayed to and fixed at hast love this plugin. vary awesome dev. I support this plugin great work
  10. zozidalom
    zozidalom
    5/5,
    Version: 7.1
    I am happy to see the new license of SpigotLib, and I am really happy that I see that you are still working on the plugin. I hope when 1.13 will be released then you will update the plugin and add all the new packets to it. Excellent work!