Home›Java›Mods›DDC - TwoFactorOP/AutoDeop
DDC - TwoFactorOP/AutoDeop
ModsJava

DDC - TwoFactorOP/AutoDeop

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Code (Text):
# DDC Plugin Configuration
# Cấu hình chính của plugin DDC

# Plugin Settings
plugin:
  # Debug mode
  debug: false
 
  # Messages configuration
  messages:
    # Enable custom messages from messages.yml
    enabled: true
 
    # Language file to use (messages_vi.yml, messages_en.yml, etc.)
    language: messages_vi.yml
 
    # Auto-reload messages when config changes
    auto-reload: true

# Auto-Deop Settings
auto-deop:
  # Bật/tắt tính năng tự động deop khi người chơi rời server
  enabled: true
 
  # Bật/tắt tính năng tự động deop khi người chơi vào server
  on-join: true
 
  # Ghi log vào console khi deop người chơi
  log-to-console: true
 
  # Thông báo cho người chơi khi bị deop
  notify-player: true

# Auto-Gamemode Settings
auto-gamemode:
  # Bật/tắt tính năng tự động chuyển gamemode từ CREATIVE về SURVIVAL
  enabled: true
 
  # Ghi log vào console khi chuyển gamemode
  log-to-console: true
 
  # Thông báo cho người chơi khi bị chuyển gamemode
  notify-player: true

# 2FA Authentication Settings
2fa-auth:
  # Tên hiển thị trong Google Authenticator app
  issuer: MinecraftServer
 
  # Thời gian timeout cho xác thực (giây)
  timeout: 60
 
  # Số lần nhập sai tối đa trước khi kick
  max-attempts: 3
  players:
    DragonDirt:
      secret: VTRO6U4E3T3OUM7WZQKNPCGVNNJHCCYD
      enabled: true
# Ví dụ:
# PlayerName:
#   secret: "ABCDEFGHIJKLMNOP"
#   enabled: true

# Whitelist Checker Settings
whitelist-checker:
  # Bật/tắt tính năng kiểm tra whitelist
  # Chỉ người trong whitelist 2FA mới được phép có OP và dùng creative mode
  enabled: true
 
  # Khoảng thời gian kiểm tra (giây) - mặc định 30 giây (tối ưu để chống hacker)
  # Ngoài ra còn check ngay khi: player join, được op, thay đổi gamemode
  check-interval: 30
 
  # Ghi log vào console khi deop/thay đổi gamemode
  log-to-console: true
 
  # Thông báo cho người chơi khi bị deop/thay đổi gamemode
  notify-player: true

# IP Whitelist Settings
ip-whitelist:
  # Bật/tắt tính năng IP whitelist
  # Người chơi trong whitelist 2FA chỉ có thể login từ IP đã đăng ký
  enabled: true
 
  # Lý do ban khi IP không khớp
  ban-reason: §c§lTÀI KHOẢN BỊ TẤN CÔNG!\n§e§lIP không khớp với IP đã đăng ký.\n§7Liên
    hệ admin nếu bạn là chủ tài khoản.
 
  # Thời gian ban (milliseconds) - 0 = vĩnh viễn
  ban-duration: 0
 
  # Thông báo cho admin online khi phát hiện tấn công
  notify-admins: true
 
  # Log successful logins
  log-success: true

# Admin Command Protection Settings
admin-command-protection:
  # Bật/tắt tính năng theo dõi lệnh admin
  enabled: true
 
  # Danh sách lệnh cần theo dõi
  protected-commands:
  - op
  - deop
  - gamemode
  - give
  - tp
  - ban
  - kick
  - whitelist
  - pardon
  - whitelist add
  - whitelist remove
 
  # Yêu cầu 2FA cho các lệnh được bảo vệ (chưa implement)
  require-2fa-for-protected: false
 
  # Ghi log tất cả lệnh admin vào console
  log-all-admin-commands: true
 
  # Thông báo khi dùng lệnh quan trọng (op, ban, kick, whitelist)
  # Lưu ý: TẤT CẢ lệnh trong protected-commands đều được gửi Discord webhook
  notify-on-critical-commands: true

# Discord Webhook Settings
discord:
  # Bật/tắt Discord webhook notifications
  enabled: false
 
  # Discord Webhook URL
  # Hướng dẫn tạo:
  # 1. Vào Discord server → Click chuột phải vào channel
  # 2. Edit Channel → Integrations → Webhooks → Create Webhook
  # 3. Copy Webhook URL và paste vào đây
  webhook-url: YOUR_WEBHOOK_URL_HERE
 
  # Tên server hiển thị trong Discord
  server-name: Minecraft Server
 
️ DDC - DragonDirtCore | Advanced Security Plugin
High-level security plugin for Minecraft servers with 2FA system and multi-layer protection!
Main Features:
2FA Authentication System
️ Whitelist Protection System
IP Whitelist Protection
Admin Command Protection
⚡ Auto-Deop & Auto-Gamemode
Perfect for:
Requirements:
Commands:
Special Features:
Installation:
Plugin rq:
PlaceholderAPI
  1. Place plugin in plugins/ folder
  1. Restart server
  1. Configure in config.yml and messages.yml
  1. Setup 2FA for admins: /2fa setup <player> ( ONLY CONSOLE )
Protect your server with professional multi-layer security system!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

DDC - TwoFactorOP/AutoDeop is a free Minecraft Java mod. Compatible with Minecraft 1.20, 1.20.6, 1.21. Downloaded 22 times (via Spigot). Download it and open it directly in the game.

Explore more