Forum

Results 1 to 2 of 2
  1. #1
    Join Date
    March 2008
    Location
    San Francisco, CA
    Posts
    13

    [Perl] Idle Timer: Display how long they've been AFK, without moving or kicking them.

    Click image for larger version. 

Name:	idle.PNG 
Views:	143 
Size:	3.5 KB 
ID:	10927 Click image for larger version. 

Name:	idle3.PNG 
Views:	150 
Size:	8.2 KB 
ID:	10940

    This mod allows you to see who is idle without having to kick or move anyone. This is a much more passive idle system than all the ones I've seen.

    How it works is anyone who has been idle for x minutes will be put in a Server Group with the time they've been Idle. The server group will be updated with their current idle time, until they come back, at which point they will be removed from the group.

    If someone leaves the server, the group is deleted. If they are removed from the group, the group is deleted and a new one is made, and they will be added to it. Groups are identified by their sortid. The default is 91115, a reasonably large number that I'm sure no one uses. Most of this can be tweaked in either the file settings, or the command line.

    Note: I've only tested this on Ubuntu and Windows with a small server.

    Update v1.1

    Update v1.06
    • Moved the settings to a cfg file
    • Added the variable "SlowDown" so users can slowdown the execution of the script (complaints of lagging large servers with hundreds of players)
    • Fixed an error when no client information was received from the players.


    Update v1.05
    • Fixed an issue where people with the exact same idle time would cause group name conflicts
    Attached Files Attached Files
    Last edited by Jack the Smack; January 22nd, 2016 at 01:05 PM. Reason: Patched 1.05

  2. #2
    Join Date
    March 2008
    Location
    San Francisco, CA
    Posts
    13
    I moved this to Github if anyone wants to keep up to date with it.

    https://github.com/jackthesmack/IdleTime

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [QUESTION] Using idle-timer to set color of bubble next to nickname?
    By Carbonade in forum Client Plugins / Lua Scripts
    Replies: 2
    Last Post: October 14th, 2015, 04:21 PM
  2. [Rejected] Idle timer in the user details window
    By dgibbs in forum Suggestions and Feedback
    Replies: 1
    Last Post: March 13th, 2013, 12:10 AM
  3. [SUGGESTION] AFK/Idle Timer Auto-Move
    By Pickerd in forum Suggestions and Feedback
    Replies: 2
    Last Post: November 3rd, 2010, 02:50 PM
  4. server idle kicking
    By Leosbowtie in forum Permission System
    Replies: 1
    Last Post: January 29th, 2010, 01:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •