CommandShortcuts

CommandShortcuts

CommandShortcuts

GitHub:

Click Here

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!

Check out CommandShortcut's sister plugin!

ChatShortcuts

You must login to post a comment. Don't have an account? Register to get one!

  • 10 comments
  • Avatar of Robotia Robotia Dec 27, 2013 at 20:18 UTC - 0 likes

    @johenkel: Go

    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.

    Common sense is not so common. BFAK:90863883,c02a44a0d4cc7440659a3118e2906a8aa12dcb5bdad6ad906ee7975062aec91c

  • Avatar of johenkel johenkel Nov 18, 2013 at 04:58 UTC - 0 likes

    First 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

  • Avatar of Robotia Robotia Aug 08, 2013 at 22:35 UTC - 0 likes

    @Djimusic: Go

    Ok, tell me if you see any issues. I am releasing an update that should fix this problem specifically.

    Last edited Aug 08, 2013 by Robotia
  • Avatar of Djimusic Djimusic Aug 08, 2013 at 03:01 UTC - 0 likes

    I, like BiweGas am not getting the commands.yml file. I will look at the source to try and get it to work.

  • Avatar of Robotia Robotia Aug 06, 2013 at 16:58 UTC - 0 likes

    @Zalko33: Go

    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.

    Last edited Aug 06, 2013 by Robotia
  • Avatar of Zalko33 Zalko33 Aug 06, 2013 at 05:03 UTC - 0 likes

    I 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! ;)

    Last edited Aug 06, 2013 by Zalko33: I failed a name, typed a name of another admin, not mine :D sorry ^^
  • Avatar of Robotia Robotia Aug 05, 2013 at 19:03 UTC - 0 likes

    @BiweGas: Go

    Hmm, I'll look into it.

    Are you using version 1.6? Try deleting the CommandShortcuts folder.

    Last edited Aug 05, 2013 by Robotia
  • Avatar of BiweGas BiweGas Aug 05, 2013 at 16:17 UTC - 0 likes

    i get plugin named in wtf.txt/plugins/CommandShortcuts

    MyMinecraft Server

  • Avatar of Robotia Robotia Aug 05, 2013 at 12:56 UTC - 0 likes

    @BiweGas: Go

    Go to your plugins folder and open the CommandShortcuts folder. In there should be the commands.yml file, tell me if it isn't.

    Last edited Aug 05, 2013 by Robotia
  • Avatar of BiweGas BiweGas Aug 04, 2013 at 16:12 UTC - 0 likes

    there are no commands.yml for me

  • 10 comments

Facts

Date created
Aug 01, 2013
Category
Last update
Aug 08, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
CommandShortcuts
Downloads
1,466
Recent files

Authors