Skip to content

scp-sl-opensource-plugins/AntiAFK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AntiAFK

Translation fields to replace

[MAX_AFT_TIME] [AFK_TIME]

Default config

    public bool IsEnabled { get; set; } = true;
    public bool Debug { get; set; } = false;

    public uint MaxAfkTime { get; set; } = 180;

    public uint MessageAfkTime { get; set; } = 120;
    public bool PlayMessageSound { get; set; } = true;

    public bool PlayerReplacerIsEnabled { get; set; } = true;

    public ActionType ActionWithAfkPlayers { get; set; } = ActionType.ForceclassToSpectator;

    public HashSet<RoleTypeId> AfkIgnoreRoles { get; set; } = new HashSet<RoleTypeId>()
    {
        RoleTypeId.Spectator,
        RoleTypeId.Scp079,
        RoleTypeId.Tutorial,
        RoleTypeId.Overwatch,
        (RoleTypeId)22
    };

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages