Auto Commands

Discussion in 'Archived: Plugin Requests' started by Gabriel_Lopardo, Sep 3, 2012.

  1. Offline

    Gabriel_Lopardo

    Plugin category: Misc

    Suggested name: AutoCommands

    What I want: A plugin that will run commands automatically every set amount of time, So it would be <command> <timebefore next command <command> ect. The time would be in minutes. And I could create multiple command strings so maybe the AutoCommands, Commands file, Would maybe look like this,

    Code:
    [PVP]
    worldname/global:
    /command 1
    /command 2
    sleep: 20 seconds
    /command 3
    /command 4
    sleep: 5 minutes
    repeat: 0
    Ideas for commands: Hopefuly it would be all config file.

    Ideas for permissions: None (all config)

    When I'd like it by: ASAP. ;)


    I would be using this for my pvp server, the after the : would be the time until the next command,
    so for the first 2 commands it would take 1 minute untill /allgm 0 would be run.


    This would be very helpful! Thank you if you can make this for me!

    Sorry for dupe post, It didn't show on the plugin request forums and I wasn't sure if it went through... :)

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

    Necrodoom

    i would suggest doing it like this:

    worldname/global:
    /command 1
    /command 2
    sleep: 20 seconds
    /command 3
    /command 4
    sleep: 5 minutes
    repeat: 0

    sleep accepting the time parameter
    repeat being amount of times repeated (0 being unlimited)
    this allows it to be read more easily, and prevents errors with plugins using : in commands
     
  3. Offline

    Gabriel_Lopardo

    Looks good :D But can somebody make this for me?

    Please :3

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

    Vandrake

    You really no be more explicit when asking for plugins xD I'm still not getting what you want xD All I got was the automated commands from config
     
  5. Offline

    Gabriel_Lopardo

    A plugin that would run commands automaticly, as if it were being run through the console, but I would like it to be so there is a time between each command is run, I have a server where everyone has 7 minutes at spawn in creative to get stuff for pvp, and The next command would be, /allgm 0 so they will not be in creative after the 7 minutes then in less than a minute they will be all be warped to an arena to fight.
     
  6. Offline

    LexLaiden

    You could use VariableTriggers and make this yourself.

    Create a Join event trigger or Respawn event trigger

    /vtevent Join Player <playername> you must get items within 7 mins.
    /vtevent Join @PAUSE 420
    /vtevent Join @CMDOP allgm 0
    /vtevent Join @PAUSE 60
    /vtevent Join @CMDOP warp arena

    Youi could do the same for Respawn event just use /vtevent Respawn instead of /vtevent Join or both. The @PAUSE are in seconds so 420 seconds = 7 minutes. The Player should be all UPPERCASE
     
    WarmakerT, np98765 and Woobie like this.
  7. Offline

    Gabriel_Lopardo

    :| Well I guess I'll do that... It looks very confusing but okay :) Thank you for the help.
     
  8. Offline

    chaseoes

    I can make this for you if you don't want to use VariableTriggers.
     
  9. Offline

    LexLaiden

    Well you could write a whole new plugin OR use VT and type 5 lines at prompt once and its done. :D
     
  10. Offline

    Gabriel_Lopardo

    That would be amazing if you could :)

    There will probably be other game type server that could use the plugin... and VT make my head hurt :3

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

    Woobie

    How did it make your head hurt? :D
    Download VT, then just copy and paste the commands in game.
     
  12. Offline

    Gabriel_Lopardo

    Idk... I tried using it once before and it was hard for me :3 plus if ops are smart enough, I don't want them to make a trigger to reop them selves if they are ever unoped, and if chaseoes doesn't mind making it, then it would be much simpler for me.
     
  13. Offline

    Jake230599

    CommandHelper scripts would do this.
     
  14. Offline

    Gabriel_Lopardo

    Bump ^.^ I still really need this :3
     
  15. Offline

    AndyMcB1

    Upgrade to 1.4 :p
     
  16. Offline

    Gabriel_Lopardo

    -.-
     
  17. Offline

    Kiakaha

    Lol wtf he literally wrote your exact script for you... just Copy + Paste it :)
     
  18. Offline

    Gabriel_Lopardo

    It didn't work right :/ Besides I would rather just have the plugin, if somebody doesnt mind making it. Ill try the script again, last resort
     
  19. Offline

    Gabriel_Lopardo

    please... :3
     
  20. Offline

    WarmakerT

    You can't op yourself with VariableTriggers.
     
  21. Offline

    Gabriel_Lopardo

    :eek: hmm, an old admin did it after telling me to get the plugin. :/ maybe it has changed? I still kinda just wan't the plugin :3
     
  22. Offline

    WarmakerT

    I tried, I couldn't do it. Try again? :p
     
  23. Offline

    Gabriel_Lopardo

    Tried making the plugin? I would love it if you would... Or could someone possibly come on my server and help me set it up with VT? :3
     
  24. Offline

    WarmakerT

    Sure, PM me the IP.
     

Share This Page