Skip to content

Releases: Keffisor/JDAPlug

Comments bug fix

26 Nov 02:15
Compare
Choose a tag to compare

A bug fix that the comments applied into the config were messed up if there were dots formatted to maps.
The JDA version was updated to the latest one.

Bug fix for the truncation of errors in the console

19 Oct 00:59
Compare
Choose a tag to compare

Now all the errors are displayed on the console with no truncation.

Bug fixes and restructures in the project

06 Oct 21:37
Compare
Choose a tag to compare
  1. Fixed the colors in console for Windows 11.
  2. createCommand renamed to CommandExecutor.
  3. Comments are not removed anymore in the yml configuration files.
  4. The sender "Command" has been renamed to "TextCommand".
  5. New function in JavaPlugin: getDataFolder for get the path of the plugin's directory
  6. New casting functions in CommandSender and has been renamed the following functions:
  • sendMessage -> sendSenderMessage
  • replyMessage -> replySender
  • replyEmbeds -> replySenderEmbeds

Java 8-21 compatibility

15 Sep 21:06
Compare
Choose a tag to compare

Compatibility for Java +8 (Tested on Java 17/21 and working fine) and updated the logback version

Bug fixes, new name and JDA version updated

15 Sep 18:10
Compare
Choose a tag to compare
  • Was fixed some bugs related to set/get in FileConfiguration and now the config will be formatted any dot into a map.
  • Updated the JDA version into the last one.
  • New variables on JDAPlug.yml.
  • New project structure and name.

v1.0-beta

04 Apr 02:20
Compare
Choose a tag to compare
Updated README.md

JDA Updated and code improvements

19 Nov 21:53
Compare
Choose a tag to compare

Updated to the JDA version of 5.0.0-beta.18 and code improvements

Updated JDAExpansion to the last version of JDA

11 Jan 14:58
Compare
Choose a tag to compare

Updated JDAExpansion to the lastest version (not alpha) and added all the new events.

Little config update and bug fixes

16 Dec 09:58
Compare
Choose a tag to compare
  • Fixed bug of register event with function registerEvent
  • Fixed bug on registering slashcommands with the createCommand class
  • Added the event MessageConsoleReceivedEvent to the PluginListener (And removed the previous way to call that event)
  • Now when it's created the config file of a plugin doesn't sent anymore a error to the console
  • Now the config will be not reset when the config internally has been changed
  • Now you can disable the command !version and you can set a message to the commands that can be disabled

New api of events, bug fixes and some changes.

09 Nov 23:20
Compare
Choose a tag to compare
  • Changed PluginListener to JavaPlugin
  • Changed some imports and fixed some bugs.
  • Now the error are full displayed on the console
  • The arguments now starts by 0.
  • New system for register events (PluginListener). You can register events as the same way as Bukkit.
public class EventTest implements PluginListener {
	/*
	With the new system of events in JDAExpansion you will be able to declare any event with a custom name, you can repeat in the same 
        class any event and you can set the priority of execution of that event.
        */
	
	@EventHandler(priority = EventPriority.MONITOR) //set the priority of the event, if it's not set, it will be NORMAL by default.
  	public void test(MessageReceivedEvent e) {
	        System.out.println(e.getMessage().getContentRaw());
  	}

	@EventHandler
	public void test2(MessageReceivedEvent e) {
		System.out.println(e.getAuthor().getAsTag());
	}

}