[MISC] AfkKick v1.5 - Kicks idling players! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by robin0van0der0v, May 23, 2011.

  1. Offline

    robin0van0der0v

    AfkKick - Kicks idling players!
    Version: v1.5

    Features:
    • Kicks idling players.
    Download AfkKick!
    Source is inside the jar file.

    Permissions:
    Give the player you want this permissions for being a exempt to the kicking of idling players:
    Code:
    afkkick.exempt
    Known bugs:
    None. :D

    Properties:
    This plugin creates a properties file on Plugins/AfkKick/config.yml. ;)

    Standard properties:
    Code:
    afkkick:
        exempts: ''
        message: You have been kicked for idling too long, please rejoin.
        seconds: 180
        broadcast: §e%NAME% was idling for too long and has been kicked.
        log: '%NAME% was idling for too long and has been kicked.'
    Changelog:
    Version 1.0
    • Release.
    Version 1.1
    • Changed default message.
    • Changed default broadcast message.
    Version 1.2
    • Fixed NullPointerException on reload.
    Version 1.3
    • Fixed a memory leak.
    • Fixed sometimes not receiving a message if somebody is kicked.
    Version 1.4
    • Fixed not working without Permissions.
    Version 1.5
    • Changed configuration-options a bit.
     
    AS1LV3RN1NJA likes this.
  2. Offline

    captainawesome7

    Is English your native language? "You was to long idling. Please rejoin..." sounds pretty bad, you might want to consider changing the default value.
     
  3. Offline

    robin0van0der0v

    English is not my native language, Dutch is my native language. ;)
    But, in what I need to change it?
     
  4. Offline

    Streammz

    You were idling for too long, please rejoin....
     
  5. Offline

    halofreak506

    Something like "You have been kicked for idling too long, please rejoin" would be a bit more grammatically correct

    Also the broadcast message could be changed to something like "§e%NAME% was idling for too long and has been kicked."
     
  6. Offline

    spunkiie

    I'm trying this on my 200+ server :D

    broadcastmessage is not working.

    People AFK are getting kicked, but not broadcast message is sent.

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

    PatrickFreed

    How do you develop all these plugins at 13? Just curious :p
    Also, I'll test this out after 1.6 ;)
     
  8. Offline

    JanTTuX

  9. Offline

    robin0van0der0v

    Changed in the next version. :)

    If you run Permissions then give everyone who must receive the message the node:
    Code:
    afkkick.getmessage
    I start programming on my 12th. :)

    Thanks. :)
     
  10. Offline

    kaasinees

    Hello fellow dutchman, thanks for the plugin.

    I keep getting this message when i do reload in console.

    Code:
    00:06:02 [SEVERE] java.lang.NullPointerException
    00:06:02 [SEVERE]       at nl.robinvandervliet.AfkKick.AfkKick$1.run(AfkKick.java:77)
    00:06:02 [SEVERE]       at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    00:06:02 [SEVERE]       at java.lang.Thread.run(Thread.java:679)
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Offline

    nutlnw7410

    ehh...when i installed your plugin it's didn't create first run files
     
  12. Offline

    robin0van0der0v

    Fixed. :)

    Strange. :s
    Do you get a error? :p
     
  13. Offline

    kaasinees

    Dank U ^_^ I will test it now.
     
  14. Offline

    nutlnw7410

    Code:
    2554-05-27 22:05:30 [SEVERE] PLAYER_INTERACT_ENTITY loading AfkKick v1.1 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_INTERACT_ENTITY
        at nl.robinvandervliet.AfkKick.AfkKick.onEnable(AfkKick.java:42)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    maybe i need to update bukkit to 803?
     
  15. Offline

    robin0van0der0v

    Yes, you need to update. ;)
     
  16. Offline

    to3000

    once you turn 16 you can apply for a Java Lerner's license, then after 2 years you can get your probationary license, if you are under 16 then you illegally acquire a cracked SDK that you can then use to make these plugins.
     
  17. Offline

    rareshutzu

    Does it work for 1.6?
     
  18. Offline

    Semirotta

    it does not work with my 1.6_06 server
    newest bukkit (818)
     
  19. Offline

    robin0van0der0v

  20. Offline

    robinjam

    Lol'd.
     
  21. Offline

    robin0van0der0v

    I just downloaded Eclipse and followed a tutorial? :p
     
  22. Offline

    Linkage

    Does not work with my 1.6.6 server, bukkit 860.
     
  23. Offline

    robin0van0der0v

  24. Offline

    cuco

    Hmmm AfkBooter kicks everybody on my server - active or not. Your plugin kicks nobody on my server - active or not. Strange.
     
  25. Offline

    robin0van0der0v

    Fixed. :)
     
  26. Offline

    cuco

    no... still nobody gets kicked!

    I can wait for 10 minutes and do nothing (have MC only in taskbar) and I am still on the server.
     
  27. Offline

    Maxis010

    Are you running permissions, and if so have you removed the exempt flag from your permissions
     
  28. Offline

    cuco

    nope, no permissions

    AfkKick, BigBrother, ChatBukkit, HomeBukkit, ScrapBukkit, dynmap, HeroicDeath, LastCommand, LWC, MidiBanks, Minecart Mania Core/SignCommands/Station/AdminControls/Autocart, Minequery, OpenInv, SaddleBack, SimpleSignEdit, TerrainRenewal, Tombstone, UnlimitedLava, WeatherGod, xAuth
     
  29. Offline

    Maxis010

    @robin0van0der0v
    I noticed when I downloaded your plugin to check the source you have AfkKick.class and AfkKick$1.class
    Bad compile perhaps?
     
  30. Offline

    Strahan

    Same problem here too. Running 860. AfkBooter kicks people who aren't idling, this plugin kicks nobody heh. Set "seconds: 60" and waited a minute, nothing. After 4 minutes, gave up. Using Permissions, but testing with a non-op account that has no .exempt permission.
     

Share This Page