♖ServerDefence♖ | Protect account & Block commands & Perms checker & Mod/Client detector &DiscordBot icon

♖ServerDefence♖ | Protect account & Block commands & Perms checker & Mod/Client detector &DiscordBot -----

Protect your server and admin accounts from hacking




Reduced .jar file size!
Now, almost all dependencies downloads on first plugin load
----------, Dec 28, 2022

Fixed an issue with command /sd reload
----------, Dec 26, 2022

Migrated to gradle project builder, optimized config files loader and improved a little bit code style.

ADDED

UUIDSpoof detection now can be disabled in config.yml:
UUIDSpoofFix: false

Thanks Najek for providing me info about an issue with that.
----------, Dec 17, 2022

FIX
- CommandBlocker feature didn't work when PermsChecker was disabled

ADDED
-
Now you can disable kicking of players with unauthorized OP
Just set 'KickUnauthorizedOp' to false in config.yml
----------, Oct 17, 2022

The website for downloading the plugin has been changed due to an issue with Google drive many of you told me about
----------, Sep 11, 2022

FIX
incorrect version value in plugin.yml, causing 'download new plugin version' message to be sent. whooops
----------, Aug 17, 2022

- ProtocolLib now is required only for versions below 1.13!
- fixed an issue with a command /removePlayer
(That command didn't actually remove the player from the data.yml)
----------, Aug 15, 2022

- file size fix
- discord bot response failure fix
----------, Aug 14, 2022

Large update!
This Weekend I finally had a time to update this plugin.

What's new:
DiscordBot feature added
You can use that feature to add a two factor authentication and easily change your admin IP via discord.
How does it work?
  1. If feature is activated, admin has to complete simple verification by executing DiscordBot command /verify in a guild with that bot.
  2. Every time admin log in, he has to confirm that it is him via discord by pressing a button which bot will send automatically.
Commands:
/verify
/unverify
/set_ip
/current_ip
Setup:
  1. Setup your bot here https://discord.com/developers/applications and add it to your discord guild
  2. In config DiscordBot.active set to true
  3. Paste in token of your bot in config (DIscordBot.bot_token)
  4. Paste in id of the guild where you added your bot (DIscordBot.guildID)
  5. Paste in id of the guild role which you want to allow to execute commands of the bote (DIscordBot.admin_ds-role)
  6. Start your server and enjoy ^_^
It is a new feature and may contain problems. If you find any error or have an idea, please contact with me :)

Unfortunately due to this update .jar file became too large(20mb), I will try to find a way to reduce its size sooner


⚠️ data.yml logic has been changed as well. Now admin's IP saves at this path: admins.{player}.ip Before it was: admins.{player} ⚠️
----------, Aug 14, 2022

- Fixed an issue with client/mod checker on servers above 1.12, that uses ViaVersion

- Added permission-only setting. From now, you can specify what permission player must have to execute or see a command with tab usage(suggestedCommands)!
P.s. Mr_Hunter_Zombie thanks for an idea :)
----------, Mar 12, 2022

- Fixed error message while server is stopping

- Added new argument for a command 'sd'
sd checkIp [nickname] > shows an IP address of specified player

P.s. thanks sergio85 for an idea:)
----------, Mar 9, 2022

- Added CommandBlocker setting in config.yml
( for those who don't want to use this feature )

- Changed AdminsOnlyPerms setting in config.yml.
Now it is named PermsChecker and has 'active: true' and 'permissions: xxxx' settings.
( for those who don't want to use this feature )

- Now TabBlocker and CommandBlocker works separately.
If you want to block commandSuggestions (TabBlocker feature) you need to add a command you want to the tab_blocked-cmds.yml file

CommandBlocker works the same way as earlier

P.s. thanks BigP16 for the idea :)
----------, Mar 6, 2022

whoops, forgot to change a plugin version in plugin.yml :D
----------, Mar 5, 2022

Added UUID Spoof fixer
----------, Mar 5, 2022

Large update
- Added blocker of popular Mods/CheatClients
- Added bStats metrics
- Now plugin checks for its updates in spigot
- Fixed TabBlocker event
----------, Mar 4, 2022

SmallFIx

PlayerCommandPreprocessEvent listener had redundant for() loop, which could increase duration of command execution
----------, Mar 3, 2022

Fixed IP checker.
Because of bag, which I forgot to fix before publishing, checker worked only if you save IP without dots

Now Ip cheker works as described
----------, Mar 3, 2022

Release 1.0.1

edited task which checks permissions of players, from now it is Asynchronous.

So, it will not affect on a server perfomance
----------, Mar 3, 2022

Resource Information
Author:
----------
Total Downloads: 1,996
First Release: Mar 3, 2022
Last Update: Dec 28, 2022
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings