Code Monkey home page Code Monkey logo

afkreplace's Introduction

Credit to https://github.com/Cyanox62/DCReplace

AFKReplace

When someone is AFK for a configured amount of time they get replaced by a random spectator. They are constantly checked throughout the round to see if they're AFK.

Install Instructions.

Put AFKReplace.dll under the release tab into sm_plugins folder.

Config Options.

Config Option Value Type Default Value Description
ar_disable Boolean False Disables this plugin.
ar_broadcast Boolean True Should this plugin do a personal broadcast to the AFK player every second warning that they will replaced within 15 seconds
ar_time Float 120 How many seconds someone is AFK till they get replaced.
ar_distance Int 0.11 Distance in meters someone has to move till they are not marked as AFK.
ar_will_replace_string String You will be AFK replaced in {0} seconds if you don't move! Broadcast that AFK player will receive as a warning before they're replaced.
ar_replaced_string Int You have been replaced because you were AFK! Broadcast that AFK player will receive when they get replaced.

Commands

Command(s) Value Type Description
ar_version N/A Get the version of this plugin
ar_disable N/A Disables this plugin.

afkreplace's People

Contributors

mrmith avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.