Sueta

SafetyGuard

2.0

A simple plugin to guard your server

·Plugin

My Plugins
CombatTag , Reputation , CommandSpy , GroupWorldChat , AntiPluginSpy , SafetyGuard

Description
Help guarding staff or player account and server. This plugin working with Java 8.

SoftDepend Plugin
Authme

Feautures

  • AntiCommandBlockAbuse by blocking command listed out in config.yml
  • Authme integration, Wrong password will save the count and ip that wrong password.
  • Three bypass AntiCommandBlockAbuse type - [none, perm, whitelist]
  • AntiOpDeopInGame
  • Staff account protection
  • AutoDeop
  • Log commandblockabuse, op/deop and fail to login
  • Bypass permission editable
  • Blacklisted IP
  • 95% message editable

How to use

  1. Download this plugin.
  2. Download SoftDepend plugin
  3. Put this plugin and Softdepend plugin into your plugin folder.
  4. Reload or restart your server.
  5. Configuration your file.

Commands & Permission

  • /safetyguard
    • Description: Display plugin help
    • Aliases: [safety]
    • Permission: safetyguard.help / OP
  • /safetyguard reload
    • Description: Reload SafetyGuard plugin
    • Aliases: [safety reload]
    • Permission: safetyguard.admin / OP
  • /safetyguard info
    • Description: Get plugin info
    • Aliases: [safety info]
    • Permission: safetyguard.admin / OP
  • /accountprotection
    • Description: Display accountprotection help
    • Aliases: [ap]
    • Permission: safetyguard.help
  • /accountprotection <player> add <ip>
    • Description: Add whitelisted IP
    • Aliases: [ap <player> add <ip>]
    • Permission: safetyguard.accountprotection
  • /accountprotection <player> remove <ip>
    • Description: Remove whitelisted IP
    • Aliases: [ap <player> remove <ip>]
    • Permission: safetyguard.accountprotection
  • /accountprotection <player> default
    • Description: Remove account protection from player
    • Aliases: [ap <player> default]
    • Permission: safetyguard.accountprotection
  • safetyguard.notify.commandblock
    • Description: Notify CommandBlock Abuse
    • Editable: false
  • safetyguard.bypass
    • Description: Bypass AntiCommandBlockAbuse
    • Editable: true

Configuration

config.yml

######################################
# Options #
######################################
#UpdateChecker: Check for update
UpdateChecker: true
######################################
# Log #
######################################
#CommandBlockAbuse - Log player that trying abuse with commandblock.
#Ops - Log player that trying/succesful to op/deop player
#FailLogin - Log player that failed to login account
Log:
CommandBlockAbuse: true
Ops: true
FailLogin: true
######################################
# CommandBlock #
######################################
#AntiAbuse - To enable AntiCommandBlockAbuse
#Type: perm - Bypass with Bypass Permission in config.yml
# none - Cannot bypass including staff/op
# whitelist = Player contain Whitelist can bypass
#Permission: Permission needed to bypass
#Whitelist: Player in whitelist will bypass
#CommandBlacklist: List out the commands you want to block.
CommandBlock:
AntiAbuse: true
BypassType: 'perm'
BypassPermission: 'safetyguard.bypass'
BypassWhitelist:
- 'Notch'
CommandBlacklist:
- '/op'
- '/deop'
- '/mangaddp'
- '/pex'
- '/manuaddp'
- '/manuadd'
######################################
# Operator Options #
######################################
#AntiOpDeopInGame - Block /op and /deop ingame.
#AutoDeop - When join will automatic deop.
AntiOpDeopInGame: true
AutoDeop: true
#Whitelist AutoDeop -->Bypass AutoDeop System
#Whitelist Op-->Bypass Block /op and /deop Commands
Whitelist:
AutoDeop:
- 'Notch'
- 'Notch2'
Op:
- 'Notch'
- 'Notch2'
######################################
# IP Blacklist Options #
######################################
#IPBlackList - If true than ip contain in blacklistedip cannot join server
IPBlackList: false
BlacklistedIP:
- '127.0.0.1'
- '127.0.0.2'
- '127.0.0.3'
######################################
# Account Protection #
######################################
#AccountProtection - If true than staff account protection will be on.
AccountProtection: true

lang.yml

Prefix: '&aSafety&bGuard&d>>> '
Messages:
AntiCommandBlockAbuse: '&c<<Warning>> &b%player% abusing with &6CommandBlock.'
CommandBlockLocation: '&c<<ERROR>> &bAbused CommandBlock Location: &6%location%'
AutoDeop: '&6%player% &bOP took by &6SafetyGuard.'
AntiOpDeopInGame: '&bOp/Deop &cDisabled &bin game.'
BlacklistedIP: '&cThis IP Blacklisted.'
PluginReload: '&aSuccesful reload plugin.'
NoPermission: '&cSorry, you do not has permission.'
FailedLogin: '&cFailed Login Count: &6%failcount%, &cFailed Login IP: &6%failip%'
Usage-Apadd: '&cUsage: /ap <player> add <ip>'
Usage-Apremove: '&cUsage: /ap <player> remove <ip>'
NoIP: '&cError, That IP not in database.'
PlayerNoFound: '&cSorry, player not found.'
IPAdded: '&aSuccesful whitelisted IP to player.'
IPRemoved: '&aSuccesful removed IP from player'
IPDefault: '&aSuccesful removed account protection from player.'
NotSameIP: '&cSorry, not same IP with whitelisted IP list.'

Plan To Do

  • Suggest your idea

Similar projects

Plugin →