Multiple Commands

Discussion in 'Archived: Plugin Requests' started by Blah1, Jul 14, 2013.

  1. Offline

    Blah1

    Plugin Name: MultipleCommands
    Commands: /mcmd {command}
    Permissions: mcmd.{command}

    Info: So I want a plugin that when I type in a command, it executes multiple assigned commands as well. I had a major problem with donators and resetting the map because I had to give every single donor rank back and It was just a pain. If only the donor could do /mcmd {command}, then get all of their items (you could put a limit of 1 in boosCooldowns so that the player cant do it twice), life would have been much easier. This would be handy in many other things. I have searched around Bukkit but I couldn't find anything exactly like this. Here is how the config could look like:

    //Info info info
    groups:
    //groups is not referring to the groups made in Permissions. These are just called "groups" as in
    //this group will execute the command below.
    VIP:
    - /give {name} 322 10
    //{name} is the name of the player who executes the command
    - /kit VIP
    - /spawn
    MVP:
    - /example
    Bacon:
    - /give {name} bacon

    So, if a player does /mcmd VIP, it will execute all of those commands. Keep in mind that some of these commands may not be run-able trough the console...so you may have to work around that. Also, only players with certain permissions get to run a command. To run /mcmd MVP, one would need mcmd.MVP. Also, it should run all of the commands listed no matter if the player has the perms for it or not.

    Optional:
    Make it so that there is a limit on the number of times this can be executed, or maybe even add a cool-down and warm-up. This can be done with boosCooldowns, but some players might not know about that plugin. So, the config could look something like this afterwards

    //Info info info
    groups:
    VIP:1:600:6
    //So it goes NAME:LIMIT:COOLDOWN(Seconds):WARMUP(Seconds)
    - /give {name} 322 10
    - /kit VIP
    - /spawn
    MVP:
    - /example
    - /fly

    Wow...I wrote a lot...For those who made it, thanks for reading :D I know that the community will love this and thanks to anyone who tries to make it :)
     
  2. Offline

    midnightfang22

  3. Offline

    Blah1

    Yeah but the stuff that I have to do is somewhere around 20 or so commands... Also, commands are easier too :)
     
  4. Offline

    Me4502

    CommandHelper
     

Share This Page