Command Aliasing of Existing Plugins
Hey so I'm using the Marketplace plugin by fabien91 and I'm configuring it to my server.
I would like to change up some of the commands the plugin currently has to the following:
/mp - Open the listings menu (Currently done by /mp listings)
/mp sell [price] - Sell the currently held item (Currently done by /mp add [price])
Is there any way to do this? Thanks.
9 Replies
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 litning11#0
BukkitWiki
Commands.yml
commands.yml is a configuration file that houses custom defined aliases and command block overrides for your CraftBukkit server.
The command block override system provides a quick and easy way to force the server to use the commands provided by Mojang (as opposed to the ones built into Bukkit) for command blocks specifically, leaving all other c...
Does this work with commands with arguments? such as /mp sell as you need to specify a price
yes read it
So I have it set up like this but it doesn't work, any idea why?
No errors or anything, just wonr work
I dont think bukkit allows the alias to be multiple words long
Although I could be wrong
But mpsell might work instead of mp sell
@Litning11
Yeah I looked into it and I think im right
U can't have multiple words as a alias
It has to be like mpsell
So no spaces
should probably use $$1- btw
Okay I'll try those, thanks guys