WeekThor / AdminProtect

Plugin for PocketMine-MP. Protects the administrator from being banned and kicked
Eclipse Public License 2.0
2 stars 2 forks source link
ban-ip-adress ban-players kick-players prevent-ban-admin prevent-kick-admin protect-admin

AdminProtect 3.0.0 Beta 1

AdminProtect is PocketMine-MP plugin that protects the administrator (players with special permissions) from being banned and kicked and prevent offline player ban.

Now supports PMMP api 5.0.0+ only.

Commands

More information about commands can be found in the wiki.

Permissions

Features

Temporary ban

You can specify the ban until date in the format dd.mm.YYYY (for example: 03.12.2022) or you can specify the ban duration time in the special format decribed below.

Ban duration format:

Ban duration is specifying without spaces: /tban Steve 1h30m will ban Steve for 1 hour 30 minutes; /tban Steve 1w3d will ban Steve for 1 week 3 days, etc

Or you can specify only count of days (/tban Steve 13 will ban Steve for 13 days).

Prevent unblocking

If player has adminprotect.unban.except.<admin>, he will not be able to unban a player banned by <admin> (admin nick must be in lowercase). Also he will not be able to edit the ban issued by <admin>.This also applies to unblocking and editing an IP ban.

For example: adminprotect.unban.except.console will be prevent unblocking players banned by CONSOLE (CONSOLE can be changed in config.yml)