️ OPProtection - Bảo Vệ Tài Khoản OP Cho Server Minecraft
[HR][/HR]
Giới thiệu Plugin
OPProtection là plugin bảo vệ tài khoản OP toàn diện cho Minecraft server, tích hợp nhiều tính năng bảo mật cao cấp:
- Chống UUID/IP Spoofing
- Bảo vệ tài khoản OP qua Discord 2FA
- Chặn lệnh nguy hiểm
- Hỗ trợ GeoIP Blocking
- Chế độ khẩn cấp
- Tích hợp AuthMe/NLogin
✅ Tính năng nổi bật:
- Bảo vệ OP với xác minh 2 lớp qua Discord
- Chặn truy cập từ quốc gia không cho phép
- Chặn các lệnh nguy hiểm như /op, /stop, /execute
- Chế độ khẩn cấp khi server bị tấn công
- Tương thích với BungeeCord/Velocity
- Hỗ trợ AuthMe/NLogin
⚙️ Cấu hình mẫu (config.yml)
Code (Text):
# Anti UUID/IP Spoof
ip-forwarding: false # true nếu server sử dụng Bungee/Velocity forwarding
# Whitelist OP - Thêm tên admin vào đây
op-whitelist:
- ig_cua_ban
op-password: mat_khau_cua_ban # Thay đổi mật khẩu này!
pass-timeout: 50 # Thời gian hết hạn xác minh (giây)
# Chặn tab-complete cho các lệnh nhạy cảm
tab-complete-block:
enabled: true
blocked-commands:
- ver
- version
- about
- bukkit:ver
- bukkit:version
- bukkit:about
- minecraft:ver
- minecraft:version
- minecraft:about
- icanhasbukkit
# Danh sách lệnh bị chặn
disable-commands:
- pl
- plugins
- about
- bukkit
- ver
- version
- icanhasbukkit
- server
- luckperms
- luckperms:lp
- lp
- op
- setblock
- kill
- /sphere
- pt
- powertool
- ept
- execute
- perms
- perm
- permission
# Lệnh được phép khi chưa xác minh OP
allowed-commands:
- login
- register
# Hành động khi đăng xuất (tự động)
logout-actions:
- deop %player%
- lp user %player% permission unset *
- gamemode survival %player%
# Discord Integration
discord:
enabled: true
token: DISCORD_BOT_TOKEN # Thay bằng token bot của bạn!
channel-id: "id_channel"
admin-role-id: "id_admin_role"
verify-role-id: "id_role_verify # ID role "OPProtection Verify" nhớ tạo
use-2fa: true # Bật xác thực 2 lớp
# GeoIP Blocking
geoip:
enabled: true
allowed-countries:
- VN
block-message: '&cQuốc gia của bạn không được phép truy cập server!'
# AuthMe/NLogin Integration
auth-integration:
enabled: true
allow-auth-commands:
- login
- register
- l
- reg
# Emergency Mode
emergency-mode:
enabled: true # TẮT khi không cần thiết!
blocked-commands:
- op
- deop
- stop
- reload
- plugins
- version
- icanhasbukkit
- execute
- setblock
- kill
- sphere
- pt
- powertool
- ept
kick-message: '&cServer đang trong chế độ khẩn cấp! Vui lòng thử lại sau.'
⌨️ Lệnh & Quyền
Lệnh
Chức năng
Quyền
/oppass <mật khẩu> Xác minh OP trong game opprotection.verify
/oppass confirm <player> Xác minh OP từ console opprotection.admin
/opreload Reload cấu hình opprotection.admin
/opemergency Bật/tắt chế độ khẩn cấp opprotection.admin
Dependencies (Phụ thuộc)
- ProtocolLib (bắt buộc)
- LuckPerms (nếu dùng tính năng permission)
- AuthMe hoặc NLogin (nếu bật tính năng tích hợp)
- Spigot 1.20+ (yêu cầu)
[HR][/HR]
English Version
OPProtection - Comprehensive OP Account Protection
OPProtection is a comprehensive protection plugin for your Minecraft server's OP accounts, integrating multiple high-security features:
- Anti UUID/IP Spoofing
- OP Account Protection with Discord 2FA
- Dangerous Command Blocking
- GeoIP Blocking Support
- Emergency Mode
- AuthMe/NLogin Integration
✅ Key Features:
- OP protection with 2FA verification via Discord
- Block access from unauthorized countries
- Block dangerous commands like /op, /stop, /execute
- Emergency mode when server is under attack
- BungeeCord/Velocity compatibility
- AuthMe/NLogin support
Configuration (config.yml)
See Vietnamese section above for detailed configuration. Key settings include:
- IP forwarding configuration for proxy networks
- OP whitelist and password settings
- Command blocking lists
- Discord integration with 2FA
- GeoIP country restrictions
- Emergency mode settings
Commands & Permissions
/oppass <password>
Verify OP in-game
opprotection.verify
/oppass confirm <player>
Verify OP from console
opprotection.admin
/opreload
Reload configuration
opprotection.admin
/opemergency
Toggle emergency mode
opprotection.admin
⚠️ Lưu ý quan trọng
- Thay thế DISCORD_BOT_TOKEN bằng token bot thật của bạn
- Đổi mat_khau_cua_ban thành mật khẩu mạnh
- Tắt chế độ khẩn cấp khi không cần thiết: emergency-mode: enabled: false
- Cấu hình đúng ip-forwarding nếu sử dụng proxy
- Thêm tất cả admin vào op-whitelist
Hỗ trợ / Support: Habitat_ (discord)
Nếu có lỗi, vui lòng inbox mình nhé
DM me if there's any issue

Created with ❤️ for Minecraft Community