Guides Tutorials Server setup Optimization Security

Advanced guides for Metin2, Minecraft, CS 1.6, FiveM, Discord & Promotion

Includes: how to create servers, hosting/VPS configuration, firewall, optimization, backups, plugins/mods, and best practices.

Level: Beginner Advanced
Systems: Windows & Linux
Focus: Security & Stability
Stack: Paper/Purpur, HLDS, FiveM + txAdmin, Discord Webhooks
RPG

Metin2

Client, connection + infrastructure/legality notes for servers.

Open guides
Sandbox

Minecraft

Paper/Purpur server, plugins, permissions, voting, optimization.

Open guides
Shooter

Counter-Strike

CS 1.6 HLDS with SteamCMD + classic plugins (AMX Mod X).

Open guides
Roleplay

FiveM

txAdmin install, server.cfg, resources, DB, security.

Open guides
Community

Discord

Server structure, roles/permissions, integrations.

Open guides
Marketing

Promotion

Listing, SEO/OG, banners, UTM, traffic ideas.

Open guides

Metin2

Client & connection + general directions for server infrastructure (legality, hosting, security). We do not provide or link copyrighted server files; use only resources you have the legal right to use.

Client: install & update
  1. Download the official client or the launcher provided by your target server.
  2. Extract to a short path (e.g., C:\\Games\\Metin2).
  3. Run launcher.exe / patcher.exe for updates.
  4. Add the folder to your antivirus/Defender exceptions.
Server: overview (legal & infrastructure)
Respect licenses and local laws. Do not distribute files you don’t own the rights to.

Hardware / VPS

  • VPS/Dedicated with strong single-core CPU, 8–16 GB RAM, NVMe SSD.
  • OS: FreeBSD (classic) or Linux (easier administration). Dedicated IPv4.
  • DDoS protection at the datacenter level.

Security basics

  • Use SSH keys only; disable password login.
  • Enable firewall (pf on FreeBSD / ufw on Linux).
  • Daily backups for database & files; test restores.
# Linux example (adapt channel ports)
sudo ufw allow 22/tcp
sudo ufw allow 13000:13099/tcp
sudo ufw enable
Useful links

Minecraft Paper/Purpur Server

Complete setup for 1.21.x (Paper/Purpur), core plugins, LuckPerms permissions, voting, optimization & security.

Requirements & preparation (Windows & Linux)
  • Install Java 21 (JDK). Check with java -version.
  • Create a dedicated server folder, e.g., C:\\mc\\for4games or /opt/mc/for4games.
  • Download purpur.jar (or paper.jar) and place it in the folder.
First run + EULA

Windows (start.bat)

@echo off
java -Xms4G -Xmx4G -jar purpur.jar --nogui
pause

Linux (start.sh)

#!/usr/bin/env bash
java -Xms4G -Xmx4G -jar purpur.jar --nogui

Run once to generate eula.txt. Open it and set eula=true, then start again.

Ports & firewall
# Linux
sudo ufw allow 25565/tcp
# Windows PowerShell (Admin)
New-NetFirewallRule -DisplayName 'Minecraft 25565' -Direction Inbound -LocalPort 25565 -Protocol TCP -Action Allow
Essential plugins (drop-in)
  • EssentialsX (basics), Vault (economy API).
  • LuckPerms (permissions), WorldEdit + WorldGuard (building & protection).
  • VotingPlugin + NuVotifier (votes), Jobs Reborn, Crates (e.g., CrazyCrates).
Client mods: OptiFine / Forge / Fabric
  • Download and install matching versions for your Minecraft version.
  • For Forge/Fabric modpacks, copy .jar mods into %AppData%/.minecraft/mods.
  • Start the Forge/Fabric profile in the launcher.
LuckPerms quick commands
# console (or in-game as OP)
lp user PlayerName parent set default
lp group default permission set essentials.spawn true
lp group default permission set essentials.home true
lp group default permission set worldguard.region.claim true

For MySQL: edit plugins/LuckPerms/config.yml with DB credentials, then run lp sync.

VotingPlugin + NuVotifier (VoteParty optional)
  1. In plugins/VotingPlugin/Config.yml: add voting sites and rewards (crate keys, money).
  2. Configure NuVotifier (host/port, token). Open the port if needed.
  3. VoteParty: set the threshold (e.g., 20 votes) and global rewards.
Optimization & best practices
  • Set reasonable view-distance and simulation-distance (e.g., 6–8).
  • Tune paper.yml/purpur.yml (entity limits, redstone, mob spawning).
  • Avoid heavy plugins without testing on a staging server.
  • Run with --nogui; monitor TPS (/tps).
