- Tested Minecraft Versions:
- Source Code:
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.
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.
Awesome, you have just found an API for your future BungeeCord plugins. This plugin provides you many useful utilities for BungeeCord plugin development
Configuration file management, language file management, Json chat management and CLIENT-BUNGEECORD protocol management utilities.
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.
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.
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
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,
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.
Configuration, Chat and Language management system for BungeeCord.
- 3.0 - Added CommandAPI, Source code available on GitHub Sep 28, 2018
- 2.1 - Added Json and ChatAPI Dec 7, 2015
- 2.0 - First packet API ever for Bungee! Aug 26, 2015