Spigot Plugin Development - 52 - Command Managers

  Рет қаралды 17,651

Kody Simpson

Kody Simpson

Күн бұрын

Пікірлер: 32
@happybavarian0755
@happybavarian0755 8 ай бұрын
really love this manager. this inspired me to make my own version of it in which i added some cool features and now i use it in almost all of my plugins and its so easy to use and to understand. still one of my favorite coding channels to date. hope you dont mind that i took inspiration? i can show you if you want and then you can judge
@AchyMake
@AchyMake 2 жыл бұрын
awesome you taking you're time making these videos, helped me alot to make some fun plugins
@dylanroberts6217
@dylanroberts6217 4 жыл бұрын
Something I thought of was to use a HashMap for a juicy O(1) time complexity. The String just stores the subcommand so you can use hashmap.get("KEY") to check if it's null or not, and then have access to the SubCommand object. :)
@SanoKei
@SanoKei 4 жыл бұрын
Thinking the same thing, glad you typed it out!
@jaime7295
@jaime7295 4 жыл бұрын
Wow so much easier and cleaner than codesource's video xd
@nubdotdev
@nubdotdev 4 жыл бұрын
You should make SubCommand an interface, or actually implement the getters
@brendanbutters7588
@brendanbutters7588 5 жыл бұрын
Thx this will be helpful! Any plans on doing a vid regarding tab competition?
@KodySimpson
@KodySimpson 5 жыл бұрын
Could you maybe give me an example? Or if you could show me a plugin that has this feature
@brendanbutters7588
@brendanbutters7588 5 жыл бұрын
Kody Simpson off the top of my head LuckPerms I believe has this feature where you can click tab to cycle/complete cmd args and I think essentials has it for some cmds like /home or /warp where you can cycle through the warps or homes.
@KodySimpson
@KodySimpson 5 жыл бұрын
@@brendanbutters7588 Interesting! Thanks, I'll take a look
@Braekpo1nt
@Braekpo1nt 3 жыл бұрын
Super helpful, thank you!
@KodySimpson
@KodySimpson 3 жыл бұрын
Glad it was helpful!
@Bl0xxy
@Bl0xxy Жыл бұрын
How do I make a SubCommand to a SubCommand?
@DoDisturbedTv
@DoDisturbedTv 4 жыл бұрын
Is it possible to do something like this for multiple commands that may not necessarily need sub commands? Or would i need to make a class similar to the commandmanager multiple times. A plugin I'm working on is getting very messy with all my commands being in one class. Probally over thinking this but it would be helpful if anyone can point me the right direction.
@perosinalmc7143
@perosinalmc7143 3 жыл бұрын
can u even have two different commands in one class??? how do u…nvm
@scyye-gaming
@scyye-gaming 2 жыл бұрын
@@perosinalmc7143 switch-case blocks on the command ran
@Alexxxychep
@Alexxxychep 5 ай бұрын
​@@scyye-gamingpractically no oop
@yayer_27
@yayer_27 3 жыл бұрын
that's so cool
@THBeatZz
@THBeatZz 4 жыл бұрын
whats the song name playing in the intro kody?
@KodySimpson
@KodySimpson 4 жыл бұрын
No idea
@infini667
@infini667 3 жыл бұрын
darude - sandstorm
@tweetyguy7347
@tweetyguy7347 Жыл бұрын
Bro thought he was coding in c++ for a second 13:25
@KodySimpson
@KodySimpson Жыл бұрын
lol
@delected
@delected 5 жыл бұрын
damn ty
@dominocoding
@dominocoding 5 жыл бұрын
I suggest telling what does the topic mean, like in this video, there are some beginners don't even know what does sub-command mean, so I suggest saying what does the thing you're talking about and making a Toturial about mean and what does it benefit and help us in. On the first of the video.
@KodySimpson
@KodySimpson 5 жыл бұрын
I do explain subcommands in the beginning of the video, but this is episode 52, so I do expect a level of understanding at this level. Thank you for the input
@9kmusic201
@9kmusic201 5 жыл бұрын
He did explain what sub-command is, and if you are a beginner/somebody else he/she should watch from episode 1 as kody metioned
@dominocoding
@dominocoding 5 жыл бұрын
@@9kmusic201 so sub-command is the name of the normal spigot plugin? Or something else?
@9kmusic201
@9kmusic201 5 жыл бұрын
iiH7oussaM_ Gaming sub command is what comes after the command for example /spawn diamond - /spawn is the command and diamond is the sub command
@dominocoding
@dominocoding 5 жыл бұрын
@@9kmusic201 what's the video that contains the explanation of it?
@ijustleyxo609
@ijustleyxo609 2 жыл бұрын
I suggest just passing on the CommandSender, Command, String label, and args[] directly from the parent command...
Spigot Plugin Development - 53 - QuarterMaster Part 6
39:25
Kody Simpson
Рет қаралды 2,9 М.
Ep17. Libraries & APIs (ADVANCED) - Minecraft Plugin Development
29:47
Matej (kangarko)
Рет қаралды 7 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
Minecraft Clone in C++ // Code Review
40:29
The Cherno
Рет қаралды 357 М.
Spigot Plugin Development - 5 - Commands Part 1
14:39
Kody Simpson
Рет қаралды 46 М.
Advanced Bukkit Coding - WorldGuardAPI - Episode 11
13:52
{TheSourceCode}
Рет қаралды 13 М.
Easily make ANY minecraft minigame plugin with these simple tricks
16:14
Jordan Osterberg
Рет қаралды 45 М.
Ep6. Settings (Custom Config Files) - Minecraft Plugin Development
17:58
Ep19. Packets & ProtocolLib (ADVANCED) - Minecraft Plugin Development
25:59
Two Simple Tricks to Develop Plugins Faster
15:44
Jordan Osterberg
Рет қаралды 18 М.
Ep60. Custom Annotations - Creating A Command Framework With Reflection
19:40
Minecraft Plugin Tutorial (in Kotlin) | Project Setup
12:22
Legitimoose
Рет қаралды 121 М.
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН