Releases: Keffisor/JDAPlug
Bug fixes of config
Now the config has a full support of UTF-8.
Now you can call the getConfig directly, without using the function onEnable on init.
Fixed code that can break all the bot.
Bug fix and somes changes to the api
BETA_v1.7 some changes
Support to the older versions of Windows 10
Now the JDAExpansion is compatible with windows 7, 8 and 8.1. For do this, i have changed all the print system of the console. Finally, now you can disable the /plugins in servers with the JDAExpansion.yml that will be generated.
Support to Slash Commands, fixed some bugs and changed the api on creating commands
The examples of the new slash commands and the new api can be found here https://github.com/Keffisor/JDAExpansion on the README.md
Updated JDA and the system of loading plugins
I made some changes on the api for creating commands. Changed the organization of some code on plugin loading. Now the plugins loaded by the JDAExpansion will be accesible by another plugins. Added the author and version on the plugin.yml. Updated to the last version of JDA. Added a automatical message on disable plugin. Now the messages of loaded or disabled plugin will have colors. Fixed the bug for get data with . in FileConfiguration.
New features and bug fixes
Now you can receive all the messages typed on the console with the event onMessageConsoleReceive
public class test implements ConsoleEvents {
@Override
public void onMessageConsoleReceive(String message) {
}
}
Fixed a bug on getting the token on token.txt
Now the createCommand has better detecting on commands
Now load more correctly the plugins without interrupting any loading of plugins
Now you can get elements of a yml with .
Example:
something:
another:
- example
message: hi
String message = getConfig("config.yml").getString("Example.message");
List<Object> list = getConfig("config.yml").getList("Example.another");
Fixed bug of token configuration and get elements of fileconfiguration
Fixed bug of token configuration and get elements of fileconfiguration
FileConfiguration#getElements
Support to ShardManager
Added support to shardmanager on JDAExpansion.start