Spigot Plugin Development - 55 - Menu Manager System

  Рет қаралды 15,777

Kody Simpson

Kody Simpson

Күн бұрын

Пікірлер: 57
@ItsCre3per
@ItsCre3per 7 ай бұрын
This man's knowledge of the Spigot API is insane. These tutorials are so helpful.
@KodySimpson
@KodySimpson 7 ай бұрын
Glad you like them! Appreciate it
@YourHomieJC
@YourHomieJC 4 жыл бұрын
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
@KodySimpson
@KodySimpson 4 жыл бұрын
Thanks :D
@trashcanolives3139
@trashcanolives3139 4 жыл бұрын
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
@KodySimpson
@KodySimpson 4 жыл бұрын
Thanks!
@Foyleth
@Foyleth 2 ай бұрын
💯 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.
@frostic2963
@frostic2963 4 жыл бұрын
you have been doing this for SOOO long. thank you for staying with us and helping bro
@KodySimpson
@KodySimpson 4 жыл бұрын
More to come!
@Pzdrs
@Pzdrs 4 жыл бұрын
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
@KodySimpson
@KodySimpson 4 жыл бұрын
lmao thanks
@TheAmmar918
@TheAmmar918 4 жыл бұрын
Looking forward to the next video with the menus having pages.
@KodySimpson
@KodySimpson 4 жыл бұрын
Just got back to Dallas, video coming soon.
@CursedSKG
@CursedSKG 4 жыл бұрын
This series has helped me out a lot, thanks for making these videos.
@KodySimpson
@KodySimpson 4 жыл бұрын
Glad you like them!
@Creatos
@Creatos 4 жыл бұрын
This is an amazing video! Please keep making advanced spigot tutorials like this. Do you have an arena/map system?
@KodySimpson
@KodySimpson 4 жыл бұрын
Thanks for the support, I haven't played around with that stuff yet
@peperle
@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-p7i
@JamesAlfred-p7i 6 ай бұрын
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.
@tomashula2779
@tomashula2779 4 жыл бұрын
Nice video and serie! Love it. Also, what about command confirmation video?
@NeilBooth
@NeilBooth 3 жыл бұрын
Thanks man great stuff
@ЕвгенийМатюнин-й3п
@ЕвгенийМатюнин-й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)
@knightsy3659
@knightsy3659 4 жыл бұрын
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?
@matej538
@matej538 4 жыл бұрын
what intellij theme do you use?
@KodySimpson
@KodySimpson 4 жыл бұрын
Gradianto
@vertigo1196
@vertigo1196 3 жыл бұрын
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_otis2134
@joker_otis2134 4 жыл бұрын
ty mr kody
@PlatypusPvP
@PlatypusPvP 4 жыл бұрын
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?
@PlatypusPvP
@PlatypusPvP 4 жыл бұрын
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
@H3artFang
@H3artFang 4 жыл бұрын
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 :)
@KodySimpson
@KodySimpson 4 жыл бұрын
I haven't tried that, you might need to use Packets for that if I'm not mistaken. Packet videos coming real soon
@H3artFang
@H3artFang 4 жыл бұрын
@@KodySimpson thank you so much for the response I shall look into this. And hopefully will get my custom ban plugin running soon ^^
@KodySimpson
@KodySimpson 4 жыл бұрын
@@H3artFang Good luck with it!
@JamesAlfred-p7i
@JamesAlfred-p7i 6 ай бұрын
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?
@_giovanni
@_giovanni 4 жыл бұрын
What keyboard do you use?
@abeyenoire
@abeyenoire 2 жыл бұрын
Hello ! What is your keyboard please ?
@HeyyItzCris
@HeyyItzCris 4 жыл бұрын
can you please do a tutorial to show custom items in chat? like [item] and it shows the tooltips
@KodySimpson
@KodySimpson 4 жыл бұрын
I might do something similar
@brendanbutters7588
@brendanbutters7588 4 жыл бұрын
Will this revolutionize the way I've been doing menus!?!?
@KodySimpson
@KodySimpson 4 жыл бұрын
100%
@helloworld8428
@helloworld8428 4 жыл бұрын
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
@KodySimpson
@KodySimpson 4 жыл бұрын
Experience
@helloworld8428
@helloworld8428 4 жыл бұрын
@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.
@sirgoldman
@sirgoldman 4 жыл бұрын
Nice video man!
@KodySimpson
@KodySimpson 4 жыл бұрын
Thanks!
@sirgoldman
@sirgoldman 4 жыл бұрын
You should make a Anti-Cheat series without using protocollib!
@thatsfinn
@thatsfinn 4 жыл бұрын
I feel like an anticheats would be extremely difficult but awesome to watch and learn!
@jaime7295
@jaime7295 4 жыл бұрын
Do u have a student licence for intellij or u pay by your self??
@KodySimpson
@KodySimpson 4 жыл бұрын
I have a student license
@thatsfinn
@thatsfinn 4 жыл бұрын
@@KodySimpson it was the best thing ever when I discovered that was a thing
@Lucas-mn4dl
@Lucas-mn4dl 4 жыл бұрын
Could you do the same for inventory? A kit system for example with a name, content, armor, it would be nice :)
@Lazaaaara
@Lazaaaara 3 жыл бұрын
OR When in doubt, throw a hashmap in the code
@craftly-minecraft5949
@craftly-minecraft5949 4 жыл бұрын
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!
@SanoKei
@SanoKei 4 жыл бұрын
I just wanted to say i love you. no homo...
@KodySimpson
@KodySimpson 4 жыл бұрын
love u more no homo
Spigot Plugin Development - 56 - Paginated Menus
36:28
Kody Simpson
Рет қаралды 13 М.
Advanced Bukkit Coding - Command Manager - Episode 21
18:12
{TheSourceCode}
Рет қаралды 11 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Inventory menus - Spigot Plugin Development (2022)
9:07
Worn Off Keys
Рет қаралды 11 М.
Rant: Entity systems and the Rust borrow checker ... or something.
1:01:51
Manage GUI - Spigot Plugin Development
24:15
Zwess
Рет қаралды 4,3 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 851 М.
Ep62. Animated GUI - Minecraft Plugin Development
22:24
Matej (kangarko)
Рет қаралды 2,2 М.
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 661 М.
Spigot Plugin Development - 44 - Custom Enchantments
45:49
Kody Simpson
Рет қаралды 24 М.
Retro MS-DOS Coding - Recreating the Iconic Award BIOS Screen
18:16
NCOT Technology
Рет қаралды 106 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН