What's new
What's new

New messages New topics Systems Serverfiles 3D Models Web Scripting

Metin2Resources

👋 Welcome to Metin2 Resources — your hub for professional Metin2 server development.

Create a free account to access advanced systems, serverfiles, tutorials and connect with other developers.

🚀 Join today and start building better.

Ban System

RESOURCES HUB

Premium
📜 Messages 275
👍 Reactions 1,619
🏆 Points 425
🌐 Website metin2global.to
P2P-supported ban system:

1: When a GM types `/ban [player name]`, the status section in the account table is set to BLOCK.
2: When a GM types `/unban [player name]`, the status section in the account table is set to OK.
3: SQL Inject Protection: Attempts to infiltrate the database using EscapeString are prevented.
4: Offline Ban Support: The player does not need to be online to be banned; the process is completed even if they are offline.
5: Name Verification: If no player with the entered name exists, the system displays a "Name not found" warning
. 6: Ban Status Check: If the player is already banned, a "This player is already banned" warning is displayed.
7: Activity Check: If an action is taken against someone who is not banned, a "This player is not already banned" warning is displayed.
8: Global Announcement: For the banned player, a notice is sent to the entire server stating "Player named XX has been banned!".
9: P2P Disconnection: HEADER_GG_DISCONNECT_PLAYER (P2P) instantly disconnects the player from the game, regardless of which channel they are on.

 

Latest posts

Back
Top Bottom