Question Plugin Command

Discussion in 'Bukkit Help' started by Dliebov, Jun 18, 2016.

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

    Dliebov

    Hello!
    Thanks so much for taking the time in reading this!

    I have a quick question about a plugin...

    Is there a plugin that makes it so once you run one command another one sends right after...
    For example if I do /ban Rub192 Hacking It runs right after /banip Rub192 Hacking. I also want it to keep the reason so its easior for staff. Thanks

    ~DLiebov
     
  2. Offline

    I Al Istannen

    @Dliebov
    You can probably get it to work with DynamicAliases. At least it seems so, from a glance at the description.

    EDIT: You can. Thanks timtower :p
     
    Last edited: Jun 19, 2016
    timtower likes this.
  3. Offline

    Dliebov

    @I Al Istannen @timtower

    How can I use variables? For example when I setup my config like
    Code:
      IP-Ban:
        description: Automatic IP-Ban
        usage: /punish &player%& %reason%
        permission: punish.player.&*
        permission-message: Error
        commands:
        - banip &player& %reason%
        - ban &player& %reason%
        - bc &player& was just banned for %reason%
    
    Please respond!

    ~DLiebov
     
  4. Online

    timtower Administrator Administrator Moderator

    @Dliebov
    Code:
    # If a command in the commands list of an alias contains {args} then the plugin will put the used command arguments there
    I haven't found a good way for arguments yet.
    You can't use that specific arguments.

    Suggestions are welcome.
     
Thread Status:
Not open for further replies.

Share This Page