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

Members online

Latest profile posts

AronTheLlama wrote on cldash's profile.
UwU
PaidInMoney wrote on Fesa's profile.
m.e.o.w
Zawuri wrote on MrASil8215's profile.
Thank you for the follow, have one back!
Top Bottom