Plugin Request Shortcut Hotkey Buttons

Discussion in 'Plugin Help/Development/Requests' started by RanterMC, Jun 12, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    RanterMC

    Plugin category:
    Admin Tools


    Suggested name:
    CloudyModerator


    What I want:
    I want a special plugin for Moderators. So here's an example:

    [HKMB] User123: Hello world!

    So basically this HKMB is the thing that I want. So this letters are: Shortcut Hotkey Buttons. So yes, they're buttons, and it means, that if a Mod will click on a button, it will write a command, not perform it. Basically when a player writes something, it will always display this buttons before his nickname.

    What are these buttons for:

    B - it will automaticly write /ban User123
    M - it will automaticly write /mute User123
    K - it will automaticly write /kick User123
    H - it will automaticly write /history User123

    And the good thing of this plugin is that you don't have to type /ban and then try to type the nickname of the user.

    It would be awesome if it's possible to create a config where I can change the commands when clicking on the button, and also the buttons (like I don't want
    B, I want S for example). (Not necessary needed to change a button color).
    Important: When clicking on the button, it will only auto-write /ban User123 , not ban him automaticly. Same with other buttons.



    Ideas for commands:
    No commands.


    Ideas for permissions:
    cloudy.moderator - to allow Moderators to see these buttons.


    When I'd like it by:
    As soon as possible. For Monday I believe.

    So that's all the idea that I want, and if you haven't understand a part of it, please feel free to ask me to give a big and clear explanation of the plugin :)
    And I know that making this plugin is possible, because some servers where I were/am Staff on have these shortcuts and I was trying to find the plugin on Bukkit and Spigot for a long time and couldn't find it.

    Why "Cloudy"? - It's just a name of my server "CloudyNetwork", that's why ;)
     
    Last edited: Jun 12, 2015
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    RanterMC

    Sorry, what do you mean?
     
  4. Offline

    timtower Administrator Administrator Moderator

    @RanterMC That seems like /tellraw functionality but then placed into the chat.
    Code:
    "clickEvent":{"action":"suggest_command","value":""}
     
  5. Offline

    RanterMC

    And placing it into chat is by coding it or with a plugin or command?
     
  6. Offline

    nverdier

    @RanterMC Should only moderators see that prefix?
     
  7. Offline

    timtower Administrator Administrator Moderator

    Would require a plugin to not show it to everybody.
     
  8. Offline

    RanterMC

    Yes, and all of the Staff on my server (From Mod to Owner)

    Okay. Is there any plugin?

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 12, 2015
  9. Offline

    timtower Administrator Administrator Moderator

    Not that I know off.
     
  10. @RanterMC Seems a simple plugin, I'll look into it.
     
  11. Offline

    RanterMC

    Perfect, thanks ;)
     
  12. @RanterMC No problem. Decided to make this already. Download it here, config should be fairly self-explanatory. Permission is moderatorhotkeys.use

    Should work no problems but let me know if you have any issues.
     
  13. Offline

    RanterMC

    Thank you so much! I'll check it in a second and if I'll see any errors, I'll message you about it.
    Thank you again!

    13.06 01:23:24 [Server] INFO Disabling ModeratorHotkeys v1.0
    13.06 01:23:24 [Server] ERROR Error "bukalt" occurred. Please report this error log to the developer.
    13.06 01:23:24 [Server] INFO Enabling ModeratorHotkeys v1.0

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 13, 2015
  14. @RanterMC I'm sorry, I don't support Bukkit alternatives.
     
  15. Offline

    RanterMC

    Do you mean like this plugin is for Bukkit only?
    Like it doesn't support Spigot for example?
     
  16. Offline

    RanterMC

    Oh no problem, I can switch to bukkit :)
    I'll see if the plugin will work now..

    CraftBukkit 1.8 or 1.8.3 or whatever?

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 13, 2015
  17. @RanterMC That won't work either I'm afraid - it'll only work on official Bukkit released, and CraftBukkit 1.8 was actually made by other people and named incorrectly.
     
  18. Offline

    RanterMC

    Oh and where do I get the Official Bukkit?
     
  19. @RanterMC Unfortunately, you can't get it anywhere anymore.
     
  20. Offline

    RanterMC

    Oh and if I can't find it, like why do make this plugin for Official Bukkit since I can't get the right version of it?..
    Well, anyways thanks for the help, I do apperciate it..
     
  21. Because these are the Bukkit forums. I don't believe that things that aren't Bukkit have any place here. And while some disagree, there's a section for alternatives now.

    If you don't think there's much point of these forums what with Bukkit being dead, then I have to agree with you.
     
  22. Offline

    RanterMC

    Ok then..
    And are you able to make this plugin for CraftBukkit/Spigot?
     
  23. @RanterMC For CraftBukkit I've made it. For Spigot I'm not going to make it, sorry. Maybe you should try on Spigot? Or just wait for someone here :)
     
  24. Offline

    timtower Administrator Administrator Moderator

    AdamQpzm likes this.
  25. Offline

    RanterMC

    CraftBukkit and Spigot APIs are the same.
    So do you have this plugin for CraftBukkit or can you make it?
    I can use CraftBukkit or Spigot on my server, so no problem if it's a Cr.Bukkit plugin.
     
  26. @RanterMC My plugin works for official CraftBukkit builds, it doesn't work for CraftBukkit builds that other people make. They might seem the same to you, but unfortunately they're really not.
     
  27. Offline

    RanterMC

    Oh okay
    But anyways thanks for the help :)
     
Thread Status:
Not open for further replies.

Share This Page