How would I make it so that when /plugins or /pl command was run it would actually carry out /help?
MyCommand is capable of doing this.How would I make it so that when /plugins or /pl command was run it would actually carry out /help?
Include your commands.yml file here in a pastebin or code snippet and I'll do that for you.
I don't know the exact format off the top of my head, but if I have the one example in the file, I can get it setup.
# This is the commands configuration file for Bukkit.
# For documentation on how to make use of this file, check out the Bukkit Wiki at
# http://wiki.bukkit.org/Commands.yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/
# Bug tracker: http://www.spigotmc.org/go/bugs
command-block-overrides: []
aliases:
icanhasbukkit:
- version $1-
'plugin':
command: /plugin
type: ALIAS
alias: /help
# This is the commands configuration file for Bukkit.
# For documentation on how to make use of this file, check out the Bukkit Wiki at
# http://wiki.bukkit.org/Commands.yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
# (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/
# Bug tracker: http://www.spigotmc.org/go/bugs
command-block-overrides: []
aliases:
plugins:
- help
pl:
- help
Thanks Man!Code:# This is the commands configuration file for Bukkit. # For documentation on how to make use of this file, check out the Bukkit Wiki at # http://wiki.bukkit.org/Commands.yml # # If you need help on this file, feel free to join us on irc or leave a message # on the forums asking for advice. # # IRC: #spigot @ irc.spi.gt # (If this means nothing to you, just go to http://www.spigotmc.org/pages/irc/ ) # Forums: http://www.spigotmc.org/ # Bug tracker: http://www.spigotmc.org/go/bugs command-block-overrides: [] aliases: plugins: - help pl: - help
Let me know if this works.
