Pre-AFK Kick

Discussion in 'Archived: Plugin Requests' started by jackjorge, May 20, 2014.

  1. Offline

    jackjorge

    Suggested name: PreAFK

    What I want: I need a plugin that kicks users when they try to perform the command /afk.
    Rather then making a certain time of standing still with essentials, I think this plugin will be easier.

    My players don't have access to /afk, but they seem to always try it when they want to be.


    * If possible a kick message saying "Being AFK is not safe, come back later when you are ready to play!"

    Thanks!
    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: preAFK.admin - you wont get kicked if you do /afk

    When I'd like it by: Maybe tomorrow!

    Thanks!
     
  2. Offline

    RRServer

    I'll give this a try!

    Here you go : https://www.dropbox.com/s/t5hoqg7gncgwnpm/PreAFK.jar
    Kicks players that use /afk without the perm preAFK.admin and displays the wanted message.
    Let me know if you have any more suggestions/problems.

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

    jackjorge

    RRServer Thanks omg this is amazing! You are an awesome dev!!!

    Edit: I noticed when players with preAFK.admin permission do /afk nothing happens, so I was wondering if the players have that perm, and do /afk can it say (player} is now afk.
    That would be great!
    Thanks!
     
  4. Offline

    RRServer

    Last edited by a moderator: Jun 8, 2016

Share This Page