Skip to content

Releases: kingsplayground/Ultimate-AFK

Update for Exiled 2.0

15 Jul 05:15
Compare
Choose a tag to compare

Update plugin to work with Exiled 2.0, this will not work with older versions of exiled!

Better null variable handling

02 Apr 07:22
Compare
Choose a tag to compare
  • Moved uafk.ignore permission checking to the OnSetClass event to fix it not working properly.
  • Cleaned up AFK Resetting events, moving it to one function with better error handling for null variables.

Hotfix: Fixing NullReferenceException and Adding better 079 respawning support.

01 Apr 05:48
Compare
Choose a tag to compare
v2.0.1

Hotfix, and better 079 support for replacement.

Version 2.0.0

28 Mar 18:11
Compare
Choose a tag to compare

Changes:
— Every time a player is moved to spec, a counter is incremented. Once that counter reaches this setting it will kick the specified player.
If you wish to disable this please set it to -1 (default is 2) uafk_kick_count: 2
— Added uafk.ignore permission to bypass the AFK detection system. Assign this to server ranks that you don't want to have AFK checks for.
— Added support for SCP-079
— Minor code cleanup

Removed:
uafk_kick config setting has been removed as it is no longer necessary

Multiple updates and new features to check if a player is AFK

27 Mar 04:50
Compare
Choose a tag to compare
Suggestions by iopietro:

You should save the player ReferenceHub in a class field, instead of getting it every second. You can do it in the Awake() method.
You can use hub.GetPosition() EXILED player extension, instead of yours (where hub is a ReferenceHub).
You should move TryReplacePlayer() directly into AFKComponent class.
You should check if the player did some interactions and/or shoot and/or moved his camera and not only his position.

Hotfix: Timer not restarting after player is already marked as AFK

27 Mar 03:53
Compare
Choose a tag to compare
v1.0.1

Tinybrain forgot to reset the AFK timer lol!

Initial Release

27 Mar 03:11
Compare
Choose a tag to compare

May still be some bugs. Please create an issue if you find any bugs thanks :)