I really need help with my plugin and I wasn't sure on which forum to post this on, please help me!:
I can't figure out how to have commands with spaces because it doesn't work with spaces, but if you do know a way without having aliases or other extra plugins (eg: Simple Aliases) please tell me.
So I figured out that I could use aliases, I did it and it works for the first command but not the other two and for the other two if I type /server rules or /server staff it says unknown command : btw I but doesn't matter because I didn't want people to copy my plugin
And I don't need to show you my actual code because i know it's right. My plugin.yml:
you'd be best off over on the bukkit forum, the guys there know programming of plugins and will be able to help you alot more.
gonna lock this as your in modded support, not bukkit plugin development.
I can't figure out how to have commands with spaces because it doesn't work with spaces, but if you do know a way without having aliases or other extra plugins (eg: Simple Aliases) please tell me.
So I figured out that I could use aliases, I did it and it works for the first command but not the other two and for the other two if I type /server rules or /server staff it says unknown command : btw I but doesn't matter because I didn't want people to copy my plugin
And I don't need to show you my actual code because i know it's right. My plugin.yml:
name: (doesn't matter)
author: (doesn't matter)
version: (doesn't matter)
description: (doesn't matter)
main: (doesn't matter)
commands:
command1:
aliases: [server info]
description: A test1
command2:
aliases: [server rules]
description: A test2
command3:
aliases: [server staff]
description: A test3
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-
View User Profile
-
View Posts
-
Send Message
Moderatorgonna lock this as your in modded support, not bukkit plugin development.