other command name
efor89 opened this issue · 3 comments
hi i use essentialx invsee and ec for my players.
but i looking for a invsee plugin for offline player that my team can look in the inv.
i see your comment on spigotmc that you do this plugin for admins.
so my question can you change the commandname from /invsee to /invseeplus
and if /ec is a command to /ecplus?
that my players can use the essentialsx /invsee /ec cmd for normal use and my team can use /invseeplus and /ecplus?
or a config option to set the commands name to what i want or that i can remove the /invsee /ec command and only use the alias commands?
that it dont overwrites the essentialsx invsee and ec command
You can use Bukkit's command.yml to do this.
command.yml is only for alias not for remove a command name from a plugin so i cant use your plugin.
i use essentialsx /invsee and your plugin overwrite the command.
but essentialsx dont have invsee for offline player thats why i ask you to change it that i have a invsee plugin only for my admins.
i try to change it by my self but i cant build it with the pom.xml
It seems you don't understand aliases. The full commandname is 'invseeplusplus:invsee', you can create the alias 'invseeplus' for that one. 'invsee' is just an alias. If the 'invsee' alias still refers to 'invseeplusplus:invsee', you can make an entry in the commands.yml to make it refer to 'essentialsx:invsee'. See: https://bukkit.fandom.com/wiki/Commands.yml.
As for compiling the plugin; if you can't manage to do it, you can fork the repository, make your change, and let CI do it for you.