global-ban

last built 3 weeks ago
Build #236
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.

GlobalBan

This plugin overrides the /ban and /unban command to custom commands that save bans into a MySQL table. This allows to have syncronized bans between multiple servers.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<GlobalBanConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DatabaseAddress>localhost</DatabaseAddress>
  <DatabaseUsername>unturned</DatabaseUsername>
  <DatabasePassword>password</DatabasePassword>
  <DatabaseName>unturned</DatabaseName>
  <DatabaseTableName>banlist</DatabaseTableName>
  <KickInterval>10</KickInterval>
  <DatabasePort>3306</DatabasePort>
  <KickInsteadReject>false</KickInsteadReject>
</GlobalBanConfiguration>

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="default_banmessage" Value="you were banned by {0} on {1} for {2} seconds, contact the staff if you feel this is a mistake." />
  <Translation Id="command_generic_invalid_parameter" Value="Invalid parameter" />
  <Translation Id="command_generic_player_not_found" Value="Player not found" />
  <Translation Id="command_ban_public_reason" Value="The player {0} was banned for: {1}" />
  <Translation Id="command_ban_public" Value="The player {0} was banned" />
  <Translation Id="command_ban_private_default_reason" Value="you were banned from the server" />
  <Translation Id="command_kick_public_reason" Value="The player {0} was kicked for: {1}" />
  <Translation Id="command_kick_public" Value="The player {0} was kicked" />
  <Translation Id="command_kick_private_default_reason" Value="you were kicked from the server" />
</Translations>

Commands and permissions


/slay <player>

Permissions: slay

Banns a player for a year


/kick <player> [reason]

Permissions: kick

Kicks a player


/unban <player>

Permissions: unban

Unbanns a player


/ban <player> [reason] [duration]

Permissions: ban

Banns a player


Git changelog


dd7e53995a1bf9f 2019-04-25 18:22:40

