Filled Multiple Commands

Discussion in 'Archived: Plugin Requests' started by Sw_aG, Jun 23, 2014.

  1. Offline

    Sw_aG

    Dear very kind Plugin makers,

    Plugin category: I Have no idea!

    Suggested name: Multiple Commands

    What I want: I want a plugin that allow you to use multiple commands in 1 Command, I'll explain:

    If you run the command "/startgame"
    Then it will cause the player to run few commands (That will be in the config).
    In the config there will be the option to choose the command and the commands that will be runing, Also (Very Important) I need players to be able to "Tab" This command (Writh "/startga" And then tab it, and then it will complete your command)
    I Cant explain why this is an important feature...

    Ideas for commands: In the config

    Ideas for permissions: None

    When I'd like it by: ASAP

    Version: 1.7.2 R3

    Thanks In the future! :rolleyes:
     
  2. Offline

    timtower Administrator Administrator Moderator

    Sw_aG Being able to choose the command AND have it autocomplete with tab isn't that easy.
     
  3. Offline

    Sw_aG

    timtower Then can you do the command "/revengegettingclear" ? (I'm fine with only 1 command shortcut).
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    Sw_aG

    timtower Thanks :D

    timtower my command isn't working... i'm using BetterAlias for the other commands, I'll explain
    I'm using "revengegettingclear" To run a command from BetterAlias (Cause in better alias you can have ticks and make the console run the command instead of the player) And its saying "Unknown Command"
    Can you please fix it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  6. Offline

    timtower Administrator Administrator Moderator

  7. Offline

    Sw_aG

    timtower

    BetterAlias:

    ------------------------------------------------------
    stats:
    # Quotes are required because 0 uses a colon :))
    0:
    - wait 0 /sg stats
    bounty !name %amount%:
    # Quotes are required because 0 uses a colon :))
    0:
    - wait 1 /bounty !name %amount%
    bounty !name !amount:
    # Quotes are required because 0 uses a colon :))
    0:
    - wait 1 /bounty !name !amount
    muttationuse:
    # Quotes are required because 0 uses a colon :))
    0:
    - wait 0 /umi enable
    - console /say !name Will be ressurect in 10 seconds!
    - console /clear !name
    - wait 185 /muttationuse2
    muttationuse2:
    # Quotes are required because 0 uses a colon :))
    0:
    - console /say !name is ressurected and seeks for revenge!
    - wait 1 /umi enable
    - console /clear !name 367
    - wait 5 /sg revive !name
    - wait 15 /revenge
    - console /effect !name 1 99999999 2
    - console /give !name 283 1
    - wait 1 /revenge compass
    - wait 30 /enchanter enchant 8 10
    - wait 35 /d pigzombie
    - wait 35 /d pigzombie
    afterkillrevenge:
    # Quotes are required because 0 uses a colon :))
    0:
    - console /clear !name
    - wait 10 /afterkillrevenge2
    afterkillrevenge2:
    # Quotes are required because 0 uses a colon :))
    0:
    - wait 1 /umi disable
    - wait 1 /undis
    - console /effect !name 1 0
    -------------------------------------------------------




    RevengeGettingClear:


    --------------------------------
    commands:
    - clear
    - umi disable
    - undis
    - cleareffectwithoutperm
    ---------------------------------



    I Need the "cleareffectwithoutperm" Command To work so a player could clear his effect even if he's not an OP.
     
  8. Offline

    timtower Administrator Administrator Moderator

    Sw_aG That is the disadvantage of my method and theirs, their commands aren't registered, you are probably also not able to auto complete them. That is why I asked for 1 command.
    Have something somewhere that may fix this issue
     
    Sw_aG likes this.
  9. Offline

    Sw_aG

    timtower So what can i do?

    Btw even if you can add to the plugin the command "/cleareffectswithoutperm" It will be good.
    Btw i need it to clear every effect and to be without a message so when a player run the command it wont say nothing.
    Important - I need the " /cleareffectswithoutperm" command to be able only for the player who run it:

    So if i (IGN: Sw_aG) Run the command "/cleareffectswithoutperm Timtower" So it wont do anything.
     
  10. Offline

    timtower Administrator Administrator Moderator

    Sw_aG Doesn't /heal also get rid of the effects?
     
  11. Offline

    Sw_aG

    timtower Only with Essentials (That i dont want on my server).
     
  12. Offline

    DotDash

  13. Offline

    timtower Administrator Administrator Moderator

    DotDash Do they have auto completion then?
    Sw_aG Updated link
     
  14. Offline

    Sw_aG

    timtower So can you add (In Multiple Commands/RevengeGettingClear) that it will have the option to make the console run the command and to have it with "wait" option ("wait" is an option to run the commands with delay, example:


    - wait 60 /gamemode 1
    - wait 200 /gamemode 0


    That command will set the player to creative mode (If he have the permission) after 3 seconds (60 Ticks) and he will be in creative for 10 seconds (200 Ticks) and then it will set him to survival mode (If he have the permission).

    Console Forse Example:

    - wait 10 console /effect %player% 1 99999999 2


    Then it will give the player speed effect V2 for unlimited time, Btw the player should have the permission to run the main command (/RevengeGettingClear) But should not have permission to run the "/effect %player% 1 99999999 2".

    Thanks :)

    timtower Wait... then you did add it with the BetterAlias?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  15. Offline

    timtower Administrator Administrator Moderator

    Sw_aG No, won't add delays
    And I think that I did that yes
     
  16. Offline

    Sw_aG

    timtower Dude, It works amazing, can i ask for 1 more change?
    I Want 7 more commands like "RevengeGettingClear"

    The 7 other commands:
    -------
    1. mt1
    2. mt2
    3. mt3
    4. mt4
    5. mt5
    6. mt6
    7. mt7
    --------
    I Know they are wierd commands... :p
     
  17. Offline

    timtower Administrator Administrator Moderator

    Sw_aG Going to try some hacky stuff for you. Not promising anything
     
    Sw_aG likes this.
  18. Offline

    Sw_aG

  19. Offline

    timtower Administrator Administrator Moderator

    Sw_aG Part of it is working. You can register commands in the config,yml, they act like regular command besides the tab completion, and having some issues with firing the aliases
     
    Sw_aG likes this.
  20. Offline

    Sw_aG

    timtower Can you post a link or update the last 1?
     
  21. Offline

    timtower Administrator Administrator Moderator

    Sw_aG It isn't doing anything right now, only loading empty commands, not really something you can use
     
  22. Offline

    Sw_aG

    timtower Ahh... then tell me when its up :D
     
  23. Offline

    timtower Administrator Administrator Moderator

  24. Offline

    Sw_aG

    timtower Thanks dude its working PERFECT!!!
    I'm apperciate it a lot! :D
     
  25. Offline

    timtower Administrator Administrator Moderator

    Sw_aG Found out that tabcomplete is working, weird stuff going on.
    It also gives you a help page for dynamicaliases, with all commands and descriptions / usages.
    The only required value is the commands list though.
     
    Sw_aG likes this.
  26. Offline

    Sw_aG

    Thanks a lot man, you are awesome :p
     

Share This Page