In this video, I will be showing off an addon that I made. This addon allows you to have a message display in chat whenever a player goes AFK OR it can kick the player from the game when they are AFK. You can also change the time that it takes for someone to be AFK.
Documentation:
afkTime: this is in seconds, this determines how long a player must stand still to be classed as 'AFK'
mode: set this to 1 if you want the player to be kicked from the game when they are AFK, set this to 2 if you want only a chat message to appear.
afkIgnore: give yourself the tag 'afkIgnore' if you don't want to be kicked for being AFK.
run /function afk/setup when you first join the game to setup this addon.
when you first set up this addon, it defaults 'afkTime' to 900 (900 in seconds is 15 minutes) and it sets 'mode' to 2 (2 means say a chat message, not kick)
Do not credit this as your own addon.
(Updated by Dooka) Download link:
https://www.mediafire.com/file/c2ag5t...
I make Realms that you can play!
Check out my discord and Realms:
Static Network Discord:
/ discord
Static Network Realm Codes:
Static Prisons:
Code - jhotOaEOZxc
Link - https://realms.gg/jhotOaEOZxc
Static Skyblock:
Code - CrGjjW11uGg
Link - https://realms.gg/CrGjjW11uGg
Static Factions:
Code - WoAZ8MgoqBQ:
Link - https://realms.gg/WoAZ8MgoqBQ
Static Kit PvP:
Code - gTJrmEZWDvY
Link - https://realms.gg/gTJrmEZWDvY