Sueta

[1.13-1.17] EasyAPI

1.3.0

Language, AutoReloadFile, Command from Vanilla, NPC, Hologram, ItemUtils, PlayerUtils and more!

·Plugin
  1. 1.3.0latestBIG UPDATE!Aug 8, 2021
    Now, 1.3.0 goes out. There are update contents: 1.Now NPC has all monster entity types, zombie-like entity types and hoglin, zoglin, piglin data is boolean to set is baby, Villager and Zombie Villager data is org.ezapi.module.npc.fake.FakeVillager.VillagerData, Slime and Magma Cube data is integer to set size 2.ReflectionUtils has been renamed to Ref 3.EzAnvil goes out! Using nms and dynamic class generator to make perfect anvil gui! 4.When NPC looking at player, they will look at correct position (player's eyes) Animal entity types for npc will be added in next version! Some features MAYBE add in next version: 1.Shulker type can set color 2.NPC with NPC as passenger 3.NPC can move by them self with method, developer may be able to make a command like "/npc moveTo ~ ~ ~10", but with no gravity and can go through blocks, so developers need code a pathfinder to solve it 4.NPC can swing their hands to make some animation
    1 download
  2. 1.2.27Added more features for EasyPlugin classAug 7, 2021
    Added more features to EasyPlugin class Now using setConfigAutoReload can make the configuration file auto reload and listening by onConfigReload() and onConfigDelete() methods Code (Java): @Override public void enable ( ) { this. setConfigAutoReload ( true ) ; } @Override public void onConfigReload ( ) { this. sendConsole ( "Config has been reloaded" ) ; } @Override public void onConfigDelete ( ) { this. sendConsole ( "Config has been deleted" ) ; }
    5 downloads
  3. 1.2.26Fixed bugsAug 6, 2021
    Fixed ChatMessage doesn't process Player
    10 downloads
  4. 1.2.25Fixed bugs!!!!!!!!!!!!!!!!Aug 5, 2021
    A new feature, brings a lot of bugs
    8 downloads
  5. 1.2.24Fixed bugsAug 5, 2021
    Why! Fixed bugs again!
    3 downloads
  6. 1.2.23Auto reload configuration!Aug 5, 2021
    Examples Code (Java): File file = new File ( "plugins/EasyAPI/", "example.yml" ) ; FileUtils. create (file, true ) ; AutoReloadFile autoReloadFile = new AutoReloadFile (EasyAPI. getInstance ( ), file ) ; autoReloadFile. onModified ( ( ) -> { System. out. println ( "Modified" ) ; System. out. println ( "content: " + FileUtils. readText (file ) ) ; } ) ; autoReloadFile. onDeleted ( ( ) -> { System. out. println ( "Deleted" ) ; } ) ;
    3 downloads
  7. 1.2.22Fixed bugsAug 4, 2021
    I don't know why so many bugs ¯\_(ツ)_/¯
    9 downloads
  8. 1.2.21Added set placeholder provider method to ChatMessageAug 4, 2021
    I forget add the method last version, sorry.
    10 downloads
  9. 1.2.20Added PlaceholderProviderAug 4, 2021
    Added PlaceholderProvider to replace text. To use PlaceholderAPI to replace, You can use EasyAPI addon: PAPI Provider for Easy API
    2 downloads
  10. 1.2.19Added BossBar APIAug 3, 2021
    Added BossBar API! Code (Java): //Create a new boss bar EzBossBar bossBar = new EzBossBar ( new ChatMessage ( "Ender Dragon", false ) ) ; //Add a new viewer bossBar. addViewer (player ) ; //Set boss bar progress bossBar. setProgress (0.5f ) ; //Set boss bar color bossBar. setColor (BarColor. BLUE ) ; //Set boss bar style bossBar. setStyle (BarStyle. NOTCHED_20 ) ; //Make sky dark bossBar. setDarkenSky ( true ) ; //Play music to player bossBar. setPlayMusic ( true ) ; //Create fog bossBar. setCreateFog ( true ) ; //Make player cannot see the boss bar bossBar. hide (player ) ; //Make player can see the boss bar bossBar. show (player ) ; //Remove a viewer bossBar. removeViewer (player ) ; //Drop the boss bar bossBar. drop ( ) ;
    12 downloads
  11. 1.2.18Removed scoreboard test commandAug 3, 2021
    Removed command shouln't appear in EasyAPI
    10 downloads
  12. 1.2.17Fixed bugs and ADDED SCOREBOARD API!Aug 3, 2021
    Now! Scoreboard is coming! Code (Java): //Create a new scoreboard EzScoreboard scoreboard = new EzScoreboard ( new ChatMessage ( "&c&lExample", false ) ) ; //Add text, the int is witch line, line number higher, position higher scoreboard. setText ( 8, new ChatMessage ( "&b&l| &bThanks for playing!", false ) ) ; scoreboard. setText ( 7, new ChatMessage ( "&b&l| ", false ) ) ; scoreboard. setText ( 6, new ChatMessage ( "&b&l| &bPlayer", false ) ) ; scoreboard. setText ( 5, new ChatMessage ( "&b&l| &e{display_name}", false ) ) ; scoreboard. setText ( 4, new ChatMessage ( "&b&l| ", false ) ) ; scoreboard. setText ( 3, new ChatMessage ( "&b&l| ", false ) ) ; scoreboard. setText ( 2, new ChatMessage ( "&b&l| ", false ) ) ; scoreboard. setText ( 1, new ChatMessage ( "&b&l|&e example.com", false ) ) ; //Make a player can see the scoreboard scoreboard. addViewer (player ) ; //Remove line witch is 1 scoreboard. removeText ( 1 ) ; //Make a player cannot see the scoreboard scoreboard. removeViewer (player ) ; //Set title display name scoreboard. setTitle ( new ChatMessage ( "New Display", false ) ) ; //Drop the scoreboard scoreboard. drop ( ) ;
    3 downloads
  13. 1.2.16Fixed main classAug 3, 2021
    Fixed loading main class bugs
    10 downloads
  14. 1.2.15CommandAPI new constructorsAug 2, 2021
    EzCommand and EzArgument has more constructors! Added 6 new constructor for EzCommand and EzArgument classes. Add PermissionManager class!
    13 downloads
  15. 1.2.13Fixed Language APIJul 31, 2021
    Fixed when you are coding with some languages and add default values, "???" will be saved in language file. Language file encoding has been set to Unicode
    16 downloads
  16. 1.2.12IMPORTANT UPGRADE!Jul 31, 2021
    1.Removed Storage API because it's too useless 2.NPC API now support set item in npc main hand or off hand, also helmet, chestplate, leggings and boots. 3.Now fixed Player Type NPC Show in TabList and Entity selector Finally, I pushed my source code to github. I cannot push caused by my internet, so no source code on github, sorry for that!
    6 downloads
  17. 1.2.11Fixed Language CodeJul 30, 2021
    Fixed Japanese Language Code from "ja-jp" to "ja_jp"
    6 downloads
  18. 1.2.10Readded toml storage supportJul 30, 2021
    Readded toml storage support
    5 downloads
  19. 1.2.9Removed unnecessary classes librariesJul 29, 2021
    Removed unnecessary classes libraries. These classes will be a module in the future
    9 downloads
  20. 1.2.8Fixed bugsJul 28, 2021
    Fixed PlayerUtils titleWithSubtitle method title and subtitle using same ChatMessage object
    16 downloads
  21. 1.2.7Fixed bugsJul 28, 2021
    Fixed EzInventory Dynamic Inputs bug: only add one item stacks
    3 downloads
  22. 1.2.6Made storage file deletableJul 28, 2021
    Made storage file can be delete. Because I forgot close FileReader so file cannot be delete before 1.2.6
    5 downloads
  23. 1.2.5Fixed EzInventory bugsJul 28, 2021
    Fixed EzInventory dynamic inputs bugs
    5 downloads
  24. 1.2.4Add more methodsJul 28, 2021
    Add more methods for developer
    3 downloads
  25. 1.2.3No new features was addedJul 28, 2021
    Just fixed some bugs and add some new methods. New features in next big version
    6 downloads
  26. 1.2.2Fixed NPC Click bugsJul 27, 2021
    Now right click a npc will only called once not four times or twice
    21 downloads
  27. 1.2.1Fixed drop bugJul 27, 2021
    I don't know why I upload this file yesterday and update to 1.2.1 But today, I just want to upload 1.2.2, I just found EasyAPI version is 1.2.0, I don't know why
    4 downloads
  28. 1.2.0Fixed NPC drop bugJul 26, 2021
    Fixed dropped NPC but player still can see the npc
    14 downloads
  29. 1.1.6Holograms!Jul 25, 2021
    Now! You can create hologram text with EasyAPI! import class: org.ezapi.module.hologram.TextHologram! It's easy to understand! Only need text ChatMessage, world and location! (I just found that I forget upload 1.1.6 file to spigotmc.org)
    14 downloads
  30. 1.1.5Fixed bugs on 1.17 serverJul 24, 2021
    Fixed ArgumentAttribute bugs on 1.17 server. Fixed ItemUtils turn ItemStack to JsonObject bugs on 1.17 server Please feedback bugs when you find a bug! I need it!
    13 downloads
  31. 1.1.4More features!Jul 24, 2021
    CommandAPI added more arguments support! ArgumentUUID, ArgumentNBTTag and ArgumentParticle ArgumentEntityType has been rewrote to avoid spawning items that shouldn't appear in the world You can set player's item cooldown and let a player see a block break stage to a specified value.
    13 downloads
  32. 1.1.3Removed useless methodsJul 24, 2021
    Times in title cannot be used on actionbar, so PlayerUtils removed actionbar methods with fadeIn, stay and fadeOut
    16 downloads
  33. 1.1.2Fixed bugsJul 24, 2021
    Fixed cannot send message in 1.17 caused by wrong package name
    13 downloads
  34. 1.1.1Renamed some methods! PLEASE UPDATE!Jul 22, 2021
    Rename "clear" in PlayerUtils to "clearTitle", Rename "reset" in PlayerUtils to "resetTitle", Add method hasOnlineAccount(Player) in PlayerUtils to check if player has a online account. If player has a online account, you can use getOnlineUUID(Player) in PlayerUtils to get player online account uuid on offline server. You can clear player's skin with method "resetSkin" in PlayerUtils, if player has online account, his skin will be set to his online account skin, or else steve or alex. You can use method "syncSkin" in PlayerUtils to make people who has online account to show their online skin on offline server
    19 downloads
  35. 1.1.0EasyAPI big upgrades!Jul 22, 2021
    Now EasyAPI PlayerUtils has a big upgrades! You can send title, subtitle, actionbar message in PlayerUtils! You can also set player skin! Attention: You can only set a online player skin to the other player, no matter the other player has online minecraft account or not
    12 downloads
  36. 1.0.8New featuresJul 20, 2021
    Send title, subtitle, actionbar in PlayerUtils! And fixed EzClass bugs: If invoked methods returns void, method won't be invoke
    19 downloads
  37. 1.0.7Fixed DrawSetting clone()Jul 20, 2021
    Fixed when use draw setting clone() method If modified item stack after and item stack comes from a player's inventory, the item stack in player's inventory also will be modified
    25 downloads
  38. 1.0.6Updated Inventory APIJul 20, 2021
    Now draw setting can clone a item so you don't need set item data too much times!
    20 downloads
  39. 1.0.5Fixed some bugsJul 19, 2021
    (UTC-8) Today's final version If has more bugs I will fix it tomorrow
    19 downloads
  40. 1.0.4Fixed multi language apiJul 19, 2021
    Fixed multi language api caused when send message, plugin cannot get player client language and send right language message, then send en_us language message
    14 downloads
  41. 1.0.3Language Manager rewroteJul 19, 2021
    Fixed language manager reload problems
    13 downloads
  42. 1.0.2ItemUtils fixedJul 19, 2021
    Fixed if you turn a item stack to json object, then turn it back, will throw a exception because I forgot remove a "," in an array.
    17 downloads
  43. 1.0.1Fixed command register bugJul 19, 2021
    Fixed cannot register multi commands to a same prefix (Because registered command map used Map<String,EzCommand> not Map<String,List<EzCommand>> so registered command is replaced by new command Command executor register is after server loaded so caused bugs
    15 downloads
  44. 1.0.0Jul 19, 2021
    13 downloads

Similar projects

Plugin →