Command aliases.
I need to make an alias for a command that opens up a GUI, whats the best way to do this?
29 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 qvaras#0
commands.yml
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...
any idea for why this doesnt work?
does /classgui work?
and can you show the entire commands.yml
oh wait whoops its supposed to be /races classgui
can i add spaces to aliases?
alright /class works as a command now but it doesnt do anything
yes it does support spaces
have you restarted after changing it
yes
show your commands.yml
enclose it in ""
might work?
and can u show logs after u run /class
still doesnt work
and /races classgui works?
Yes
no clue then
Maybe try mycommand: https://www.spigotmc.org/resources/mycommand.22272/
I’ve been fooling with it for awhile and have gotten some things to work and some things I’m struggling through.
SpigotMC - High Performance Minecraft
MyCommand
(May or may not be trying to get you to do this so I can peep if it works for you or not)
doesnt seem to work for me
Use type: RUN_COMMAND instead of alias
this still doesnt work
Remove the space before permission-required
Save it
Try mycommand reload commands
that fixed it
Hell yea
You can also add the line register: true so it shows up white instead of red, but for this you will have to restart your server
will do
thanks
!solved
post closed!
The post/thread has been closed!
Requested by qvaras#0