Execute command repeatedly if player is online

Discussion in 'Plugin Requests' started by coolperez8, Jun 28, 2015.

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

    coolperez8

    Plugin name: Executor

    Plugin Description:
    This plugin will repeatedly invoke a command every x seconds if a player with a certain name is online.

    Config Example:


    Notch:/say hi notch;1
    jeb_:/say hi jeb;2

    • If Notch is online, the plugin will invoke "/say hi notch" every second
    • If jeb_ is online, the plugin will invoke "/say hi jeb" every 2 seconds

    Commands: None

    Permissions:
    None

    Extra Notes:
    This is useful if you want to execute a command on a player repeatedly with other plugins, but don't want the command running if the player is offline due to console spamming or lag.

    When I want it by: June 29, 2015, 7:00 PM or sooner.
     
  2. Offline

    meguy26

    @coolperez8
    What in the world is this for?! (might make it, but not sure ill have time....)
     
  3. Offline

    coolperez8

    I have two plugins,, healthplus and hungerme, and another plugin to execute commands for both plugins every second, telling the plugin to set my health and hunger to full every second, if I'm not online, they spam the console.
     
  4. Offline

    timtower Administrator Administrator Moderator

    @coolperez8 Why not set global region flags for worldguard for that?
     
  5. Offline

    coolperez8

    It's a PVP server, I want it to look like I'm taking damage when someone hits me, but set my health to full so I don't die.

    I know I can just use JezusMode, but I have to take damage for it to kick in, and I set the hunger to 19 points so I can eat.

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 29, 2015
  6. Offline

    timtower Administrator Administrator Moderator

    @coolperez8 Not talking about the pvp flag, or invulnerability. Talking about the heal flags: heal-min-health, heal-amount, heal-delay
    Same for feed
     
  7. Why not just learn to PvP rather than cheating? :p
     
  8. Offline

    coolperez8

    I know, but I don't really engage in PVP and I'm shooting a video on the server with friends and as such I don't want to die in a scene.

    I set my health to 19 hearts, not sure why. Plus, I don't use worldguard for a reason.

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 29, 2015
  9. Alright, so why not a simple plugin like Buddha Mode?
     
  10. Offline

    coolperez8

    That works fine...
     
Thread Status:
Not open for further replies.

Share This Page