last built 23 hours ago
Build #47
By downloading this file, you agree to our license terms.
Jenkins CI
Git Mirror
License: MIT
Maintainer: sharkbound
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.


Change Log (4/4/2017):

  • Added ConsoleCommand option to warningpoints, default is <ConsoleCommand/>, if it is set to a empty string or is its default value it is disabled for that warning point, there are placeholders you can put in the consolecommand also, for example [playerid] will be replaced with that player that was warned steamid, [playername] will be replaced with the players charater display name, EXAMPLE: <ConsoleCommand/>ban [playerid] “reason”</ConsoleCommand> will perma ban that player if they hit that warning point


Lets admins warn players with configurable punishments,

Command Usage example: /warn bob “spawn camping” or /warn bob,   both work,


/warns <player> will get that players warnings, or if you just do /warns it will show your warnings


About the Config file:

  • WarningsToTrigger – Amount of warnings a player needs to trigger this warning point
  • KickPlayer – if this is true it will kick the player when a player reaches this warning point
  • BanPlayer – if this is true it will ban the player with the time (in seconds) from the next config option
  • BanLengthSeconds – This only applies if BanPlayer is true, if it is true then this is the time the player will be banned for when they reach this warning

Additonal Notes:

  • Once a player reaches the highest warning point their warnings will be reset
  • To create more warning points copy/paste the default one
  • Dont have KickPlayer and BanPlayer both true in the same warning point, it will kick them but not ban them
  • if you warn them with a reason and the warning point they are at bans or kicks them it will include a reason in the ban/kick message
  • By default kick/ban messages from warnings are show for everyone in chat, warnings are not by default. You can change these values in the config file

Suggested Features:

  • none currently


  • /warn : warn
  • /removewarn : removewarn
  • /warns : warnings
  • /clearwarninglogs : clearwarninglogs

Planned features:

  • None currently

If you would like to donate to me it can be done through paypal  Here

Default configuration

<?xml version="1.0" encoding="utf-8"?>
<WarningsConfig xmlns:xsd="" xmlns:xsi="">
      <ConsoleCommand />
      <ConsoleCommand />
      <ConsoleCommand />
      <ConsoleCommand />
      <ConsoleCommand />
  <PlayerWarnings />

Default english translation

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="" xmlns:xsi="">
  <Translation Id="warning" Value="You have you given a warning! Current warnings: {0}" />
  <Translation Id="warning_reason" Value="You have been given a warning! Reason: '{0}'" />
  <Translation Id="warning_count_self" Value="You currently have {0} warnings!" />
  <Translation Id="warning_count_admin" Value="'{0}' currently has {1} warnings!" />
  <Translation Id="warning_ban" Value="You have been banned because you reached {0} warnings! Ban duration (seconds): {1}" />
  <Translation Id="warning_ban_reason" Value="You have been banned because you reached {0} warnings! Reason: '{1}' Ban duration (seconds): {2}" />
  <Translation Id="warning_kick" Value="You have been kicked because you reached {0} warnings!" />
  <Translation Id="warning_kick_reason" Value="You have been kicked because you reached {0} warnings! Reason: '{1}'" />
  <Translation Id="warned_caller" Value="You have warned player: {0}" />
  <Translation Id="warned_caller_reason" Value="You have warned player: '{0}' for '{1}'" />
  <Translation Id="player_not_found" Value="A player by the name of '{0}' could not be found!" />
  <Translation Id="wrong_usage" Value="Correct command usage: /warn &lt;player&gt; [reason]" />
  <Translation Id="wrong_usage_removewarn" Value="Correct command usage: /removewarn &lt;player&gt; [amount]" />
  <Translation Id="console_player_warning" Value="'{0}' has warned '{1}', '{1}' is at {2} warnings" />
  <Translation Id="console_player_banned" Value="'{0}' has warned '{1}', '{1}' was banned for {2} seconds" />
  <Translation Id="console_player_banned_reason" Value="'{0}' has warned '{1}', '{1}' was banned for {2} seconds with the reason '{3}'" />
  <Translation Id="console_player_kicked" Value="'{0}' has warned '{1}', '{1}' was kicked" />
  <Translation Id="console_player_kicked_reason" Value="'{0}' has warned '{1}', '{1}' was kicked with the reason '{2}'" />
  <Translation Id="public_player_banned" Value="'{0}' has received {1} warnings and was banned for {2} seconds!" />
  <Translation Id="public_player_kicked" Value="'{0}' has received {1} warnings and was kicked!" />
  <Translation Id="public_player_warned" Value="'{0}' has been giving a warning, they are currently at {1} warnings!" />
  <Translation Id="console_warnings_noparameter" Value="You must enter a player when calling this command from the console!" />
  <Translation Id="public_player_warned_reason" Value="'{0}' has been giving a warning! Reason: {1}" />
  <Translation Id="remove_warn" Value="Removed {0} warnings from '{1}'!" />
  <Translation Id="no_data" Value="'{0}' does not have any warnings!" />
  <Translation Id="cleared_logs" Value="Cleared warning logs!" />
  <Translation Id="console_command" Value="Ran command '{0}' because player:{1} hit {2} warnings" />

Commands and permissions

/removewarn <player> [amount]

Permissions: removewarn

Removes warnings from a player

/warn <player> [reason]

Permissions: warn

warns the specified player

/warnings [player]

Permissions: warnings

Gets a players current warnings


Permissions: clearwarninglogs

Clears the warning logs

Git changelog

abcf1111db17ea5 2019-10-14 20:55:24


    315c6e495b66d7d 2019-05-18 01:50:26

    Fixed referencings.

      d44ca0c9b45a1fd 2019-05-16 00:52:12


        503fba43125c6ee 2017-04-05 05:19:00

        added ConsoleCommand warningpoint option

          3b4c1f6c9c30066 2017-03-09 23:06:21

          changed default value for log list

            bce50e0a9b3831d 2017-03-09 23:04:11

            forgot to rem post build command

              6ddf1d435ec9757 2017-03-09 23:01:44

              added warning logging to a separate XML file in the plugins config folder, added command /clearwarninglogs

                b9fbd97062da90e 2017-01-07 19:57:20

                updated libs

                  e8310a7ae445f13 2016-11-10 19:30:44

                  fixed error when trying to get steamplayer

                    3ba8aec01bfd1e4 2016-10-29 03:15:25

                    attempt to fix a loading issue

                      6fb4a3b5368a1bf 2016-10-18 04:43:00

                      fix spelling error

                        de98bb8cb21fa81 2016-10-18 04:39:22

                        added /removewarn and added another default warning point

                          c03a95d950f0832 2016-10-15 20:50:54

                          added /warn and where you can set it so warning expire after x day in the config file

                            45626af71c263b0 2016-10-14 18:06:39

                            small code changes

                              77e08b1c8f3bbdb 2016-10-13 03:57:45

                              removed old commented out code

                                e3f0cf7d5fc68d9 2016-10-13 03:44:33

                                changed to Release

                                  ba9724fc2f658a4 2016-10-13 00:15:29

                                  added lib

                                    0628ac8069b8f42 2016-10-13 00:15:05

                                    removed lib

                                      6255fe5e8751b8a 2016-10-12 22:07:38

                                      fixed banning, added message color config option

                                        a8eb30a9bc6d6b1 2016-10-12 03:48:15

                                        First commit, also need to fix banning and some messages