feexafk

last built 4 days ago
Build #215
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Sven
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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


31d23a92d31097e 2019-05-15 23:53:15

Fixed.

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

    ..

      bae2b846e5f655f 2016-06-18 09:43:35

      Update LICENSE

        e064a93b93232e8 2016-06-17 14:52:22

        Updated libs

          b9eb613a9a7e733 2016-06-14 15:59:28

          Updated to Rocket 4.9.6.0

            4a75d1d51ebb48a 2016-05-31 17:50:43

            Added afk.prevent

              f8d9baf973b2053 2016-05-31 17:50:34

              Updated libs

                5c9359b04858f05 2016-05-27 21:05:11

                Updated permissions

                  7fcdea4c1416cdc 2016-05-27 21:04:50

                  Updated libs

                    aed950a5d0ce24f 2016-05-20 23:17:43

                    Bugfix

                      296cbf9b39701b0 2016-05-20 23:17:36

                      Updated libs

                        f029b626f47a5ff 2016-05-20 21:08:46

                        Fix Jenkins

                          0f1c838a4fe8a52 2016-05-20 13:20:05

                          Fixed permissions

                            4cbf1e7bfeb1b4d 2016-05-20 11:09:48

                            Rebuild

                              77b957ca45459d5 2016-05-20 11:08:55

                              Updated libs

                                e972f6aedb2e80f 2016-04-22 20:16:13

                                Updated libs

                                  3938a6705e04662 2016-04-22 20:16:02

                                  Improved performance

                                    8e36d15bd76cb86 2016-04-22 20:15:38

                                    Clean

                                      83e11b349a8c760 2016-04-08 20:40:48

                                      Updated libs

                                        df7ecabe6430e47 2016-04-04 13:51:36

                                        Removed OnPlayerUpdateStat

                                          f0f0ec60c574488 2016-04-04 13:50:22

                                          Updated libs

                                            2f6c052e3256678 2016-02-09 22:57:30

                                            Updated

                                              1fd751320824d46 2016-02-07 23:46:37

                                              Update README.md

                                                07b664c3ebe63cc 2016-02-07 23:46:32

                                                Update README.md

                                                  ff60aacd235e868 2016-02-07 23:45:33

                                                  Updated

                                                    a973da7384ecab2 2016-02-07 23:05:22

                                                    Updated

                                                      5a7dcc12a213e04 2016-01-28 00:09:13

                                                      Removed vehicle fix because of some lags

                                                        71973b64fb879af 2015-12-24 10:31:20

                                                        Updated to 4.8.0.0

                                                          e94918678c7ad57 2015-11-22 20:21:44

                                                          Added checkall + more configuration, fixed vehicle bug, cleaned translation, minor improvements

                                                            f3637fc87ba689e 2015-11-22 11:59:02

                                                            Added checkall + more configuration, fixed vehicle bug, cleaned translation, minor improvements

                                                              330d7714cb84576 2015-11-22 00:27:00

                                                              Improvements

                                                                03fd48cd35c6546 2015-11-13 14:00:25

                                                                Fixed kick message

                                                                  768c2cf8ef683f0 2015-11-13 13:32:29

                                                                  Fixed permission afk.prevent

                                                                    5806cd59a873a2e 2015-11-12 14:23:41

                                                                    Fixed permissions bug

                                                                      6c10aaa1ff6a07e 2015-11-09 21:59:55

                                                                      Added "/afk [player] check"

                                                                        6fba81227458b46 2015-11-09 21:54:32

                                                                        Added "/afk [player] check"

                                                                          80e7a75a37703fa 2015-11-09 19:31:35

                                                                          Bugfixes

                                                                            bc776a87557ddf7 2015-11-09 16:21:48

                                                                            Update README.md

                                                                              c24f41109003cef 2015-11-09 16:19:21

                                                                              Initial commit