simpleipban

last built a week ago
Build #25
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Mr.Kwabs
Do you like this plugin? You can fund the maintenance of this plugin with a donation to Mr.Kwabs.
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.

SimpleIPBan

SimpleIPBan allows you to blacklist certain IPs from joining your Server.

NEW UPDATE!

Features:

  • Ability to stop certain IPs from joining your Server.
  • Ability to edit the message that is shown when a User joins.
  • Ability to view a Users IP – /GetIP [Name || SteamID].
  • Ability to Ban a Users IP from in-game – /IPBan [Name || SteamID || IP]
  • Ability to UnBan an IP from in-game – /IPUnban [IP]
  • And More!

 

Commands:

  • /GetIP [Name || SteamID]
  • /IPBan [Name || SteamID || IP]
  • /IPUnban [IP]
  • /IPList – Lists all Blacklisted IPs to Console.
  • /IPReload – Reloads the Blacklisted IPs JSON Array.

 

Permissions:

  • ipban.getip
  • ipban.ipban
  • ipban.ipunban
  • ipban.iplist
  • ipban.ipreload

 

Instructions:

  • Download & Copy SimpleIPBan.dll to your Plugins folder.
  • Restart Server
  • Edit SimpleIPBan.configuration.xml and configure options.
  • Edit IPBlacklist.json and add/remove any IPs.
  • Run the /IPReload command to refresh the Blacklist (After changes to IPBlacklist.json).

 

Contact:

Mr.Kwabs#9751 on Discord.

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<ConfigurationSimpleIPBan xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <KickOnIPBan>true</KickOnIPBan>
  <KickReason>You are IP banned!</KickReason>
</ConfigurationSimpleIPBan>

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

Commands and permissions


/getip <Player || SteamID>

Permissions: getip

Gets the IP of a Player.


/ipban <Player || SteamID || IP>

Permissions: ipban

Bans a certain players IP.


/iplist

Permissions: iplist

Sends blacklisted IPs to console.


/ipreload

Permissions: ipreload

Reloads the IP blacklist.


/ipunban <IP>

Permissions: ipunban

Unbans an IP.


Git changelog


beffbcfddf458ac 2019-05-15 15:28:59

Updating to newest .NET version.

    8ee800b86ef6abc 2019-05-15 15:24:09

    Updating to newest Unturned

      920515ab7a9cf90 2019-05-15 15:23:46

      Delete UnityEngine.dll

        d939bf9137aacdd 2019-05-15 15:23:38

        Delete Assembly-CSharp.dll

          1866e3988ed3a5f 2019-05-15 15:23:32

          Delete Assembly-CSharp-firstpass.dll

            b0f7cf75f48aaff 2019-05-15 15:23:20

            Updating to newest Unturned version.

              b64b70dd8b96587 2018-12-25 19:25:56

              Fixed issue with /IPUnban

                0e53feb759135f8 2018-12-23 21:47:38

                Added /IPUnban

                  ec91de5e4d8f3b0 2018-12-23 21:46:47

                  Added /IPUnban

                    b994afb53f6c098 2018-12-23 21:46:08

                    Added /IPUnban

                      8853ab6b87ec8b9 2018-11-09 14:31:04

                      Added Newtonsoft.JSON.dll.

                        099990de669d600 2018-11-09 14:30:33

                        Update SimpleIPBan.csproj

                          d2bdaa9fe343363 2018-11-09 14:26:39

                          Updated new files.

                            03a91d6c07c94fe 2018-11-09 14:20:24

                            Update README.md

                              3efcdd788e187b7 2018-11-09 14:20:03

                              Updated Command & Configuration with new Commands & Options.

                                2f4d0adcf138717 2018-11-09 14:17:54

                                Added IPBan, IPList & IPReload commands.

                                  f027af80e28ea25 2018-11-09 14:16:54

                                  Removed useless code.

                                    ade9a1e616028a3 2018-11-09 14:16:27

                                    Removed XML Array, switched to JSON.

                                      503f3444f98cda6 2018-11-09 14:16:04

                                      New Update: Added /IPBan command, switched to JSON.

                                        81237ba56ae8700 2018-11-01 15:39:55

                                        fix

                                          3a292718fbfecd7 2018-11-01 15:19:54

                                          Update SimpleIPBan.csproj

                                            dea591115ffb77c 2018-11-01 14:57:32

                                            added .gitignore

                                              f6942d76cb2811c 2018-11-01 14:55:00

                                              removed obj files

                                                15efaae14d7e00a 2018-11-01 14:52:58

                                                fix build

                                                  d2bfa8be001dbb0 2018-11-01 13:06:16

                                                  Update SimpleIPBan.csproj

                                                    c3c04223f20cce0 2018-11-01 13:03:35

                                                    Add files via upload

                                                      af680bc131f320c 2018-11-01 13:03:13

                                                      Delete a

                                                        72baf5fe21f4c60 2018-11-01 13:02:50

                                                        Create a

                                                          b40303efe38fe52 2018-11-01 13:01:07

                                                          Update SimpleIPBan.csproj

                                                            1380e110a2e1c10 2018-11-01 12:57:18

                                                            Add files via upload

                                                              982267b303df781 2018-11-01 12:55:11

                                                              Add files via upload

                                                                937ca337dfa8c4a 2018-11-01 12:52:39

                                                                Add files via upload

                                                                  dcd6dcd8e479940 2018-11-01 12:51:53

                                                                  Add files via upload

                                                                    e8ac88ec4373cd1 2018-11-01 12:43:02

                                                                    Update README.md

                                                                      61560e8c51a9de4 2018-11-01 12:42:50

                                                                      Update README.md

                                                                        5ca67d03fef9027 2018-11-01 12:42:37

                                                                        Update README.md

                                                                          05b80ea787c14da 2018-10-30 17:56:34

                                                                          Create ConfiguratitonSimpleIPBan.cs

                                                                            8b4af4173c218d0 2018-10-30 17:55:33

                                                                            Create CommandGetIP.cs

                                                                              5683975d59db1de 2018-10-30 17:54:21

                                                                              Create SimpleIPBan.cs

                                                                                9ec0724b18bf722 2018-10-30 17:27:31

                                                                                Update README.md

                                                                                  91f958eb1104a60 2018-10-30 17:27:10

                                                                                  Update README.md