[MECH] Autorun Commands v3.2.4 - Set custom commands to run automatically [1.5.2-R1.0]

Discussion in 'Archived: Plugin Releases' started by LittleGruz, Oct 24, 2011.

  1. Offline

    LittleGruz

    Autorun Commands - Set custom commands to run automatically
    Version: 3.2.4

    Made in response to this thread.

    Visit the BukkitDev page for more details and downloads.

    Want to execute a command which displays stats just by right clicking the desired player? Or how about giving them a rose or 64 many, many times with ease? Or even make a command run which kicks players if they walk over a certain block? You can do that and more with this plugin!

    Features:
    • Allows the execution of a command simply by right clicking on a player
    • Allows the execution of a command simply by walking over a block
    • Allows the execution of a command simply by pressing a stone button
    • Allows the execution of a command simply by dying
    • Allows the execution of a command simply by respawning
    • Allows the execution of a command at server start up
    • Allows the execution of a command on a regular interval
    • Allows the execution of a command when a player joins
    • Allows the execution of a command when a player first joins
    View the source here.

    Check out my sweet site here.

    Enjoy my mods? Donate here! Dislike my mods? Donate here (and give feedback)! Powers of two are cool (e.g. $1.28, $2.56, etc.).

    Changelog:
    Past versions (open)
    Version 3.2.2:
    • Allow death commands to be set with GLOBAL.
    • Fixed problem of not being able to set OP commands for auto death commands.
    Version 3.2.1:
    • Replaced depreciated code.
    • Fixed some player messages.
    Version 3.2:
    • Option to have a delay for join commands added.
    • Bug fix for OP startup commands.
    Version 3.1.2:
    • Fix for when Multiverse would not load before AutorunCommands.
    Version 3.1.1:
    • Support for the plugin MultiWorld.
    Version 3.1:
    • First join commands.
    • Toggle for first join commands.
    • Multiple join commands executed.
    Version 3.0.3:
    • Fixed bug where respawn commands are executed when player was loading.
    Version 3.0.2:
    • Fixed bug which caused multiple instances of repeat commands to run.
    Version 3.0.1:
    • Fixed bug which occurred if there was no join command.
    Version 3.0:
    • Finally fixed multiworld bug.
    • Added display commands for blocks.
    • Added display commands for repeating tasks.
    • Added display commands for commands.
    • Command blocks can only be destroyed by an OP player.
    • Remembers the time remaining for a repeating task when the server is shutdown.
    • Allows commands to be executed when a player joins.
    Version 2.7.2:
    • Remove repeat command bug fix.
    Version 2.7.1:
    • Bug fix which caused the repeat commands to be saved and read incorrectly.
    Version 2.7:
    • Allows commands to be executed at a set frequency.
    Version 2.6:
    • Allows commands to be executed upon a player's death.
    • A myriad of bug fixes
    Version 2.5:
    • Allows buttons to cause a command to execute.
    • Fixed op command removal.
    Version 2.4.1:
    • Changed event listeners to support the new Bukkit event system.
    Version 2.4:
    • Added op support for command blocks.
    • Added a remove command command.
    Version 2.3:
    • Added ability to set commands to run at server start up.
    Version 2.2:
    • Added the ability to assign commands which are run by an op (console).
    • Allow commands to be executed upon player execution.
    Version 2.1:
    • Made command blocks more responsive.
    Version 2.0:
    • Gave blocks to ability to initiate the execution of a command.
    Version 1.0:
    • Added the ability to have a global command.
    Version 0.1:
    • Release.
     
    sk8r776 and Lextao like this.
  2. Offline

    RazorFlint

    Isn't this already a plugin? Anyways, Nice :)
     
  3. Offline

    LittleGruz

    I've got that impression too, but I just can't find it. So here is one anyway.
     
  4. Offline

    WizzleDonker

    I HAVE BEEN LOOKING FOR THIS SO LONG!

    No doubt very useful, thank you very much. Good stuff!
     
  5. Offline

    LittleGruz

    Thanks. You have a fantastic name as well.
     
  6. Offline

    RazorFlint

    Oh well :D
     
    WizzleDonker likes this.
  7. Offline

    Lextao

    This is GREAT!! But one last thing, is it possible to make everyone have the same command defined for right click by default in a config file? :p

    EDIT: By the way, your going directly into my sig :3
     
  8. Offline

    LittleGruz

    Yes I can do that, in fact I will start working on it now.

    Aww shucks.

    New version! Global commands are now available. I hope it is simple enough to set up, but if not, just post a comment.

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

    MonsieurApple

  10. Offline

    LittleGruz

    I'm glad you approve. Now I just need to find the person who moved this into the releases section and thank them!
     
  11. Offline

    MonsieurApple

    That was me :p
     
    tyzoid likes this.
  12. Offline

    rafaelf

    Hey,Can You put to Bind from letters ? thanks
     
  13. Offline

    LittleGruz

    I don't think I understand what you're asking, could you please elaborate.
     
  14. Offline

    rafaelf

    put commands instead of the right hand mouse button on the letters
     
  15. Offline

    LittleGruz

    If you are asking me to allow a command to be bound to a key, I'm not sure that is possible with just Bukkit. I think that might be possible with Spout though.
     
  16. Offline

    ladan208

    What about adding when you walk over a block it runs a command i really need that for my quest's in a rpg world plz? :D
     
  17. Offline

    LittleGruz

    I like that idea. I'll shall try to implement that.
    Heh, I may have to change the name of the mod once I finish that.
     
  18. Offline

    ladan208

    What about command activator
     
  19. Offline

    LittleGruz

    Oooh, how about Command Executor? It can sound slightly ominous that way, or sound like something you'd do to a certain Pokemon...
     
  20. Offline

    ladan208

    Sounds good
     
  21. Offline

    ladan208

  22. Offline

    LittleGruz

    Sorry for the wait, I've had to organise some stuff which will affect my life in a fairly big way. So hobby programming has taken a back seat for a bit.
     
  23. Offline

    LittleGruz

    @ladan208
    Version 2.0 is finally done mate. Sorry for the wait.
    This version has commandable blocks. Which I think is tops.
    So if you do find a bug. Don't be a mug.
    Post a message and get a free hug.
     
  24. Offline

    Karlkorv

    :D
     
  25. Offline

    ladan208

    @LittleGruz does it work with plugin commands?
     
  26. Offline

    xmagicx60

    Nice plugin, I think I can make a configureable Demigod-like system with this :D
     
  27. Offline

    ladan208

    @LittleGruz Ive tested dosn't work with plugin commands now were is my hug? ;)

    @LittleGruz Excuse me :eek: ive benn used / all the time.. Example /addacommand /Say Hello

    @LittleGruz What about right clicking a special block like lets say a block inside my spawn and then something happen how i do that? or if you haven't made that could you make it?

    Agien my bad that is also the block command right?

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

    LittleGruz

    I'm glad you like the plugin and that you can use it in ways I didn't think of.

    Yeah, to set a command to a block you use the command /setcommandblock in the same way as the example in the "How to use" section (it's the second last dot point in that section).
     
  29. Offline

    xmagicx60

    I have a problem, I have a block set to /warp somewhere, but i can only use it once, and then no one else can until the person who used it disconnects or the server reloads...
     
  30. Offline

    LittleGruz

    Aaaahh, yes. That is an artifact from me trying to have the server do as little work as possible. To allow that block to be used again by you, you would need to stand on another command block. Which is rather crap, particularly with your situation.
    But I have now changed that (with version 2.1) so instead you just need to move off the command block and then back on it to trigger the command again.
     

Share This Page