Thatsmusic99 / HeadsPlus-Archived

A Minecraft heads plugin with many different features that make it unique in multiple ways.
https://www.spigotmc.org/resources/headsplus-1-8-x-1-12-x.40265/
MIT License
11 stars 6 forks source link

Better resource management, navigation options, fix 1.14 anvil search #32

Closed jascotty2 closed 5 years ago

jascotty2 commented 5 years ago

InventoryManager code cleanup

Thatsmusic99 commented 5 years ago

Good lord, you've been busy cleaning up some of the older, clunkier code for the plugin (considering this was originally my first plugin after all). Now I'm half annoyed at myself for just updating the plugin on Spigot... xD

Although I'll say now this is definitely impressive and a lot nicer on my eyes as well. Will run through the changes made and give it a few shots. Thank you as well for fixing that 1.14 anvil GUI too - there are a few things I have to test with it because in some versions it would close automatically for some reason. I did try and seek help from a fellow developer who had it working himself, but we didn't get that far.

But to sum this up... this is definitely a lot I can learn from, thank you again!

jascotty2 commented 5 years ago

No problem! Glad to help out :) I do like this plugin, but it was a bit clunkier than I liked xD

Also, whenever you get a chance, maybe make a repo for SpectateProtection? I made some fixes to get it working on my server, but I don't have a place to share it with you without sending the code via discord or a stash ;P

Thatsmusic99 commented 5 years ago

Yeah there are definitely still some areas I need to touch on. I think my next goal is to face my fears with reflection to cut down the plugin's size a bit when setting NBT tags, because setting the same code each time for each version is tiring. However I am a bit more experienced that I was before (it's mostly thanks to working with SimplePets as well so I could cover more areas in plugin development and learn from other developers).

I sure can - SP's one of my older side projects but I can definitely open a repo for that. I'll just need to find the project first and see if I need to clean it up at all...

Thatsmusic99 commented 5 years ago

Speaking of that I've already got to make a quick update to SpectateProtection - just a fix for the outdated API.

Thatsmusic99 commented 5 years ago

Alright for some odd reason, Github's not acting nice to me so I can't add the contents of the repo today. I'm not going to be surprised if this was the main reason why I couldn't get HeadsPlus's repo working correctly at first...

Thatsmusic99 commented 5 years ago

Or not. https://github.com/Thatsmusic99/SpectateProtection/

Have tested this pull request for anything that may need changing, but it's nothing too big, and it seems to work fine with the old icon symbols too. Thank you once again - you're godly!