Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kart-Public Kart-Public
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • KartKrew
  • Kart-PublicKart-Public
  • Merge requests
  • !198

Open
Created Aug 17, 2020 by Ashnal@AshnalContributor
  • Report abuse
Report abuse

Afktimer

  • Overview 15
  • Commits 26
  • Changes 3

Adds an afktimer

Default off. Keeps track of player inputs with a timer. Whenever input changes, the timer is reset. Whenever the node sends a netxcmd, the timer is reset.

Defaults off, but has four CVARS:

  • afkspectimer - how long someone must be idle to be forced spectator in seconds
  • afkspecignoreadmins - whether force spec applies to admins
  • afkkicktimer - how long someone must be idle to be kicked in seconds
  • afkkickignoreadmins - whether kicking applies to admins

EDIT: Only will force spectate during races, after the race start countdown.

Now only has two cvars:

  • afkspectimer - On/Off, whether the force spectate feature is active.
  • afkkicktimer - how long someone must be idle to be kicked in seconds
Edited Sep 13, 2020 by Ashnal
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: afktimer