This man's knowledge of the Spigot API is insane. These tutorials are so helpful.
@KodySimpson7 ай бұрын
Glad you like them! Appreciate it
@YourHomieJC4 жыл бұрын
It's so nice that you spend the time doing this, I hope developers will take this advice because there are still so many developers that just don't care much about the quality of their code
@KodySimpson4 жыл бұрын
Thanks :D
@trashcanolives31394 жыл бұрын
I was literally doing what you explained earlier. I had classes making each GUI and a giant listener with tons of switch statements. This really helps. Really thankful for this channel. Others cut off or try to squeeze tutorials down to 10 min. You get more view time, we get more content
@KodySimpson4 жыл бұрын
Thanks!
@Foyleth2 ай бұрын
💯 Thanks for this tutorial! I was about to create all of my menus in the way you showed how NOT to do it, and now with this I'll be able to significantly improve readability in the future when I have dozens of menus.
@frostic29634 жыл бұрын
you have been doing this for SOOO long. thank you for staying with us and helping bro
@KodySimpson4 жыл бұрын
More to come!
@Pzdrs4 жыл бұрын
ur literally more useful than all my java/c++ teachers why do we waste time in school when u can learn 10x faster and have fun at home
@KodySimpson4 жыл бұрын
lmao thanks
@TheAmmar9184 жыл бұрын
Looking forward to the next video with the menus having pages.
@KodySimpson4 жыл бұрын
Just got back to Dallas, video coming soon.
@CursedSKG4 жыл бұрын
This series has helped me out a lot, thanks for making these videos.
@KodySimpson4 жыл бұрын
Glad you like them!
@Creatos4 жыл бұрын
This is an amazing video! Please keep making advanced spigot tutorials like this. Do you have an arena/map system?
@KodySimpson4 жыл бұрын
Thanks for the support, I haven't played around with that stuff yet
@peperle Жыл бұрын
I'm just getting started with plugin development and I was actually using an Enum for my menus. I guess it's somewhat similar but I need to learn that interfaces are just superior and cleaner in a lot of cases.
@JamesAlfred-p7i6 ай бұрын
I know this video is old, but could you maybe explain or give me some helpful links / videos to what I would do if I wanted to create a menu that multiple people could access at once? Like a server loot box that everyone online can open and add/remove things from.
@tomashula27794 жыл бұрын
Nice video and serie! Love it. Also, what about command confirmation video?
@NeilBooth3 жыл бұрын
Thanks man great stuff
@ЕвгенийМатюнин-й3п5 ай бұрын
Wouldn't it be better to create a class (for example, MenuManager) in which there will be instances of all menu classes so instead of creating a menu object every time the player executes a command, the already created menu object in MenuManager would be used? + you can also create the inventory once in the constructor of the menu class, and not in the open() method, so as not to create a new inventory every time you need to open the menu with open() method. (sry for maybe bad english)
@knightsy36594 жыл бұрын
Can anyone else add items into the open spots of the menu from the players inventory while not being able to remove or take items from the menu?
@matej5384 жыл бұрын
what intellij theme do you use?
@KodySimpson4 жыл бұрын
Gradianto
@vertigo11963 жыл бұрын
I just watched this and it is great, one question, wouldn't it be better to add a hashmap with a string key and object value so you can pass unlimited amounts of objects between menus instead of having a dedicated method for each.
@joker_otis21344 жыл бұрын
ty mr kody
@PlatypusPvP4 жыл бұрын
Hey Cody! Thanks for the video man, I was trying so long to figure out how to create a more optimized menu system. One thing, I am getting a nullpointerexception in MenuListener when I click outside of the inventory. It is pointing to InventoryHolder holder = e.getClickedInventory().getHolder(); I have tried returning this if it is null and doing many other things, but it doesn't seem to work. Any ideas?
@PlatypusPvP4 жыл бұрын
I have if(e.getCurrentItem() == null) return; by the way. I figured that would check for outside of inventory clicks too but maybe I am wrong
@H3artFang4 жыл бұрын
Question: if i wanted to add specific inventory types. (say anvil), or hopper for example? you have anything coming for that? or am i forever lost in the void of google finding outdated tutorials on specific inventory types. Great video btw :)
@KodySimpson4 жыл бұрын
I haven't tried that, you might need to use Packets for that if I'm not mistaken. Packet videos coming real soon
@H3artFang4 жыл бұрын
@@KodySimpson thank you so much for the response I shall look into this. And hopefully will get my custom ban plugin running soon ^^
@KodySimpson4 жыл бұрын
@@H3artFang Good luck with it!
@JamesAlfred-p7i6 ай бұрын
I know this video is old, but could you maybe explain or give me some helpful links / videos to what I would do if I wanted to create a menu that multiple people could access at once?
@_giovanni4 жыл бұрын
What keyboard do you use?
@abeyenoire2 жыл бұрын
Hello ! What is your keyboard please ?
@HeyyItzCris4 жыл бұрын
can you please do a tutorial to show custom items in chat? like [item] and it shows the tooltips
@KodySimpson4 жыл бұрын
I might do something similar
@brendanbutters75884 жыл бұрын
Will this revolutionize the way I've been doing menus!?!?
@KodySimpson4 жыл бұрын
100%
@helloworld84284 жыл бұрын
Bro, this is brilliant. I'm wondering, when will I get this good to optimize my code this way. It just seems difficult (maybe Impossible) for me to come up with ways to optimize code. Any suggestions? :) - CoolProgrammer
@KodySimpson4 жыл бұрын
Experience
@helloworld84284 жыл бұрын
@Kody Simpson Thank you bro! Would I be capable of it? Because I myself think that I’m not confident and I’m dumb. I’ll try. I have another question. I made a per-player yaml file to store players rank and stuff. Is it a good idea to read player’s rank from the file every time the player chats? Or is there a way to cache stuff to make it more efficient? I’m very bad at this kind-of stuff. I’d love to have any suggestions.
@sirgoldman4 жыл бұрын
Nice video man!
@KodySimpson4 жыл бұрын
Thanks!
@sirgoldman4 жыл бұрын
You should make a Anti-Cheat series without using protocollib!
@thatsfinn4 жыл бұрын
I feel like an anticheats would be extremely difficult but awesome to watch and learn!
@jaime72954 жыл бұрын
Do u have a student licence for intellij or u pay by your self??
@KodySimpson4 жыл бұрын
I have a student license
@thatsfinn4 жыл бұрын
@@KodySimpson it was the best thing ever when I discovered that was a thing
@Lucas-mn4dl4 жыл бұрын
Could you do the same for inventory? A kit system for example with a name, content, armor, it would be nice :)
@Lazaaaara3 жыл бұрын
OR When in doubt, throw a hashmap in the code
@craftly-minecraft59494 жыл бұрын
Haii Kody Simpson super cool that you give us such nice plugin tutorials but I have a question for the following spigot coding video if you can make a bugg reporter (gui) and that the visitors can report a bugg but only owners / managers can see the report of the visitors. I would love that! I still hear from it, good luck!