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 http://mcstats.org for usage tracking. See http://mcstats.org and GitHub for more info.

    Installation:
    1. Copy MultiCommand.jar into /plugins/
    2. Restart/Reload your server.
    Configuration:
    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.
    Usage:
    • 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 MultiCommand.show.<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
    Delays:
    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? ;)

    Shortcuts:
    1. Open the config.yml in /plugins/MultiCommand
    2. Edit the properties in Shortcuts
    3. One Example:
    Code:
    Shortcuts:
        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: MultiCommand.show.all
    • All major permission systems supported
    Todo:
    • Nothing​
    Download:


    Changelog:
    • 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 http://mcstats.org
    • 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!

    [​IMG]
     
    Habbo4Life and 1234tree4321 like this.
  2. Offline

    CTapblu

    What about perms for using this plugin?
     
  3. Sorry for answering that late. Busy in "real-life" :/ I think I'll fix it in a few days. Thanks for error reporting!
     
  4. Offline

    arsjet

    I can not download.
    Down page.
     
    zak561 likes this.
  5. Offline

    RiotShielder

    Not working for me. used to work before R4
     
  6. Please explain why it doesn't work, then tell me your Bukkit Build and maybe send me an error log.
     
  7. Offline

    ThoLav

    Hello,

    great Plugin works with CB 1.2.2

    It would be nice to have a command /muco reload, to reread the config.yml and the files in folder command, like it does at startup. It's easier for me to edit the config.yml and files in folder Commands on bash, then alwas to type /muco add ..... inGame.
     
  8. Offline

    dafreo1

    I really dont get how to use this. If I understand this plugin allows you to change stuff like /warp market into another command like /market. If im wrong then I must sound like a complete... you know what, but if im right then can I please ask for you to either make a youtube vid or just an easier 2 use config. Maybe make the config so you just type something like 'warp market = market' or just something like that, it would make life a lot easier, thanks.
     
  9. You can change warp into w for example. But changing warp market into market is not possible.

    It should reload the commands on every executation... Normally. If it doesn't reload the files, please PM me. (Ich bin auch Deutsch ;) )

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

    dafreo1

    ok yea, I figured it all out and it turn out that this is the exact plugin I was looking for, something to shorten my commands. Thanks a lot for this. Please keep going with this plugin, you are 1 heart of my server :)

    Dont mind what I just typed, trying to sound spiritual ect.. What im trying to say is thanks a ton!
     
  11. Offline

    ThoLav

    It's possible, add to config.yml:

    Code:
    market: warp market
    
    If you enter /market, the command /warp market will be executed.
     
  12. Offline

    Wiinick

    This plugin is extremely hard to use with very little instructions?

    I keep doing /muco create ri then /muco add ri /spawn or /muco add ri spawn and everything in between and nothing works.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  13. After that you have to execute /muco ri. Then it should work.
     
  14. Offline

    Wiinick

    I got it, im used to bshortcuts so i thought muco wasnt needed. What i did after that to eliminate muco is just made a shortcut for muco, so /ri does /muco ri $1 :D

    You should make it so when ever a new command is created with /muco create, it also adds a shortcut into the other file

    like so
    Command file ri
    /spawn
    /shock player
    /wahtever

    Aliases global
    ri: muco ri

    easy
     
  15. But if someone don't want this shortcut he has to remove it manually. So adding it manually is easier. Thanks for your suggestion :)
     
  16. Offline

    zak561

    I can't download. Where's the link?
     
  17. Offline

    Recon18

    is there anyway to set optional variables? i have a ip-username banner so i want:

    /ban <$1> [$2]
    =
    /ban $1 $2
    /banip $1

    $1 = players name
    $2 = Optional Reason
     
  18. On top of this page: v1.1.1
    Or you click this link:
    http://homerbond005.bplaced.net/downloads.php?content=3

    Yeah, you are right. I'll integrate this function in the next update.

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

    Joannou1

    homerbond005
    Would it be possible to add an option in the config to turn off the verbose text that show what commands were executed?

    Thanks!
     
  20. Yes, I'll update it in a few days. Thanks :)
     
  21. Offline

    Recon18

    another suggestion, add <Name> please :D

    and another suggestion, have an option to set it so it dose not show what commands a /muco is executing.
    for example currently when i type:
    /muco ban <player>

    its comes up with:
    /eban $1
    <Player> Has been banned from the server!
    /dynban $1
    <player> Has been IP banned from the server!

    when i would like:
    <Player> Has been banned from the server!
    <player> Has been IP banned from the server!'

    I think you have this on you 'Todo' list, i'm just checking

    Thanks Recon

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  22. Yes, it is on my Todo list: Verboose mode.
     
  23. Offline

    Recon18

    is there a link for 1.2 yet? :D
     
  24. Now :D
     
  25. Offline

    Skye

    This plugin is exactly what I'm looking for, but it cuts off the commands that I'm trying to use it for. I'm trying to macro permissions commands like "/pex user $1 add -multiverse.access.civilized" but the commands get cut off at the "."
     
  26. It gets cut off? Crazy shit.... So you only get "/pex user $1 add -multiverse" ?
    Edit: Please start a conversation. Thanks :)
     
  27. Offline

    kitor

    Could you add a variable that holds command executing user name?
    Simple example, i want to give user a stack of diamonds - i need to execute /give $variablethatholdsusername diamond 64 ;)
     
  28. Yes, I'll include some server variables in the next update. Thanks :)
     
  29. Offline

    akiranai

    Hello, thank's for this plugin but, i see : Add server/player variables (like $playername)

    How can i do so (for exemple):

    /cumo add <name> <playername> ?

    Thanks !

     
  30. /muco add yourList /say $playername executed the MuCo list yourList.

    :)
     
  31. Offline

    Hello Its me :)

    Hello, can you say me where is the .jar ? D:
    Because I didn't find any .jar in your .zip :/
     

Share This Page