Inactive [ADMN] MultiCommand v2.1.2 - Execute many commands with one command and shortcuts [1.4.2-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by homerbond005, Jun 13, 2011.

  1. Maybe this page is outdated. Please see Bukkit Dev.

    Hello together!

    This is a plugin that executes many commands with one simple command that can be configured. You can add parameters and define shortcuts like /t can execute /time.
    Uses Metrics for sending completly anonomous data to for usage tracking. See and GitHub for more info.

    1. Copy MultiCommand.jar into /plugins/
    2. Restart/Reload your server.
    1. Creating a new command list:
    2. Type /muco create <name>
    3. Then add your commands with /muco add <name> <command>
      • Important:
      • Type your first command for executation first.
      • Don't forget the /
    4. Now type /muco <name> and the commands will be executed one after one.
    • Executing commands
      • Type /muco <name> - Requires MultiCommand.use.<name>
    • List all lists of commands
      • Type /muco list - Requires MultiCommand.list
    • List all commands in a list
      • Type /muco show <name> - Requires<name>
    • Remove a command from a list of commands
      • Type /muco remove <name> <command with /> - Requires MultiCommand.remove.<name>
    • Delete a list of commands
      • Type /muco delete <name> - Requires MultiCommand.delete.<name>
    • Reload the config
      • Type /muco reload - Requires MultiCommand.reload
    Parameters and variables:
    One simple example:
    1. Type /muco create exampleList - Requires MultiCommand.create.exampleList
    2. Then: /muco add exampleList /time set $1
    3. Maybe: /muco add exampleList /command dothis $1 $2
    4. Executation: /muco exampleList <$1> <$2>
    You can add $1, $2, $3, $4, $5 as variables for default. If you change the value for 'maxvariables' in the config.yml, you can define more than 5 variables.

    Optional parameters:

    You can define parameters as optional. Have a look at the following examples:
    • /muco add exampleList /command $1 [$2]
      • $1 is required, $2 is optional
    • /muco add exampleList /command [$1] [$2]
      • $1 and $2 are optional
    • /muco add exampleList /command $1 [$2] $3 This doesn't work!
      • This doesn't work. It will print out an error.
    • /muco add exampleList /command $1 [$3] $2
      • $1 and $2 are required, $3 is optional
      • If you want to execute this you have to type:
        • /muco exampleList $1 $2 [$3]
    I hope this understandable ;)

    Predefined Variables (player/server variables):
    • $playername : The name of the player that executes the command
      • You can change the behaviour of $playername in the config:
        • playerDisplayName: true -> Includes all formatting options (e. g. Essentials)
        • playerDisplayName: false -> Only the login name without formattings
    • $playerworld : The current world of the player that executes the command
    • $serveronlineplayers : Players, as a number, that are online
    • $servermaxplayers: Slots of the server
    You can add delays to commands in a list
    • Just put "[time in seconds]" in front of a command (without "")
    • Example:
      1. /muco create testlist
      2. /muco add testlist /say 3
      3. /muco add testlist [1]/say 2
      4. /muco add testlist [1]/say 1
      5. /muco add testlist [1]/stop
    • The output will be a countdown from 3 to 1 and after it the server will stop
    Executing commands as console:
    • You can explicitly executing a command as console
    • Just put "[$c]" in front of the command (in front of the delay, too) and the command will be executed as console
    • Examples:
      • [$c]/say I'm the console.
      • [$c][2]/say I'm the console and I knew this message 2 secs before you saw it.
    Disabling commands:

    You can prevent commands from being execute outside of mucos. But you can use it for disabling commands in general, too.
    • Disable a command: /muco disable disable <command with slash> - Requires MultiCommand.disable.disable
    • Reenable a command: /muco disable enable <command with slash> - Requires MultiCommand.disable.enable
    • List all disabled commands: /muco disable list - Requires MultiCommand.disable.list
    If you disable /say the commands /say hey, /say omg etc. will be disabled, too.
    If you disable /say hey the command /say hey you, /say hey all etc. will be disabled, too, but not /say hi.
    Allright? ;)

    1. Open the config.yml in /plugins/MultiCommand
    2. Edit the properties in Shortcuts
    3. One Example:
        t: time
        kill: ban
    • If you now type /t set 13000, the command /time set 13000 will be executed
    • That means everything you type after /t will be added behind /time
    • Note: This can override existing commands!
    • Permissions will be checked by the plugin that provides the command!
    Other Permissions:
    • All Permissions: MultiCommand.all
    • Create all: MultiCommand.create.all
    • Delete all: MultiCommand.delete.all
    • Show all:
    • All major permission systems supported
    • Nothing​

    • v2.1.2:
      • Added permission to ignore special disabled commands
      • Added permission to ignore all disabled commands
    Show Spoiler

    • v2.1.1:
      • The $playername variable will not be replaced with Console when executing a command as console ([$c])
    • v2.1:
      • Added execute as console option ([$c])
      • Changed updater (no more laggs while reloading)
    • v2.0:
      • Added command disabler
      • Added command specific delays
      • Changed updater (new server)
      • Commands will be parsed in console executation without slash
    • v1.8:
      • Added option for more than 5 variables
    • v1.7.2:
      • Fixed reload bug
    • v1.7.1:
      • Added option for the $playername behaviour
      • Fixed bug: No error if you miss the command name
      • Fixed bug in create method
    • v1.7:
      • Added reload command
      • Added show command
      • Added shortcut support for the console
      • Fixed spelling mistakes
      • Reduced code
    • v1.6:
      • Added update reminder
      • Fixed bugs with config.yml
      • Fixed permission bugs
    • v1.5:
      • Shortcuts are case-insensitive
      • Now sending anonymous usage data via Metrics to
    • v1.4.2:
      • Fixed bug when creating new config.yml
      • Update only required when you want to recreate the config.yml
    • v1.4.1:
      • Fixed permission bug
    • v1.4:
      • Added console support
      • Reintroduced /muco remove ... command
    • v1.3:
      • No more Commands directory
      • All commands are transfered to the config.yml
      • Fixed bug
      • Added predefined variables
    • v1.2:
      • Added optional parameters
      • Added verbooseMode setting to config.yml (default: false)
    • v1.1.1:
      • Ready for Minecraft 1.2 and Bukkit 1.1-R5
      • Added PermissionsEx support
    • v1.1:
      • Shortcuts added
    • v1.0:
      • Parameters and variables added
      • Many bug fixes
    • v0.9 Beta:
      • First release

    Have fun!

    Habbo4Life and 1234tree4321 like this.
  2. Offline


    this is nice for essentials unlimited:
    add /unlimited id
    for every needed id and you don't have to do it alot of times for eevery item!

  3. I don't understand...
    Do you mean I should make custom main commands like "/test something"?
  4. Offline


    no i mean, thank you, great job, that is my use for it :)
  5. Offline


    Amazing, just what I needed.
  6. Offline


    lol, just lol.

    thanks for the plugin man :) i'll see if theres any other ideas i can come up with.. i'll search my creativeness lol
  7. Offline


    How it look with Permission Support ? Every User can Edit the CommandLists ingame and use it...

    needed permissions for :

    /muco add...
    /muco remove...
    and for the use ! like :

    - muco.add
    - muco.remove
    - muco.use
    - muco.use.listname <--- to limmit the acces to spezific list´s
    - muco.use.* <---Use For All Lists
    - muco.list <---- CommandForList the lists x)

    Nice Greetz
  8. Hmm. Notice for me: Edit and fix the permission system.
    Thanks for errir reporting. There'll be a bug fix in 1 or 2 days.
  9. I tried fixing it but it doesn't work. Which permission system do you use?
  10. Offline


    how will this run when I add admin commands to some command group ? will the user by able to run them ?
    Do you plan to make permissions support ?
  11. Well, you can only execute those commands you are allowed to. I'll add Permissions in a few days/weeks.
  12. Offline


    work this with command sign? and what happened if one command failed, starts then the second command?
    can you add a feature that the playername is added to a command automatically? like /money grant <NAME> 1000 and that you can execute a command as admin like it is in commandsigns
  13. Do you mean I should add variables?
  14. Offline


    Yeah thats the word xD and thats a fakeadmin the commands perform
  15. Offline


    can you do that ? ^^ or not ? pls do that ... i love your plugin but with this features ... brrrrrr
  16. Offline


    Adding variables/parameters would be great for citizens.

    /addguard Guard01:

    Or Regios:
    /r set (clicky clicky)
    /addlot Lot01 5000
    This would make my day!
  17. Hi and thanks for this suggestion.
    Sorry for beeing inactive the last 2 weeks. I have already thought of this but never started it. I think I'll add this with /muco <name> /blabla $1 where $1 is the first parameter. I think I'll need some timefor finishing this.
  18. Offline


    Anyway to add the addition of variables into your plugin? So like I could type /muco hban "%name%"
    for the commands
    /ban %name%
    /lb rollback player %name% since 100d
  19. Have a Look above: "I Need some time"
  20. Have fun :) with v1.0 Release
  21. Offline


    I would suggest adding that it would be allot better...
    homerbond005 likes this.
  22. Hmm yes that's nice but it is difficult.
  23. Offline


    Where can i download it?
    It sounds stupid but i am stupid -.-
    Can't find the download link :(
  24. Offline


  25. Offline


    How can i add Shortcut's?
  26. In the config.yml. Please read the description on top of this page.
  27. Offline


    Can make pleasssse support for PEX ? i mean for the /muco command
  28. Offline


    could you add more $ ;] ?
  29. Offline


    When trying to run a muco command server side i get this
    Show Spoiler
    [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'muco' in plugin MultiCommand v1.1
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.MinecraftServer.b(
    at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    at com.bukkit.HomerBond005.MultiCommand.MultiCommand.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 7 more

    also it doesnt seem to support running the same command multiple times example /give $1 263 64 /give $1 263 64
  30. Offline


    Same problem here, this plugin needs an update :)

    21:36:46 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'muco
    ' in plugin MultiCommand v1.1
            at org.bukkit.command.PluginCommand.execute(
            at org.bukkit.command.SimpleCommandMap.dispatch(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
            at net.minecraft.server.MinecraftServer.b(
            at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.Coloured
    ConsoleSender cannot be cast to org.bukkit.entity.Player
            at com.bukkit.HomerBond005.MultiCommand.MultiCommand.onCommand(MultiComm
            at org.bukkit.command.PluginCommand.execute(
            ... 7 more

Share This Page