Backups & auto-restart
# cron (Linux) — daily backup at 05:00
0 5 * * * tar -czf /backups/mc-$(date +\%F).tar.gz /opt/mc/for4games --exclude='logs/*' --exclude='cache/*'

Counter-Strike (CS 1.6 HLDS)

Install a CS 1.6 server with SteamCMD (HLDS), ports, base config, and classic plugins (AMX Mod X).

Install (SteamCMD)
  1. Install SteamCMD (Windows or Linux).
  2. Create a server folder (e.g., /opt/cs16).
  3. Run SteamCMD and execute:
login anonymous
force_install_dir /opt/cs16
app_update 90 validate
quit
Ports & start
# Linux
sudo ufw allow 27015/udp
# Linux
./hlds_run -game cstrike +maxplayers 16 +map de_dust2 -port 27015 -pingboost 2
# Windows
hlds.exe -console -game cstrike +maxplayers 16 +map de_dust2 -port 27015
Base config (cstrike/server.cfg)
hostname "For4Games CS 1.6"
sv_lan 0
mp_timelimit 30
mp_maxrounds 20
mp_freezetime 2
mp_startmoney 800
sv_voiceenable 1
log on

List your maps in mapcycle.txt.

AMX Mod X (plugins)
  • Install Metamod, then AMX Mod X.
  • Enable desired plugins in plugins.ini.
  • Restart the server and check logs.

FiveM txAdmin

Quick setup with txAdmin, server.cfg configuration, resources (QBcore/ESX), DB, security, whitelist & maintenance.

Install & first run
  1. Download FiveM server artifacts (Windows/Linux) and start txAdmin.
  2. In the UI: Deploy Recipe or Manually Set Up ? create server profile.
  3. Generate a license key in Keymaster and paste it when asked.
server.cfg (base example)
sv_licenseKey your_key_here
sv_hostname "For4Games RP"
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sets tags "roleplay,romania"
set onesync on
sv_maxclients 64
ensure chat
ensure sessionmanager
# DB
set mysql_connection_string "mysql://user:pass@127.0.0.1/fivem?charset=utf8mb4"
ensure oxmysql
# Framework
# ensure qb-core
# ensure es_extended
# Resources
ensure spawnmanager
ensure hardcap
ensure baseevents

Open ports 30120/TCP and 30120/UDP on your firewall/router.

Database & resources
Security & maintenance
  • Use a whitelist (Discord forms/invites) and keep admin to the minimum necessary.
  • Keep resources up to date; test changes on a staging server.
  • Back up DB with mysqldump and resources/ folder regularly.
  • Get DDoS protection from your host; disable/limit RCON if unused.

Discord Community & Integrations

Server architecture, roles, permissions, AutoMod, logs, webhooks and basic site integration.

Channel structure + roles (quick model)
@Owner, @Admin, @Moderator, @Helper, @Member, @Verified
  • Channels: #announcements, #rules, #general, #support, #applications, #media, voice Lobby.
  • Enable Community, Membership Screening and AutoMod.
  • Set up a private audit-log channel.
Webhook to your site (PHP)
<?php
$webhook = 'https://discord.com/api/webhooks/ID/TOKEN';
$data = [
  'content' => '**New listing:** A server was posted on For4Games',
  'embeds' => [[
    'title' => 'Server Name',
    'description' => 'Short description',
    'url' => 'https://for4games.com/servere.php?id=123',
  ]]
];
$ch = curl_init($webhook);
curl_setopt_array($ch,[CURLOPT_POST=>1,CURLOPT_HTTPHEADER=>['Content-Type: application/json'],CURLOPT_POSTFIELDS=>json_encode($data),CURLOPT_RETURNTRANSFER=>1]);
$resp = curl_exec($ch);
?>

Keep your TOKEN secret. Use environment variables on the server.

Promotion (For4Games)

Listing, SEO, graphics, traffic tracking (UTM), and conversion best practices.

Listing & assets
  • Logo 512/512 (good contrast), banner 1200/400 with large clear text.
  • Description: 3/5 sentences + bullet points with unique features.
  • Add Discord and website links; make the vote button visible.
SEO & OpenGraph
<meta property="og:title" content="Server Name">
<meta property="og:description" content="Short, compelling description">
<meta property="og:image" content="https://for4games.com/path/banner.jpg">
<meta name="twitter:card" content="summary_large_image">
UTM & Analytics
https://for4games.com/servere.php?id=123&utm_source=discord&utm_medium=post&utm_campaign=launch

Measure which channel brings the most players and double down there.

Need a new guide added? Message us on Contact well add it.