Custom commands help

Hey, I'm using commands.yml and custom.txt with Essentials to do custom commands, its easy to create a custom command that just returns text like a link or such, but I'm not sure how I can make a custom command that makes the player enter a command directly instead of just showing them text, I know it's possible, just not sure of how, any help?
2 Replies
Torrent
Torrent4w ago
use the actual bukkit commands.yml for example
example:
- plugin command
example:
- plugin command
So if a player types /example it will make them run /plugin command
𝐁𝐢𝐪𝐮𝐚𝐭𝐞𝐫𝐧𝐢𝐨𝐧𝐬
https://gist.github.com/EvilSeph/8857251
aliases:
# Set the /give command to the Minecraft version
give:
- minecraft:give
# Set the /time command to the /time command provided by
# the plugin ScrapBukkit
time:
- scrapbukkit:time
# Set the /version command to the Bukkit version
version:
- bukkit:version
aliases:
# Set the /give command to the Minecraft version
give:
- minecraft:give
# Set the /time command to the /time command provided by
# the plugin ScrapBukkit
time:
- scrapbukkit:time
# Set the /version command to the Bukkit version
version:
- bukkit:version

Did you find this page helpful?