W-WB-Leave 2.0.0

Details

  • Filename
    W-WB-Leave.jar
  • Uploaded by
  • Uploaded
    Oct 26, 2015
  • Size
    21.31 KB
  • Downloads
    358
  • MD5
    978767874089cac32251fc133982e518

Supported Bukkit Versions

  • 1.8.3

Changelog

NOTE FROM PREVIOUS DEVELOPER: I have stopped development on this plugin, and I took a long leave from it. I do not plan on coming back to the project, and I leave it all in CountryRose12's hands, or another developer if she so choses to accept another one. As of now, this is the 2.0.0 release, where it will be completely recoded from scratch. I was pathetic at coding Java and using the Bukkit API, but since then I have improved. All features will remain the same, and any developer may continue from this version forth. I leave the copyright in anyone else's hands, and it is now unlicensed from Parker "2008Choco" Hawke. I leave my licensing under the All Rights Reserved license, to CountryRose12.

I, 2008Choco, would also like to personally and publicly apologize towards CountryRose12 for abandoning her project whilst it was under my care. I will be sending her a private message as well as a heartfelt thank you for lifting me off my feet as a developer. This was the first project I had ever taken care of, and I had left no regard for it after continuing with projects of my own. I felt bad for leaving this project to rot, so I was hoping that perhaps a proper, cleaner, and more efficient re-code from a more experienced developer would make it up to her. I sincerely apologize to CountryRose12, and I hope this makes up for it

Version 2.0.0

  • Changed the PlayerChatEvent to AsyncPlayerChatEvent to allow it to run on a separate thread from the server (removes lag potential)
  • Changed the way the PlayerJoinEvent is handled, and allowed the class to run on WAY less decisions
  • Fixed some bugs with the PlayerQuitEvent methods that displayed multiple characters if a server name was specified in the config
  • Removed Listener implementations on classes that did not have events in them
  • Separated all commands to all run on completely different threads of their own
  • Optimized the /hardmute command to function on less decisions, and made it run more efficiently
  • Changed a lot about the /welcome command:
  • |-> Optimized the command to function on less decisions and made it run more efficiently
  • |-> Changed it so that only the GUI portion of the command is Player-Only. Every other parameter is available from the console now
  • |-> Changed a few message colours / formats
  • Changed a bit about the /playerinfo command
  • |-> Optimized the command to function on less decisions and made it run more efficiently
  • |-> Removed the "Invalid Syntax" message when specifying more than one argument
  • Created a createItem() method to easily create icons in the Administrative GUI
  • Changed the icons in the AdminGUI to be public absolute variables rather than static local variables
  • Fixed NullPointerException when clicking on the outer section of any inventory
  • Fixed numerous NullPointerExceptions with the /playerinfo command
  • Changed so you can only use /playerinfo on an online player (Too many issues with offline players)
  • Changed the way click events are handled in all of the GUI's (should be more efficient)
  • Changed the way the click event for hidelogins is handled, and instead lets the player run the command when clicked
  • Fixed a potential NullPointerException when using the BanManager GUI
  • Cleaned up the onEnable method in the main class
  • Added an onDisable method to prevent from memory leaks
  • Cleaned up the PlayerInfoGUI class
  • |-> Removed 2 unnecessary methods
  • |-> Refactored the name of one method to openGUI, and added a second parameter for the targetPlayer
  • Nullified the effect of the BanManager (Sorrry, it just had way too many issues. Another developer may continue it if they would like)
  • Removed all the stupid and unnecessary overload of comments in the code
  • Changed the entire structure of the plugin. Instead of overusing static-access (bad practice), most classes now have a constructor method
  • COMPLETELY recoded W-WB-Leave (I believe it has a new name now, but I have recoded it under this name). Everything has changed in the code, yet nothing has changed at all gameplay-wise. Everything should be the same. Permissions, commands, GUI's, everything. The only difference, is tons and tons of bug fixes
  • Condensed and made a lot of code way more efficient that it was previously. Hopefully the file size is much smaller as well (but we'll see)
  • Added a changelog.md file in the project folder for public viewability
  • Completely restructured the hierarchy of the plugin. Separated classes for the following:
  • |-> Commands: 4 different classes, 1 for each command
  • |-> Events: 4 different classes, 1 for each event
  • |-> Inventories: 4 different classes, 1 for each inventory
  • |-> Lastly, the main class to handle it all