Server-side Macros?

Discussion in 'Archived: Plugin Requests' started by ZanderMan9, Mar 13, 2014.

  1. Offline

    ZanderMan9

    Yep, and I'm surprised no one has suggested it before. I'd like a simple plugin for macros without a mod. I've even saved the devs the trouble of naming it! Machros

    Overview
    Machros would not require a modded client to operate. It would use a very simple command that acts much like essentials' /sudo. There would be two types of macros: text and command.
    /machro help of course will be needed. Make the interface whatever, but try to make it not so annoying to read lol.

    Text
    This would simply displayed the entered text. To make sure this is used solely for text, a &f would be put before the text. I would think that color codes would work without any special attention, and if you use them, of course, it would cancel out the white color code. Essentials color permissions should work here, unless I'm wrong? At any rate:
    /machrostext set [#] [message] - sets a macro for the selected number (1-9 for simplicity)
    /machrostext use (or simply u) [#] - use a Machro
    (can be shortened to /mt)

    Command
    For commands, the &f would be removed, and replaced with a / so as to make things easier. Now the only issue I see here is the need for it working with permissions of other plugins so that you can't /mc set 1 nuke or stop or something.
    /machroscmd set [#] [command--no need for /] <any args to thie command>
    /machroscmd use [#]
    (can be shortened to /mc)

    Permissions
    This would eventually need permission nodes so I can give it to ranks or just members, but for the first development, I'd be happy with OP-only permissions. But if you feel happy with the Java...

    machros
    • text
      • set
        • amount of machros to allow (a number 1-9)
        • max (allows full 9 or if you'd like to allow more, change this however! After all, you're making it!)
      • use
    • cmd
      • set
        • amount of machros to allow
        • max
      • use
    As an example: machros.text.set.5

    Thanks
    Thanks for considering this, I really hope this gets made! And as always, if it's made, it's for everyone to use!
    (Edited for some grammar corrections) (And again)
     
  2. Online

    timtower Administrator Administrator Moderator

    ZanderMan9 CommandHelper might suit your needs.
     
  3. Offline

    ZanderMan9

    Hmm seems to be a cool plugin, but I'm looking for a bit less. I just want this part, without the extraneous mess :p
     
  4. Offline

    Mathias Eklund

  5. Offline

    MCGods

    so you want something like this...player types in /macro set 1 what did I tell you. than whe he types /macro use 1, it broadcasts what did I tell you. is this correctish...if so I could make it on saturday
    ...i would change the commands a bit to make it more user and code friendly.
     
  6. Offline

    ZanderMan9

    Mathias Eklund Have at it!
    MCGods I'd like the commands to be /machro, not /macro, just for the sake of uniqueness :p. And I'd like the commands to be as short as possible so players can use the macros quickly. Of course, I did forget to mention /machro help, that is if you are willing to add it
     
  7. Offline

    MCGods

    is my understanding of it correct?
    if you would like me to make it, than i would change the setting command to
    /machro set <text/command> number content (number and <> ould be other way round...but it would simplify the code, and for usage
    /machro number should be enough.
     
  8. Offline

    Garris0n

    That's pointless, annoying to type, longer to type, more likely to be typed wrong, and less intuitive in general.
     
  9. Offline

    ZanderMan9

    As I stated in the original post, machro can be abbreviated to /mt or /mc, depending on the usage. As for the commands not able to be abbreviated to those, it's really up to the plugin developer. I just thought Machro was a cool name, and catchy if the developer hopes to get some glory out of it.
    [edit] Also, How would adding the number after the messages simplify the code, and what do you mean the <> would be the other way around?
     
  10. Offline

    ZanderMan9

    Mathias Eklund
    Just out of curiosity, how long do you suppose it will take to finish this? I'm willing to wait as long as it takes, and I'm not trying to rush you, but I'd like to know so I can sort of plan out some things.
     
  11. Offline

    ZanderMan9

    *bump*
    Mathias, are you still going to make this? I haven't seen any replies..
     
  12. Online

    timtower Administrator Administrator Moderator

    He hasn't been online either
     
  13. Offline

    ZanderMan9

    Hm, that's interesting. Perhaps he's not going to make it? in that case, I'd like to ask again if anyone would be willing to help me out here?
     
  14. Offline

    Kiaeyi

  15. Offline

    ZanderMan9

    Thanks a lot, I hope you have fun with it ;P
    Also, if you are interested, I'll happily give you a Dev rank on my server :D
     
  16. Offline

    Mathias Eklund

    ZanderMan9 I'm sorry. I got caught up with a lot of work and some family issues. I wont have the time to do this, sry :/
     
  17. Offline

    ZanderMan9

    OK, that's fine. I understand completely. Life can get clustered sometimes lol
     

Share This Page