Spigot Plugin Development - 8 - Command Arguments

preview_player
Показать описание
In this video, I show you how to process and work with command arguments for your Spigot plugins. Command arguments allow you to specify other information when running a command. #Spigot #SpigotPlugin

Want to Support the Channel?

My Socials:

More Videos coming soon.
Leave a comment for any future video suggestions.
Рекомендации по теме
Комментарии
Автор

Thank you, I've made minecraft plugins for years (also Java and Kotlin are the languages i use the most), and I literally forgot how to use arguments at all lmao, awesome vid, simple and useful.

veddy
Автор

Cool. I didn't know the String.stripTrailing() method

danil_
Автор

awesome tutorial... a very easy plugin example that can be used is a teleport plugin... you have inside it /rtp (random teleport), /tpa <player>, /tpa accept, /tpa deny and so on... it is a great first plugin that can be built as an example

aditusoferu
Автор

Any idea why my intellij don't have stripTrailing() method ? I doesn't suggest it and it marks it as an error.

The code is on JDK 1.8 and I am on Spigot 1.12.2. I 've tried trim() and it does work. Idk if it is the same as StripTrailing() lmao

Also, I really like your content, I've learned a lot since the first video on spigot

lexiolty
Автор

!!!Help!!!
How can I register command argument (i need to see available arguments)

wertyfire_
Автор

Why not use String.join(array[], “ ”)

Aneeta
Автор

4:35 i just return false to send the usage in plugin.yml

randomidiot
Автор

stripTrailing 只能在 Java 11 中使用,因此它与 Java 8 不兼容。作者犯了一个错误!

NewCraftNew