Due Modalità Multiplayer
| Tipo | Descrizione | Pro | Contro |
|---|---|---|---|
| Listen Server (Crea Multiplayer) | Hostate dal vostro client GMod. Amici si uniscono via Steam. | Zero setup, gratis, immediato. | Limite ~16-32 giocatori, dipende vostra CPU/upload, chiude se host esce. |
| Dedicated Server (srcds / Linux/Windows) | Processo separato (server only), 24/7, su VPS/PC dedicato. | Stabile, tanti slot, persistenza, admin remoto. | Richiede setup, port forwarding, risorse, manutenzione. |
Metodo 1: Listen Server (Più Facile, Per Giocate Tra Amici)
- Avviate GMod via Steam.
- Menu principale → "Crea multiplayer" (non "Gioca multiplayer").
- Configurate:
- Nome server: riconoscibile.
- Modalità gioco: Sandbox (default), TTT, DarkRP, Prop Hunt, ecc. (serve installato).
- Mappa:
gm_construct,gm_flatgrass,gm_atomic, workshop maps. - Max giocatori: 4-8 per listen server casalingo.
- LAN / Internet: spuntate "Internet" se amici non in LAN.
- Addons: si sincronizzano automaticamente ai client (Workshop).
- Cliccate "Avvia" / "Start".
- Server appare nella lista amici Steam dei vostri amici → click destro su vostro nome → "Unisciti al gioco".
- Se non funziona: Port Forwarding UDP 27015 sul router (vedi sotto).
Metodo 2: Dedicated Server (Per Community/Clan/Server Pubblici)
Windows (SteamCMD)
- Scaricate SteamCMD (steamcmd.zip) → estraete in
C:\steamcmd\. - Eseguite
steamcmd.exe→ loggate:login anonymous(o vostro account). - Cartella install:
force_install_dir C:\gmod_server\. - Scaricate:
app_update 4020 validate(4020 = GMod Dedicated Server). quit.- Configurate
C:\gmod_server\garrysmod\cfg\server.cfg(hostname, rcon_password, sv_password, gamemode, mapcycle, maxplayers, workshop collection ID). - Avviate:
srcds.exe -game garrysmod +map gm_construct +maxplayers 32 -tickrate 66 -authkey VOSTRA_STEAM_API_KEY +host_workshop_collection WORKSHOP_COLLECTION_ID. - Port Forwarding: UDP 27015, UDP 27005 (client), TCP 27015 (RCON) sul router/firewall.
Linux (Ubuntu/Debian - Standard per VPS)
sudo apt update && sudo apt install lib32gcc-s1 steamcmd(o scaricate steamcmd_linux.tar.gz).- Utente dedicato:
adduser steam→su - steam. steamcmd +login anonymous +force_install_dir /home/steam/gmod +app_update 4020 validate +quit.- Config
/home/steam/gmod/garrysmod/cfg/server.cfg. - Systemd service per auto-start/restart/logs.
- Firewall:
ufw allow 27015/udpufw allow 27005/udpufw allow 27015/tcp.
Workshop Collection (Addons Condivisi)
- Create una Collection Steam Workshop (profilo → Workshop → Collections → Create).
- Aggiungete tutti gli addon (mappe, armi, playermodels, tool, gamemode).
- Copiate Collection ID (URL:
steamcommunity.com/sharedfiles/filedetails/?id=123456789→ ID = 123456789). - Server:
-authkey VOSTRA_API_KEY +host_workshop_collection COLLECTION_ID. - Client: si scaricano auto all'join (se
cl_downloadfilter "all").
Risoluzione Problemi Comuni
- Amici "Server not responding" / timeout
- Port forwarding UDP 27015 mancante/errato. Verificate
caniyouseeme.orgporta 27015 UDP. Firewall Windows: regola in entrata UDP 27015 perhl2.exe/srcds.exe. - Lag / rubberbanding
- Upload insufficiente (serve ~1-2 Mbps per giocatore listen server). Dedicated su VPS con 1 Gbps risolve.
- Addon mancanti / errori lua
- Collection ID errato, API key invalida, addon rimossi da Workshop, conflitti tra addon.
- Crash mappa
- Mappa richiede addon non nella collection (es.
gm_constructbase OK, mappe custom no).
Comandi Admin Utili (Console Server / RCON)
rcon_password "vostra_pwd"→ poi in gioco/client:rcon comando.kick "nome",banid 0 "steamid",changelevel mappa,gamemode "darkrp",ulx adduser "nome" "superadmin"(se ULX installato).
- Come Creare Giochi per SNES (Super Nintendo): Toolchain, Assembler, Emulatori
- Hungry Shark: Come Sconfiggere il Granchio Gigante (Boss Finale)
Windows 7
- Come giocare a giochi PS2 da USB (Swap Magic + USB Advance)
- Giochi gratuiti da giocare offline (download, demo, vintage, Microsoft)
- Comandi flap in Microsoft Flight Simulator X: tasti rapidi per estendere e ritrarre
- Come convertire file Rx2 in WAV
- Come ri-registrare un iPod su un altro computer: guida completa
- Come convertire video YouTube in WMV per Windows Media Player
- Come mettere City Bus Simulator in inglese (hotfix Aerosoft)
- Risolvere problemi di Pandora Radio: cache, Flash, browser e antivirus