BungeeLib 3.0

Configuration, Chat and Language management system for BungeeCord.

  1. gyurix
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/gyurix/BungeeLib
    Contributors:
    gyuriX
    [​IMG]

    [​IMG]
    This plugin provides utilities for Bungee plugin developers, but it also contains and will contain some useful tools for normal server admins to be able to use and test the libraries features.

    [​IMG]
    Currently you should install this plugin to your BungeeCord, if you would like to use it's permission system or if a Bungee plugin needs it.


    [​IMG]
    Awesome, you have just found an API for your future BungeeCord plugins. This plugin provides you many useful utilities for BungeeCord plugin development

    [​IMG]

    Configuration file management, language file management, Json chat management and CLIENT-BUNGEECORD protocol management utilities.


    [​IMG]
    I will make them for the first request. So in order to make plugins using this library, just contact me on Skype, or send me a PM.

    [​IMG]
    Currently you can only use some /blp commands for managing the permissions:
    /blp reload: Reload the permission file
    /blp
    save: Save the permission file
    /blp debug: Toggle permission debug messages.


    Features:
    Configuration system
    It looks similiar to Yaml, but it doesn't need any "s or 's! It just need the blocks and the texts, which can also be multilined.
    It uses custom serializers, for each types of data, and it also supports very easy object serialization, without any need of creating your custom serializers, but of course, you can add unlimited amount of them, using method
    ConfigSerialization.serializers.put(class,serializer);

    Chat system
    With it, you can easily build any kind of json messages without using long, long JSON messages. It uses a custom format for building them:
    - You don't need to care about the colorcodes of each message part, the plugin does it automatically for you, so you only need to use the regular §+colorcode format.
    - Adding special effects to the messages are really easy, using the \-<effect letter> separator, i.e. §a§lme§e§lssage\-TShown this text on hover\-SSuggest this message on click\-+Insert this text on shift+click!
    You can use the following special effect letters:
    T - Hover event, show text
    I - Hover event, show item
    A - Hover event, show achievement
    E - Hover event, show entity
    S - click event, suggest command
    R - click event, run command
    U - click event, open url
    F - click event, open file
    + - insertion (on shift click)
    - Of course you can also add several tags to your messages, if you need,
    i.e.: text1\-HHover\|text2\-HHover2
    So as you see, you need to use the \| separator.
    Sending this json message is also really simple:
    ChatAPI.sendJsonMsg(ChatMessageType type,ProxiedPlayer plr,String msg);

    Language management system:
    You can also use this plugin for managing your plugins language files. The language files are simple yaml like files, which avoids writing the same texts several times.
    You can load your language file using method:
    PluginLang GlobalLangFile.loadLF(String pluginname,String filename);
    This pluginlang class provides you easy access for your plugins language file. It has the method String get(ProxiedPlayer plr,String adress, String... replacements), which gets a string from the file, but it also replaces the variables, with the given replacements.
    Waattty and danenco like this.

Recent Reviews

  1. RoxasX_X
    RoxasX_X
    1/5,
    Version: 3.0
    No tutorials ore Examples how to use the Api.
    The Ingame commands aren't working ether.

    Hope this will change.
  2. Vilicius
    Vilicius
    5/5,
    Version: 2.1
    Good JOB!!!! Its really neccesary in a Minecraft Server!!! Keep going!!!

    Probably the best spigot dev.
  3. CAspermartijn
    CAspermartijn
    5/5,
    Version: 2.0
    Works great but could you make an api for mySQL cuz thats what everyone would like in there plugins BTW Great plugin