feexafk

#185 - published lessthan a minute ago

FeexAFK

This plugin adds the /afk command to your server. It also shows a message when a player is afk.

 

Commands:

  • /afk set [player]
  • /afk check [player]
  • /afk checkall

Permissions:

  • afk.set
  • afk.check
  • afk.checkall
  • afk.prevent

Info:

  • You can’t set yourself afk.

If you have any improvements, let me know.

In case you like my work, please consider a donation. I highly appreciate it. 🙂 ~Freenex

Donate via PayPal

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<FeexAFKConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Seconds>300</Seconds>
  <CheckInterval>1000</CheckInterval>
  <MessageEnabled>true</MessageEnabled>
  <KickEnabled>false</KickEnabled>
  <KickMinPlayers>0</KickMinPlayers>
  <IgnoreAdmins>true</IgnoreAdmins>
</FeexAFKConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Translation Id="general_not_found" Value="Player not found." />
  <Translation Id="general_invalid_parameter" Value="Invalid parameter." />
  <Translation Id="afk_true" Value="{0} is now afk." />
  <Translation Id="afk_false" Value="{0} is no longer afk." />
  <Translation Id="afk_kick" Value="Kicked for being afk." />
  <Translation Id="afk_set_player" Value="You were set afk by {0}." />
  <Translation Id="afk_set_caller" Value="You set {0} afk." />
  <Translation Id="afk_set_caller_error_afk" Value="{0} is already afk." />
  <Translation Id="afk_set_caller_error_self" Value="You can't set yourself afk." />
  <Translation Id="afk_set_caller_error_admin" Value="You can't set Admins afk." />
  <Translation Id="afk_check_caller_true" Value="{0} is afk." />
  <Translation Id="afk_check_caller_false" Value="{0} is not afk." />
  <Translation Id="afk_checkall_caller_true" Value="{0} player/s afk: {1}" />
  <Translation Id="afk_checkall_caller_false" Value="No players are afk." />
</Translations>

Commands and permissions


/afk <set/check/checkall> [<player>]

Permissions: afk

/afk <set/check/checkall> [<player>]


Git changelog


221747333892b93 2016-11-05 13:00:29

..

    Download

    Build #185
    By downloading this file, you agree to our license terms.

    Repository

    github.com

    License

    MIT

    Author

    Sven