adminwarnings

#17 - published 2 years ago

AdminWarnings

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

 
Permissions:

  • /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


Default english translation


Commands and permissions


Git changelog


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

                                    Download

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

                                    Repository

                                    github.com

                                    License

                                    MIT

                                    Author

                                    sharkbound