Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Soccer Anti-Abuse Fixes

Featured Replies

  • Administrator

Fixes common exploits in soccer matches: goalkeepers camping inside the goal, players blocking the ball against walls and spawn-killing near the kick-off.

Soccer Anti-Abuse Fixes (olds.ro) 1.0.0 Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later.

Fixes common abuse in SoccerJam style matches.

  • Goal camping: a player who stays within olds_sa_goalbox units of a goal for olds_sa_camptime seconds is put back out toward the centre (engfunc EngFunc_SetOrigin, only onto a free spot) and warned with HUD text once a round.
  • Ball hogging: one player may touch the ball olds_sa_maxtouch times in a row; further touches are ignored (the ball Touch is blocked) with a notice until another player touches it or the ball is left alone for 3 seconds.
  • Stuck ball: a ball that has not moved for olds_sa_stuck seconds is put back at the centre with no velocity (a carried ball does not count).
  • Kick-off: damage between players is blocked for olds_sa_kickoff seconds after the whistle: the end of the freeze time, or the ball going back to the centre.
  • Everything done is written to logs/olds_sa.log with the player's name and SteamID.
  • amx_sa_status (ADMIN_KICK) shows the ball, the goals and the players.

Goals and centre: configs/olds_sa_<map>.ini ("goal x y z", "centre x y z", see olds_sa_example.ini), else the map's soccerjam_goalnet and soccerjam_ballspawn entities. olds_sa_ball "PwnBall" names the ball classname(s) of the soccer mod, separated by spaces.

Cvars: olds_sa_maxtouch 3, olds_sa_goalbox 200, olds_sa_camptime 8, olds_sa_stuck 6, olds_sa_kickoff 3, olds_sa_ball "PwnBall".

No downloads (stock buttons/button10.wav). Install: compile scripting/olds_soccerfix.sma with amxxpc 1.10 (engine, fakemeta, ReAPI), add olds_soccerfix.amxx to plugins.ini after the soccer mod and copy data/lang/olds_soccerfix.txt.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_soccerfix.sma, test/satest_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-2054).

Soccer Anti-Abuse Fixes
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads6.5 KBUpdated 5 hours ago
Sign in to download
Pawn (AMX Mod X) · 470 lines
/*
 * Soccer Anti-Abuse Fixes (olds.ro workshop card LIB-2054)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 470 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.