CommandShortcuts
![]()
GitHub:
IMPORTANT: This plugin is in early stages of release and is only confirmed to work with commands that require no parameters. (E.g. /kill)
Using CommandShortcuts:
1. Run the plugin with your server once for the plugin folder and files to be created. (On first run the command "/s" will be available, standing for /save-all)
2. Stop the server.
3. Open the commands.yml and type the command shortcut you want with this format (commandshortcut|actualcommand|usage|consoleallowed|playerallowed|)
Command Shortcut: the name of the shortcut command (No slashes)
Actual Command: the actual name of the command (No slashes)
Command Usage: just the command name right now (don't use <player>)
Console Allowed: Can the server console use this shortcut? (yes = console, no = blank)
Player Allowed: Can players use this shortcut? (yes = player, no = blank)
Examples of Commands
s|save-all|s|console|player|
suicide|kill|suicide||player| (This command wouldn't work for a server!)
rainaway|toggledownfall|rainaway|console|player|
bye|stop|bye|console|player|
4. Run the plugin with your server once again. (Generates the plugin.yml file in the plugin folder)
5. Open the jar file like a zip folder with a program such as WinRAR and replace the plugin.yml file in the jar with the one in the plugin folder. Google opening jar files if you can't figure it out.
6. The command shortcuts have been configured; the next time you run your server the command shortcuts will work.
Important things to watch for:
- Make sure your command shortcut doesn't conflict with the command name of any other plugins!
- Check that you have formatted the commands.yml file correctly (It is used during plugin runtime to cycle through commands)
- Ensure that on first run the example command /eg works (It is preconfigured)
- Certain parts of the commands.yml can be changed even during runtime (/reload is not used): green = yes red = no
commandshortcut|actualcommand|usage|consoleallowed|playerallowed|
If you have problems PM me.
Comments and feedback are always welcome!
-
View User Profile
-
Send Message
Posted Jun 9, 2014never mind sorry for the problems i didn't get the whole thing seems to be working fine now sorry about that
-
View User Profile
-
Send Message
Posted Jun 9, 2014Hey I'm trying to make a cop kit with the kits plugin. I tried typing in this Cop|kit Cop|Cop||player| and when i type in /Cop it says Unknown Command. Type in "/help" for help. Please tell me if I'm doing something wrong? Or if its just broken for some reason.
-
View User Profile
-
Send Message
Posted Dec 27, 2013@johenkel
Sorry for the late reply, I am working on redoing this entire plugin, because I have learned a lot about bukkit since then. The plugin should work in all versions of bukkit as far as I am aware.
-
View User Profile
-
Send Message
Posted Nov 17, 2013First of all, thanks for your cool plugin !!
A quick question, what do I do with the two other lines on a sign when I only have one command ?
I always get the system output : "unknown command" for every empty line.
Any idea ? Is there maybe a placeholder or something ?
Thanks,
johenkel
-
View User Profile
-
Send Message
Posted Aug 8, 2013@Djimusic
Ok, tell me if you see any issues. I am releasing an update that should fix this problem specifically.
-
View User Profile
-
Send Message
Posted Aug 7, 2013I, like BiweGas am not getting the commands.yml file. I will look at the source to try and get it to work.
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Zalko33
You're using the incorrect format! :)
The command should be:
Zalko|OpHelp Zalko Help!|Zalko||player|
Because the space for console needs to be shown, otherwise it'll just prevent the command from working. Also, make sure you are placing the plugin.yml file into the jar.
I'm also going to be releasing an update soon that will open up more options, and a potential sneak peek at a minigame I'm working on.
-
View User Profile
-
Send Message
Posted Aug 5, 2013I need a little help. I want my players to use command /Zalko instead of /ophelp Zalko <reason>. I put this in commands.yml and it doesn't work...
Zalko|OpHelp Zalko Help!|Zalko|player|
It just says -Unknown command. Type "help" for help.- I would be glad if you would reply, thank you! ;)
-
View User Profile
-
Send Message
Posted Aug 5, 2013@BiweGas
Hmm, I'll look into it.
Are you using version 1.6? Try deleting the CommandShortcuts folder.
-
View User Profile
-
Send Message
Posted Aug 5, 2013i get plugin named in wtf.txt/plugins/CommandShortcuts
-
View User Profile
-
Send Message
Posted Aug 5, 2013@BiweGas
Go to your plugins folder and open the CommandShortcuts folder. In there should be the commands.yml file, tell me if it isn't.
-
View User Profile
-
Send Message
Posted Aug 4, 2013there are no commands.yml for me