Lucrăm la îmbunătățirea site-ului! Este posibil ca unele module să nu funcționeze corect!
2 mesaje

Autor subiect

  • Mesaje: 13
  • Reacții: 230
  • Mesaje utile: 0
  • Medalii


    🔒  BAN_ACCOUNT

    Code:
    /ban_account <character_name>
    What it does:
    This command blocks the account associated with the specified character name, whether that character is online or offline. It also disconnects all characters currently online from that account.

    ✅ Important: You cannot ban yourself or your own secondary characters. If you try to do so, you will receive:
    <Ban Account> You cannot ban yourself.

    In-Game Message:
    <Ban Account> character_name's account (ID: x) has been blocked.

    Example 1:
    Code:
    /ban_account uyvawd
    This will block the account that owns the character named uyvawd and will kick him. Any other characters logged in from that account will be disconnected (shown in Example 2).
    [C++] 🛡️ New BAN Commands: /ban_account and /ban_ip (with instant kick) - Mesaj 1 - Imagine 1

    Example 2:
    We target the same name as above, but that character is offline now, and the user went online on another character from the same account.
    [C++] 🛡️ New BAN Commands: /ban_account and /ban_ip (with instant kick) - Mesaj 1 - Imagine 2



    🌐 BAN_IP
    Code:
    [b]/ban_ip <character_name>[/b]
    What it does:
    This command blocks all accounts that have used the same IP address as the specified character. It also disconnects any currently online characters from those accounts.

    ⚠️ Protections in place:

    You cannot ban yourself, even if one of your alternate characters shares the same IP, but the rest of the accounts will be blocked and kicked.
     
    In-Game Messages:
    <BAN IP> All accounts with IP xx.xx.xx.xx were banned.
    <BAN IP> Account ID 10001 has been blocked.
    <BAN IP> Account ID 10002 has been blocked.
    <BAN IP> You attempted to ban yourself. Action was prevented.
      <-- Only if: You banned your own name OR You or one of your alternate characters share the banned ip address.
     
    Example:
    Code:
    /ban_ip uyvawd
    The command will:
    · Identify the IP of the character uyvawd.
    · Ban all accounts that have logged in using that IP.
    · Disconnect all online characters from those accounts, except your own if you share the IP.
    [C++] 🛡️ New BAN Commands: /ban_account and /ban_ip (with instant kick) - Mesaj 1 - Imagine 3


     
    💻 CODE
    In cmd.cpp
    Conținut: Ascuns
    Motiv: Trebuie să reacționezi la mesaj pentru a vedea conținutul.


    In cmd_gm.cpp
    Conținut: Ascuns
    Motiv: Trebuie să reacționezi la mesaj pentru a vedea conținutul.


     
    🧠 Notes for Developers & Staff
    Characters do not need to be online for /ban_account or /ban_ip to work.
    DESC_MANAGER::DestroyDesc(desc) is used to disconnect online characters.
     

    🧪 What’s coming next (future improvements in the next few days so you should check this topic later as well):

    ✅ Detection and prevention of banning GMs with higher or equal authority.
    ✅ Case-insensitive character name input (UyVaWd, uyvawd, UYVAWD, etc.).
    ✅ IP chain-tracking (ban all accounts across linked IPs used by that player).
    ✅ Character disconnection from all cores (e.g., core99) and channels.
    ✅ SQL query improvements for multi-server environments.
    ✅ New logging table to track:
    · Which GM used /ban_account or /ban_ip
    · Which accounts were banned
    · When it happened
    · (Optional) Reason for the ban — useful for internal moderation audits

    Cum descarc de pe TeraBox?

    • Este asemănător cu Mega.nz
    • Instalați-vă clientul lor de Download de aici
    • Faceți-vă un cont (vă puteți loga cu Facebook / Google / etc)
    • Dacă nu vreți să descărcați clientul de Download, folosiți acest site
    • Gata! Acum puteți descărca resursele

    De ce folosim TeraBox?

    • Este gratuit
    • Primești 1TB de spațiu gratuit la orice cont creat!
    • Este ușor de folosit și varianta premium este foarte ieftină
    • Fișierele nu sunt șterse niciodată
    TeraBox logo

    📢 Resurse Metin2 Premium!

    Zeci de resurse Metin2 Premium - exclusive și 100% funcționale începând cu 15.99€!.

    Vezi resursele Cumpără premium
    Premium
    Premium
    Anunț
    Avatar utilizator
    DnD
  • Mesaje: 15
  • Reacții: 61
  • Mesaje utile: 0
  • Status: Pierd vremea ^.^
  • Regat: Jinno
  • Discord: [Vezi ID]
  • Contact:

    Medalii

    la ce hackuri sunt acuma isi schimba si hwid-ul automat :)) nu prea ajuta

    🔥 Hai pe Discord! - Chat activ și support direct

    Te așteptăm și pe serverul de Discord - aici ne-am strâns toată comunitatea de Metin2 din România.

    Alătură-te acum!
    1300+ de membri activi!
    Robot Discord
    Roboțelu'
    Anunț
    Scrie răspuns

    Creează-ți un cont sau autentifică-te pentru a participa la discuție

    Trebuie să fii membru pentru a răspunde

    Creează-ți un cont

    Înregistrează-te și alătură-te comunității noastre

    Membrii pot crea subiecte noi și pot descărca resurse Metin2 Gratuit!


    Te poți înregistra rapid utilizând contul tău de Discord sau Github

    Înregistrare

    Autentifică-te

    • Subiecte similare

    Înapoi la “Sisteme Metin2”

    Informații

    Utilizatori ce navighează pe acest forum: darkgh0st, deniroacantha2, freziop, Mrli, realashkari, sch_404, w1ngoo și 7 vizitatori