Minecraft PC IP: play.cubecraft.net
Status
Not open for further replies.

olsyboy

Well-Known Member
Jun 13, 2015
215
62
103
I want a new /help page, mainly to make it easier to change this page between OPs and members,

thanks
 

alyphen

Well-Known Member
Jan 4, 2014
101
109
118
29
127.0.0.1
seventh-root.com
If you simply want to override it, stick help as a command in your plugin.yml as you usually would, and add a HelpCommand class that implements CommandExecutor. Then just call getCommand("help").setExecutor(new HelpCommand()); from your onEnable method and override the onCommand method in your HelpCommand class - then you can give it any behaviour you want. Plugins are prioritised over Bukkit & Vanilla commands where they exist.
 
Status
Not open for further replies.
Members Online

Team online

Latest posts

Latest profile posts

Daily Question 161.

What is your favourite plant/flower?
Kazwa wrote on Quiet sugerCHN🇨🇳's profile.
happy birthday!
NEWS:
1 - Chicken Jockey Buddy released yesterday
2 - Bundle and Maps Notion post has been updated to change emojis from a Monkey to a shush face emoji
1751948379021.png
Top Bottom