Installation
Installation
1. Drop the resource
Unzip the package into your server's resources/ folder. Final path should look like:
server-data/resources/[suty]/suty-slap/
The folder must be named exactly suty-slap — there's a built-in anti-rename check that stops the resource if the folder is renamed.
2. Start it in server.cfg
ensure ox_lib # already required by most servers
ensure suty-slap
ox_lib must start before suty-slap.
3. (Optional) Start a target system
Only needed if you want the right-click "Bofetear" / "Patada" options. Targeting is enabled by default (Config.UseTarget = true).
# pick ONE
ensure ox_target
# or
ensure qb-target
Set Config.UseTarget = false if you only want the chat commands and no target system.
4. Restart your server
The Suty Slap ASCII banner appears in the console on a healthy boot:
███████╗██╗ ██╗████████╗██╗ ██╗
██╔════╝██║ ██║╚══██╔══╝╚██╗ ██╔╝
███████╗██║ ██║ ██║ ╚████╔╝
╚════██║██║ ██║ ██║ ╚██╔╝
███████║╚██████╔╝ ██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚═╝
███████╗██╗ █████╗ ██████╗
██╔════╝██║ ██╔══██╗██╔══██╗
███████╗██║ ███████║██████╔╝
╚════██║██║ ██╔══██║██╔═══╝
███████║███████╗██║ ██║██║
╚══════╝╚══════╝╚═╝ ╚═╝╚═╝
v1.0.0 | Loaded
If you see FATAL: resource must be named "suty-slap" instead, you renamed the folder — change it back.
5. Quick test
In-game, walk up next to another player and try:
/slap
/patada
The animations play on both peds and the slap sound radiates to nearby players. If Config.UseTarget = true, you should also see the right-click options on any player ped.
6. (Optional) Lock it down to admin-granted players
By default everyone with access to the command can use it. To restrict to specific players an admin chooses:
Config.RequirePermission = true
Then in-game an admin grants per-player access:
/slapperm 5 on # grant player ID 5
/slapperm 5 off # revoke
Grants are by license and persist across server restarts when Config.PersistGrants = true (default).
Next steps
- Configuration — every setting in
config.luaexplained - Commands — full command reference
- Troubleshooting — fixes for common issues
