Kick AFK when full/hit player limit setting

Discussion in 'Plugin Requests' started by JMCY26, Mar 15, 2020.

Thread Status:
Not open for further replies.
  1. Suggested name: MaxAFKRemove

    What I want: A plugin that when the server hits the player limit set by the server, or a configurable number in the config, say I set max players 15 and it hits that number of players online, it will remove a player(s) if they are listed AFK from the essentials plugin. Allowing other members to access the server.

    A message within the config that can be changed for the reason of being removed.

    Message-on-kick: "You have been removed as the server is full and you are afk!"

    Ideas for commands: No commands needed for this plugin, just a configurable limit before kick AFK and a message config.

    Ideas for permissions: Permission to bypass being AFK from the plugin. Maxafkremove.bypass

    If someone could make this for me I'd highly appreciate the assistance.
     
    Xp10d3 likes this.
  2. Offline

    Sensevx

    @JMCY26

    Do you use Essentials to handle your AFK? That would be easier if you use it.
     
  3. Online

    timtower Administrator Administrator Moderator

    He is
     
  4. Offline

    Sensevx

    @timtower
    Oh, sorry I guess I skimmed it.

    Anyway,

    @JMCY26
    MaxAFKRemove

    Commands:
    none, I guess you will do a full reload if you make changes in the config file. But if you want me to make one I'll do it.

    Permission: maxafkremove.bypass - Players with this permission will not be kicked if afk.

    [DOWNLOAD]
     
  5. Thank you a ton! I use plugman to reload plugins.
    Would it be possible to add a delay config until it kicks a player?
    Id like to give them 5 minutes for example (300 seconds) to have a chance to un-afk before getting booted.

    If not no worries, really appreciate the help.
     
    Last edited: Mar 19, 2020
Thread Status:
Not open for further replies.

Share This Page