Sueta

MPUtils

1.9.3

Library for helping on developing minecraft spigot plugins.

·Plugin
  1. 1.9.3latestMinor updateOct 4, 2021
    [+] - Added [•] - Changed [+] - Added getPath method to MessageEnum interface. [•] - MessageSender constructors that use messagesPath are now deprecated
    1 download
  2. 1.9.2MessageSender updateSep 22, 2021
    [+] - Added [+] - Added MessageSender class for managing messages, also contains message sending methods. [+] - Added getString method for the new MessageSender class. [+] - Added MessageEnum interface, intended to be implmeneted only by the enums that are passed to the MessageSender as a type parameter. (Deleting previous updates and merging them)
    24 downloads
  3. 1.9.1Added messages managerSep 22, 2021
    [+] - Added [+] - Added MessageSender class for managing messages, also contains message sending methods.
    4 downloads
  4. 1.9.0Came up with another simple method for the new classSep 22, 2021
    [+] - Added [+] - Added getString method for the new MessageSender class.
    3 downloads
  5. 1.8.1GUI re-worked (HUGE GUI update)Jul 2, 2021
    [+] - Added [•] - Changed [+] - Added 2 new GUI classes: BorderPaginatedGUI (a paginated GUI with a border all around the outter slots), DynamicGUI (a GUI that dinamically updates its size depending on the number of items added to it, its type can also be either Simple or Paginated) [+] - Added Navigation related classes: NavigationBar (a group of items that is shown in a GUI with the purpose of helping the final user navigate through the GUI), GUIButton (each of the elements present in a NavigationBar), Navigable (a GUI that has a Navigation bar and can have mor than one page), BorderGUINavigationBar (a special NavigationBar used only inBorderPaginatedGUIs) [+] - Added a new event "GUIButtonClickEvent", extends GUIClickEvent, called when a GUIButton is clicked (take into consideration a GUIClickEvent will be called every time a GUIButtonClickEvent is called, you can check if a GUIClickEvent is fired at the same time as a GUIButtonClick event using GUIClickEvent#isButtonClick()). [•] - Moved and reorganized quite a fe classes from the GUI package: - GUIType - GUIClickEvent - GUICloseEvent - PlayersOnGUIsManager [•] - Several methods and classes are now deprecated due to this changes. [•] - Fixed bugs.
    74 downloads
  6. 1.8.0GUI re-worked (HUGE GUI update)Jul 2, 2021
    [+] - Added [•] - Changed [+] - Added 2 new GUI classes: BorderPaginatedGUI (a paginated GUI with a border all around the outter slots), DynamicGUI (a GUI that dinamically updates its size depending on the number of items added to it, its type can also be either Simple or Paginated) [+] - Added Navigation related classes: NavigationBar (a group of items that is shown in a GUI with the purpose of helping the final user navigate through the GUI), GUIButton (each of the elements present in a NavigationBar), Navigable (a GUI that has a Navigation bar and can have mor than one page), BorderGUINavigationBar (a special NavigationBar used only inBorderPaginatedGUIs) [+] - Added a new event "GUIButtonClickEvent", extends GUIClickEvent, called when a GUIButton is clicked (take into consideration a GUIClickEvent will be called every time a GUIButtonClickEvent is called, you can check if a GUIClickEvent is fired at the same time as a GUIButtonClick event using GUIClickEvent#isButtonClick()). [•] - Moved and reorganized quite a fe classes from the GUI package: - GUIType - GUIClickEvent - GUICloseEvent - PlayersOnGUIsManager [•] - Several methods and classes are now deprecated due to this changes. [•] - Fixed bugs.
  7. 1.7.0Added features and classesJun 9, 2021
    [+] - Added [•] - Changed [+] - Added reloading related classes ( Reloadable and ReloaderPlugin). Will make sure to add documentation on the wiki page on github. [+] - Added StringUtils#colorizeString(String): Calls StringUtils#colorizeString(char, String) using the '&' as the color char. [+] - Added itemToString(ItemStack) and stringToItem(String) methods in the MPItemStacks class. [•] - The GUIClickEvent extends InventoryClickEvent and the GUICloseEvent extends InventoryCloseEvent, so now the fields and methods available in those events are now available for the GUI events. [•] - Fixed bugs.
    52 downloads
  8. 1.6.0MPUtils just got much more useful!Jan 25, 2021
    [+] - Added [•] - Changed [+] - Added time related utility classes - TimeUtils, for time related methods and TimeUnit for convertig time units to ticks. [•] - Renamed some packages (!!!!!) Please take this into consideration, server plugin and plugin dependency must be both either previous to 1.6.0 or posterior to 1.6.0. [•] - Re-worked Cooldowns class entirely - Now cooldowns are stored to the cooldowns.yml file for cooldowns to persist across server restarts, they also can be initiated using an amount of time and a time unit from the TimeUnit class. Basically much better cooldowns system. [•] - Fixed some GUIs related bugs and added some null checks.
    108 downloads
  9. 1.4.4Added a bunch of useful stuffNov 21, 2020
    [+] - Added [•] - Changed [+] - Added Metrics with ability to toggle them off. [+] - Added Abstract GUI class extended by PaginatedGUI and SimpleGUI, this way developers don't have to cast the Object to PaginatedGUI or SimpleGUI for trying to get the GUI size or title. Developers will still need to cast GUI to SimpleGUI or PaginatedGUI for doing some other specific stuff. [+] - Added YamlFile class for simply creating YAML file in one line - this also makes it much simpler to reload/load/save YAML files, yo ucan check how this works on the plugin's github page (huge thanks to https://github.com/OcZi for handing me this class). [•] - Fixed some serious bugs, better code overall. [•] - Fixed lore lines duplicating when using MPItemStacks#replacePlaceholders. NOTE: You can find some more info about my projects' trello table: https://trello.com/b/tT46N2bM/mp-projects
    42 downloads
  10. 1.3.0Added EventSep 8, 2020
    [+] - Added [+] - Added GUICloseEvent - Fired when a player closes a GUI
    48 downloads
  11. 1.2.1Bug fixSep 7, 2020
    [•] - Changed [•] - Fixed not setting ItemMeta after modifying it on MPItemStacks#newItemStack()
    11 downloads
  12. 1.2.0Added cooldownsSep 3, 2020
    [+] - Added [+] - Added cooldowns - Should add a player to a cooldown for a given amount of seconds (Not tested yet). Worth to mention, has a "getTimeLeft()" method.
    22 downloads
  13. 1.1.0UpdateAug 29, 2020
    [+] - Added [•] - Changed [+] - Added MPItemStack class - will be loaded with ItemStack related methods. At the moment only 2. [+] - Added newItemStack method to the MPItemStack class - This method creates an ItemStack that comes with colorized name and lore given by parameters. [+] - Added replacePlaceholders method to the MPItemStack class - This method replaces every placeholder from a given map and searches and replaces them in the given item's display name and lore with their corresponding value in the map. [•] - Fixed minor bugs. [•] - Changed PaginatedGUI methods - they now use some MPItemStacks methods.
    16 downloads
  14. 1.0.2Major bug fixes and added featuresAug 23, 2020
    [+] - Added [•] - Changed [+] - Added the GUI object to the GUIClickEvent event - This will allow developers to get that specific GUI navBar items or any items inside it. [+] - Updated the wiki page with some more info about how to use GUIs and how they work, go take a look at it! [•] - Fixed some bugs that would cause some error causing some parts of the plugin not to function correctly.
    16 downloads
  15. 0.9.1Aug 15, 2020
    19 downloads

Similar projects

Plugin →