Question about MyCommand plugin.

What I need to do is replace a plugins command with completely new unregistered command (so that it doesn't show up tab completer). For example i have a plugin Player Auctions, which uses mutliple command aliases, like /ah, /pa, /playerauctions, and more. And i need to replace all of those commands with a custom one using MyCommand plugin. How would i go on about it?
9 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by bambizo#0
Discount Milk
Discount Milk2y ago
Why are you doing this?
Gingish
Gingish2y ago
Solve this by denying the permission for the command by using permissions. This is not the intended purpose of mycommand
Bambizo
BambizoOP2y ago
So that players cant use the commands directly, but rather interacting with npc's. I can make a custom command that nobody will ever know exists and assign it to the npc But to do that, i need to understand how to fully replace the original plugins command with my custom one.
Discount Milk
Discount Milk2y ago
Just deny them permission to those commands :FrogeBIGEYES:
Bambizo
BambizoOP2y ago
Plugin specified command permissions?
Discount Milk
Discount Milk2y ago
Huh?
Bambizo
BambizoOP2y ago
when you say deny the permission to those commands, you mean the permissions that the plugin has, or the bukki/paper command permission?
Discount Milk
Discount Milk2y ago
Permission nodes are defined by the plugin that implements the commands.

Did you find this page helpful?