[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

    narrowtux

    Shortcuts
    Version 0.2.6​
    Download
    Shortcuts.jar
    Source code
    Donate
    Features
    • 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.
    Usage
    • 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
    Changelog
    Version 0.2.6
    • Updated for NarrowtuxLib.
    View the whole changelog
    Video


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

    Todo
    • Add an update command
     
  2. Offline

    thepackett

    i like bukkitpermissions support but...
    where are the nodes...? .-.
     
  3. Offline

    narrowtux

    Ooops, the only permission node is showcuts.use
     
  4. Offline

    thepackett

    lol xD
    thanks~
     
  5. Offline

    RGadelha

    Hey @narrowtux
    When I press T, for typing commands or to say something and when I type the letter assigned to a shortcut command, Shortcuts interprets it like I am calling the command assigned to that letter. It's unacceptable, please fix this!
    It's not doing that right now but it did:rolleyes:
     
  6. Offline

    narrowtux

    Shortcuts should ignore keys that are already assigned to basic minecraft actions like moving, chatting, opening the inventory...
     
  7. Offline

    RGadelha

    OK, that's awesome, but that's not what I meant, let me explain myself better:
    I've assigned "m" for TooManyBuckets (m -> /tmb), right? When I type "t" to chat and in the chat box I try to type some word that has "m" in it, like "Hi, my friend", in the exact moment I press "m" TooManyBuckets GUI appears.
    Is that a way to fix it?

    To be honest, it's not happening right now but it did sometimes :confused:
    Edit:
    Maybe you fixed this in version 0.2.1 of TMB or is it Shortcuts v0.2.5 fault?
     
  8. Offline

    narrowtux

    Hmm. I have fixed that, but I'm not sure if that's uploaded...
     
  9. Offline

    novek

    Great plugin... thanks this i switched now to spoutcraft. Thank you, i like all your plugins.
     
  10. Offline

    DV8FromTheWorld

    I know its been a while since you posted this comment, but there is a mod that lets you view chat history (IE: scroll up) called Improved chat. Might want to take a look into it. http://www.minecraftforum.net/topic/123409-v173-wdmods-creepers-sneak-and-chat/ Also, i recommend this mod pack: http://www.voxelwiki.com/minecraft/Modpack because it contains ALOT of useful mods including Zombe Mod Pack, Improved Chat, and a Mini map. Comes with mod loader so it installs it all for you. Cheers!
     
  11. Offline

    RGadelha

    If you install a mod in minecraft besides Spoutcraft, Spoutcraft will break :rolleyes:
     
  12. Offline

    Zarius

    Thanks for that - I've noticed that SpoutCraft has supported this (chat history/command history) for a while now though, so I'm good :)
     
  13. Offline

    narrowtux

    Spoutcraft implements all of Improved Chat's features already, no need to install it!
     
  14. Offline

    novek

    Not really. Some features are missing (Pos1/End), other features (like the implemented shortcut functions don't work or save). Thats the reason why i've installed your shortcuts plugin on our server.
     
  15. Offline

    narrowtux

    Pos1 and End works!
    Shortcuts were not developed further because I created this plugin :D After that, @Afforess recommended using this instead of his implementation. However, an advanced, built-in shortcuts system will come to Spoutcraft. It will work like that: A plugin registers an action with a default key, this information is sent to the client. In there, you (the user) can change the shortcuts yourself!
     
  16. Offline

    hnrch02

  17. Offline

    narrowtux

    Yes, I was on the go and too lazy to answer :D
    Great idea, though!
     
  18. Offline

    DV8FromTheWorld

    Even tho this may be true, no client-side mods are compatible with spoutcraft, so i cant use things like zombe and other mods that i enjoy. I would switch to spout craft if almost ALL of the things offered from client side mods were in spoutcraft, but it just isn't a big enough thing yet and hasn't been expanded to its full potential yet. In the future i made install it tho, we will just have to see :)
     
  19. Offline

    narrowtux

    Release v0.2.6
    • Update for NarrowtuxLib refactoring.
     
  20. Offline

    novek

    Sorry my fault, updated Spout 227 build to 339 now. Sorry for disturbing.

    After i updated Shortcuts i get following error-messages. (I've updatedt because Shortcuts stopped working today. Do you updatedt NarrowTuxLib automatic?).

    Plugin Versions:
    • Shortcuts 0.2.6.4
    • NarrowtuxLib 0.7.10 <- The new one?
    • Spout 1.0.5.227
    Now i get this message on start/reload:

     
  21. Offline

    AriesT

    Good work..

    What about multilanguage support?
     
  22. Offline

    arxxis

    I really like the plugin but the settings do not seem to persist on a server restart. I check some of the files it writes to and those still look correct however after a server restart they no longer are in effect and I have to resetup everything. This is not the first plugin this has happened on so this maybe an issue with 1.8.1 in general and or bukkit but figured I would mention this in case there is something you can correct or change about your plugin. Everything else about the plugin works just fine.
     
  23. Offline

    novek

    I love this plugin, is it CB1185 compatible?
     
  24. Offline

    jungalist81

    This is a very helpful plugin thanks Narrowtux.

    Now, will we be getting an upgrade on this plugin? I got a server error for 1185
     
  25. Offline

    AriesT

    CB1185
    Spout 397

    11:11:11 [INFO] [Shortcuts] failed to enable spout! You need spout!
    11:11:11 [INFO] [Shortcuts] v0.2.6.4 by [narrowtux] enabled.
     
  26. Offline

    flap

    Code:
    2011-09-30 18:15:59 [SEVERE] Error occurred while enabling Shortcuts v0.2.6.4 (Is it up to date?): null
    java.lang.NullPointerException
        at com.narrowtux.shortcuts.ShortcutsMain.checkForLibs(ShortcutsMain.java:108)
        at com.narrowtux.shortcuts.ShortcutsMain.onEnable(ShortcutsMain.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    CB #1185
    Spout 1.0.6.403
     
  27. Offline

    cwingrav

    I'm getting the exact same as flap, with exactly the same setup. Really enjoying this plugin though.

    Show Spoiler
    2011-09-30 13:56:59 [SEVERE] Error occurred while enabling Shortcuts v0.2.6.4 (Is it up to date?): null
    java.lang.NullPointerException
    at com.narrowtux.shortcuts.ShortcutsMain.checkForLibs(ShortcutsMain.java:108)
    at com.narrowtux.shortcuts.ShortcutsMain.onEnable(ShortcutsMain.java:73)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)


    CB: #1185
    Spout 1.0.6.403

    Idea: Can we define server-side bindings? I.e. I don't want to have to have each client do this. I want the default to be 'l' lists their levelcraft levels.

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

    novek

    Shortcuts 0.2.6 works like a charm. But only if you installed it before 1.8.1 (CB 1185). A fresh clean install don't works! For this, it needs a update by Narrowtux! And Shortcuts wrotes on reloead/start:

    Code:
    11:11:11 [INFO] [Shortcuts] failed to enable spout! You need spout!
    We have the newest Spout... but the message don't have a effect. It works.
     
  29. Offline

    false_chicken

    I get the same.

    CB# 1240
    Spout 1.0.6.403
     
  30. Offline

    novek

    Do you updated your NarrowtuxLib?
     
  31. Offline

    narrowtux

    I consider this plugin inactive, because I implemented Shortcuts in spoutcraft already. It's a bit easier to create shortcuts with it.
     

Share This Page