[GEN] Shortcuts v0.2.6 - Create Keyboard Shortcuts for Commands and chat messages [1060]

Discussion in 'Inactive/Unsupported Plugins' started by narrowtux, Jul 23, 2011.

  1. Offline


    Version 0.2.6​
    Source code
    • Create Keyboard Shortcuts for multiple command and chat messages
    • One Shortcut can consist of multiple keys
    • One Shortcut can summon multiple chat messages and commands
    • Uses Spout and Spoutcraft
    • Uses NarrowtuxLib as dependency
    • All dependencies are automatically downloaded.
    • Bukkit Permissions support
    • You can update a shortcut. That even includes setting a new shortcut for the contained actions.
    • Add a shortcut
      • Type /sh add
      • a nice assistant will show up!
      • Press the shortcut you want to use. It'll be displayed.
      • Type in multiple chat messages and commands.
      • Type !done to finish setup
      • When you don't want to create a shortcut, type !cancel
    • Remove a shortcut
      • Type /sh remove
      • Press the shortcut you want to remove
    • List your shortcuts
      • Type /sh list
      • Update a shortcut
      • Type /sh update
      • Press the shortcut you want to update
      • The same assistant which also creates shortcuts comes up.
      • Remove items with the !remove command
      • Add items like you're used to
      • Change the shortcut by simply pressing a new one.
      • Type !done
    Version 0.2.6
    • Updated for NarrowtuxLib.
    View the whole changelog

    The currently only node is "shortcuts.use". It uses Bukkits built in Permissions system.

    • Add an update command
  2. Offline


    There is an issue that won't let it start when you use the Spoutcraft launcher on Mac OS X Lion. However, I'm stick on Snow Leopard until my new Mac arrives (I think Wednesday).

    Sometimes rejoining the server helps.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  3. Offline


    I've down loaded this and i've tried to put it in my plugins folder and even put it in the .minecraft. I can't get it to work at all. If you could assist me that would be great
  4. Offline


    Hey, this plugin is great! I don't know what the API is for spout, and if this is possible yet with its GUI options, but can you add in buttons to the GUI for shortcuts? So, for example, you open up the inventory, and along the side is a bar of buttons that link to shortcuts. If you could put that in, I would love you forever.
  5. Offline


    I already worked on a spout GUI, but that's not finished yet. So I deactivated it.
  6. Offline


    Thank you very much!!!!! this is a F*****G awesome plugin, i love it :D
  7. Offline


    Okay, Thanks anyway, keep up with the good work.
  8. Offline


  9. Offline


    I'd like the 0.2.1 version since I stick with BukkitContrib due to personal modifications, where can I get the older version?
  10. Offline


    Think you will add a GUI for this eventually, an actual GUI i mean. :p Not that the chat concept is hard just asking is all.
  11. Offline


    I worked on it, it's not finished yet.

    Click on the link "Show the whole changelog" in the first post. You can download every older version there.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  12. Offline


    are there any permission nodes?
  13. Offline


    shortcuts.use, currently. This uses Bukkit's built in SuperPermissions.
    flap likes this.
  14. Offline


    Very nice Plugin. I just tested it with some Worldedit commands. It works fine if you do not restart the Server or reload the Plugin.

    Your Script removes all leading slashes from the command but the commands like //move need 2 slashes.
    Maybe it will work if you replace the two occurrences of

    cmd = cmd.replaceAll("^/", "");


    cmd = cmd.replaceFirst("^/", "");
  15. Offline


    sadly, this won't work, the pattern "^", already just replaces the very first slash in the text, while replaceFirst("/") would replace a slash anywhere in the text.
    I will test this so it works with WorldEdit commands.
  16. Offline


    can u add variables ? like when i write {1} it will be 1 more each time i use the cmd ? would be really helpful for protections
    narrowtux likes this.
  17. Offline


    Yeah maybe I add a predefined set of variables. Including current worldname, Playername, targetted player/entity, globally incrementing value and such.
  18. Offline


    are these shortcuts only for the play who set them?
    That would be a nice feature ^
    But if its not than this is still awesome.

    command=SpoutCTPN reload
    22:13:49 [WARNING] Failed to handle packet: java.util.ConcurrentModificationException
        at java.util.TreeMap$PrivateEntryIterator.nextEntry(Unknown Source)
        at java.util.TreeMap$KeyIterator.next(Unknown Source)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:336)
        at org.getspout.spoutapi.packet.PacketKeyPress.run(PacketKeyPress.java:59)
        at org.getspout.spout.packet.CustomPacket.a(CustomPacket.java:99)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:435)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  19. Offline


    Yes, you can only see the shortcuts you created.
    EMOberger likes this.
  20. Offline


    could you please help me, when ever i download it i get a zip file which is normal so i extract it but when it is extracted it it dont give me a .jar file it gives me like META-INF folder, com folder and a plugin.YML notepad thing
    nvm i got it to work thanks for the great pluggin
  21. Offline


    can it be used to make up and down arrows in chat to rotate though previous commands?
  22. Offline


  23. Offline


    Seems you have a spout problem.

    Spoutcraft already does that.

    Stop your winrar opening jar files automatically.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  24. Offline


    i added this plugin to my server and it every time i try to enter my server it keeps on saying end of stream. my server work perfectly fine before i added this plugin
  25. Offline


    Update to Spout v1.0.2
  26. Offline


    every time i try to do /sh add it always says You need spout craft! i already have spout craft downloaded and spout downloaded
  27. Offline


    Spoutcraft is a client mod. The easiest way to install it is via the Spoutcraft Launcher.
  28. Offline


    Hi is there anyway that i can use this plugin on just the client side having to use spoutcraft just to get this to work on only the server i run plus if other players wanted to use this as well they'd have to download spoutcraft aswell while it does come with some really nice features i just want to be able to assign my commands to certain keys and still beable to run zans minimap and the worldedit cui properly is there a work around for this or maybe some other suggestion?
  29. Offline


    Spout will have a client API very soon, with that, Zans Minimap will be possible as an addon. I don't have so much experience in modifiing the client, but when I do Spoutcraft development :D.
    I'll provide a clientside addon of this when the SpoutcraftAPI is done.
  30. Offline


    Could you provide CraftBukkitUpToDate support?
    grinch843 likes this.
  31. Offline


    This plugin is epic. I think it would be more epic when you add a feature which replaces a tag with the name of the player you are looking at. So if you add a shortcut for the message 'Welcome {player}' then it would take the name of the player you're looking at and replace the {player} with it.

Share This Page