..

    b42299fe8a0f940 2017-03-28 22:49:05

    Fix wrong name in unban message

      a5a9a02aed98b2d 2017-03-23 15:55:05

      ..

        33a2f5e3c2c95d1 2017-03-21 21:59:33

        ,,

          52fb7344a3550ae 2017-03-21 21:35:30

          ..

            28272f48a694bb2 2017-03-09 11:27:15

            ..

              1a22c58d9e4c5c3 2017-03-08 22:52:31

              testing kick instead ban

                6e04af234386f70 2017-03-08 21:38:03

                ,,

                  85b1780d6c35fdc 2016-11-06 23:49:16

                  fixing issues with emojis

                    db16cf007deb666 2016-11-04 16:04:26

                    Fixing for the new version

                      bef76274ea8989d 2016-06-18 06:19:04

                      Fixed issue with using newer mysql libraries

                        cf8246d525ce36d 2016-06-18 05:14:56

                        Updated to Rocket Version: 4.9.7.0

                          fd2c6eede2f6c09 2016-01-03 12:30:54

                          Adding banning my csteamid, looking up their steamid from steam and inserting as name.

                            0b04f349bc5e51d 2015-12-23 18:15:29

                            Fix

                              7c79017601ce8a5 2015-12-23 15:00:49

                              Fixing ban message issue

                                01aaf32e3188fff 2015-10-17 12:59:03

                                Fixing unload

                                  d8f0887f8557951 2015-10-10 10:58:35

                                  Refactoring namespace

                                    3df797d58f2e438 2015-10-10 10:53:50

                                    Updating assemblies

                                      9a0cbbc123c936a 2015-07-31 01:14:34

                                      Fixing configuration defaults

                                        a25a3239c4bcd4d 2015-07-27 00:36:14

                                        Fixing config

                                          ec1f1e1168a3afb 2015-07-26 15:16:52

                                          Fixing project output

                                            06d0b5c2b00dd64 2015-07-26 14:52:03

                                            Adding missing Rocket.Core.dll

                                              8ecbd7f8c7fe21b 2015-07-26 14:44:42

                                              Update to Rocket 4.6

                                                bc163727a6c3b4e 2015-07-10 19:42:03

                                                Fixing ban for console

                                                  49934882b6b81aa 2015-06-28 21:33:05

                                                  .

                                                    ca615874c319884 2015-06-23 11:20:38

                                                    Fixing Namespace

                                                      64156dadd56682f 2015-06-14 11:35:16

                                                      Dont ban urself

                                                        622e16c7f709059 2015-06-01 19:01:29

                                                        Update to 4.4

                                                          3d4c17fdc31ce49 2015-05-26 12:26:55

                                                          Update to 4.2

                                                            4b3aae511fc74c3 2015-05-25 23:06:38

                                                            Fixed CSteamID

                                                              338a85250659950 2015-05-17 02:52:03

                                                              Fixed Chat

                                                                1518ec56b62704e 2015-05-17 02:40:07

                                                                Update to Rocket 4

                                                                  6907060512d25b0 2015-05-08 22:23:27

                                                                  Update to Rocket 3.9

                                                                    4bf3a026c11b49b 2015-05-05 21:27:58

                                                                    Update to Rocket 3.8.0.0

                                                                      cde90428b6ab056 2015-04-21 15:45:14

                                                                      Kick from console

                                                                        25a5ae29c37e79c 2015-04-06 16:20:35

                                                                        Update to Rocket 3.2, Added slay & Duration to /ban

                                                                          cfd7b913c8e3c7c 2015-03-30 16:43:04

                                                                          Unbans players that are not online & bans people that just disconnected

                                                                            fd7ba3444e5d7d5 2015-03-29 23:04:10

                                                                            CHANGED Table! New columns steamname and charactername (Varchar 512) in order to track names!

                                                                              4c88fdb0de1e873 2015-03-28 22:57:47

                                                                              ...

                                                                                c5f829f36a6fbfe 2015-03-28 22:53:07

                                                                                Awrrrggghh (Pretty descriptive message here)

                                                                                  a22aecf9aa34f8b 2015-03-28 22:46:07

                                                                                  Fixed GlobalBan, will work only with SteamID64 right now :S

                                                                                    86e99bbfe3591e7 2015-03-20 21:50:46

                                                                                    Kicking Bans people :S

                                                                                      afe281ee32dac38 2015-03-16 17:37:48

                                                                                      Fix creation

                                                                                        a91dbfecc69f316 2015-03-16 16:33:40

                                                                                        You can now change the port- THanks to Hammereditor for mentioning

                                                                                          cc0ae7c6361a244 2015-03-16 03:16:24

                                                                                          Fixed timestamp being null

                                                                                            c77f480bfecb095 2015-03-14 19:36:59

                                                                                            Ooops :D Dk why duplicate entry :D #blamenelson

                                                                                              e7140d268172224 2015-03-13 23:19:49

                                                                                              Updating to Rocket 3

                                                                                                74c6c14f3fe57ad 2015-03-06 11:05:46

                                                                                                Kick command

                                                                                                  189db0129ba3059 2015-02-04 22:57:04

                                                                                                  System.Management.dll was not copied, thanks for your patience @Pluimington:

                                                                                                    9fbe5c008591f99 2015-02-04 20:05:42

                                                                                                    Updated to 2.3.2.0

                                                                                                      d174b0845d953dd 2015-02-02 12:57:50

                                                                                                      api fix

                                                                                                        749c9e611ea4568 2015-01-30 13:02:45

                                                                                                        f

                                                                                                          b226a234189f82d 2015-01-30 13:01:27

                                                                                                          Rocketapi

                                                                                                            ad9ba0ae78817e7 2015-01-29 23:08:27

                                                                                                            New Library

                                                                                                              fee9053ddc28cf1 2015-01-28 20:48:57

                                                                                                              Ban API

                                                                                                                fcd17a574be052a 2015-01-27 22:34:30

                                                                                                                1.4.0.0

                                                                                                                  af5fe489580677f 2015-01-27 21:46:17

                                                                                                                  Updated to 2.3.0.0

                                                                                                                    a40bfad34633302 2015-01-24 20:29:13

                                                                                                                    Update to 2.2.0.0

                                                                                                                      b77e2ec802c257f 2015-01-24 00:33:00

                                                                                                                      .

                                                                                                                        9152c2d5ca8097e 2015-01-24 00:30:10

                                                                                                                        Fixed*

                                                                                                                          a723cf892610afd 2015-01-24 00:07:44

                                                                                                                          Fix!=

                                                                                                                            654a0161961d9d9 2015-01-10 18:54:43

                                                                                                                            Fixed kicking on banning, -> 1.2.0.0

                                                                                                                              a3b4202cdb25045 2015-01-09 17:32:05

                                                                                                                              Fixed commands

                                                                                                                                03c5d06a0c27874 2015-01-09 17:11:02

                                                                                                                                Updated to 2.0.3.0

                                                                                                                                  5497f96df9486c6 2015-01-09 10:14:10

                                                                                                                                  Create LICENSE

                                                                                                                                    d16fc877c790feb 2015-01-07 12:04:07

                                                                                                                                    Updated to 2.0.2.0

                                                                                                                                      5627c81af4eef81 2015-01-06 22:57:13

                                                                                                                                      new libs

                                                                                                                                        9df326aa73cff8a 2015-01-06 22:18:40

                                                                                                                                        Rocket Update

                                                                                                                                          daf9767d740c8a4 2015-01-06 22:11:47

                                                                                                                                          Updated to 2.0.1.0

                                                                                                                                            daa8c2ead964b56 2015-01-04 13:35:07

                                                                                                                                            Fixed command

                                                                                                                                              f06371d6fd3c465 2015-01-04 13:04:15

                                                                                                                                              Fixing Load

                                                                                                                                                9c9cd9c20764b4f 2015-01-04 12:20:32

                                                                                                                                                Database Errorhandling

                                                                                                                                                  bbc1aaa4a74cf69 2015-01-04 09:22:04

                                                                                                                                                  Update to Rocket 3.4.9.1

                                                                                                                                                    3b9310ae14c443a 2015-01-01 22:43:45

                                                                                                                                                    Adding admin that banned the bad guy

                                                                                                                                                      ad4520d2a664aa0 2015-01-01 22:38:26

                                                                                                                                                      spellcheck

                                                                                                                                                        f6d9bad0d6e6f52 2015-01-01 22:07:21

                                                                                                                                                        Fixed banmessage

                                                                                                                                                          5c2639234015144 2015-01-01 21:20:03

                                                                                                                                                          no local copy of UnityEngine

                                                                                                                                                            90b2f227f97a2e2 2015-01-01 21:18:49

                                                                                                                                                            ....

                                                                                                                                                              6a0bbb9243501e6 2015-01-01 21:17:29

                                                                                                                                                              ..

                                                                                                                                                                54fd4caf36d5ff3 2015-01-01 21:16:00

                                                                                                                                                                ..

                                                                                                                                                                  bc4edce9dc6a7da 2015-01-01 21:12:22

                                                                                                                                                                  Fixing project

                                                                                                                                                                    f663867df67b049 2015-01-01 21:03:59

                                                                                                                                                                    Forgot gitignore... lil bugger...

                                                                                                                                                                      6c6e80feca74a45 2015-01-01 21:01:50

                                                                                                                                                                      Initial commit