Afk protect

Discussion in 'Archived: Plugin Requests' started by sr_awesome, Jun 28, 2012.

  1. Offline

    sr_awesome

    Plugin category: Misc

    Suggested name: FactionPvpAreaPlugin

    What I want: I'd like to see a plugin where when a player types /afk he/she becomes unkillable, when the player returns and moves or chats or types /back the player returns into the regular game mode. This would be very safe and reassure people when they are afk. I don't have much detail to put on, comment your questions, and I would like to see this plugin made some time soon!

    Ideas for commands: /afk displays <name> is now afk in chat and when the player moves/chats/types /back it says <name> is back

    Ideas for permissions: player.afk.true when /afk is typed and is false when player moves/chats/ or when /back is typed

    When I'd like it by: Soon
     
  2. Offline

    Officialjake

    I would like to make this plugin for you!
    I am somewhat new to programming but would like to attempt to make this plugin for you. I will post if I am unable to make it but I think I will be able to make this for you.

    Hey according to your OP it seems that this will be used on a PVP server. So to combat people using it to cheat at pvp by doing /afk to stop from getting attacked i suggest that the command be changed to /afkeyboard or /awayfromkeyboard so it is to long to type during combat so people will not exploit /afk do you agree if so i will incorporate it into the plugin.

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

    np98765

    Or, if you want to keep the command simple, a timer. So, after they type /afk, they will not become invincible until 'x' seconds later.
     
  4. Offline

    evilmidget38

    Additionally, also make it so the timer restarts whenever they're hurt. That way they can't just type /afk, and hope they live 3 seconds for their invincibility.
     
  5. Offline

    Officialjake

    Thanks for the input!

    Im currently working on this plugin and another at the sametime so please expect a final build by monday.

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

    sr_awesome

    Thanks guys
     
  7. Offline

    Omnitv

    Interesting plugin request, would look forward to see this being made.
     
  8. Offline

    CarrotPCdude

    Doesn't Essentials already have this feature, or am I imagining things?
     
  9. Ill give this a go.
     
  10. Offline

    np98765

    Yeah, but a surprising number of people don't want to use Essentials... I guess it's too heavy or has too many features or something. Personally, I love it. :)

    But yes, Essentials does have this feature, you have to turn on the AFK godmode/frozen feature.

    EDIT: Except for that fact that /back takes you.. back. To turn off AFK you have to type /afk.
     
  11. Offline

    Officialjake

    ellisvlad Did you even read my post that im already working on this???
     
  12. Offline

    CarrotPCdude

    I love it too. Brilliant plugin(s). :D
     
    np98765 likes this.
  13. Offline

    sr_awesome

    You can both work on it :p

    Can some1 give me a link to the essentials plugin ?

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

Share This Page