Fancy AFK

Script Fancy AFK 2.0

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • added text quotes for /afk+admin+command staff

  • Various text quotes bugs have been fixed
  • it is possible to set custom sounds when a player enters afk mode or exits afk mode
  • you can now see players in afk or afk-protected mode while playing
  • Added safety system to any accidents while afk. In the event that the player leaves the server or is kicked out of the server caused by a connection crash while it is afk, it is automatically protected on its return, automatically re-enabling afk when the server is due to exit while it was in afk mode

New controls arrangement

Code:
/spawnafk
/afk info
/afk admin help
/afk admin setspawn
/afk soundjoin sound
/afk exitsound sound
The server exit variable was set to 1 due to an oversight

Code:
on quit:
    if {afk.%player's uuid%} = 1:
        set {afkquit.%player's uuid%} to 1

Changed to


Code:
on quit:
    if {afk.%player's uuid%} = 0:
        set {afkquit.%player's uuid%} to 1

I know it was a bad inconvenience but your patience is great, hope you like the plugin, no problem asking for support
Lorenzo1755