Skip to main content

Commands

FR Guard has 3 commands. You can use them from the server console or from the in-game chat (if you're staff).

Who can use them?

By default:

  • ESX — users with group admin, superadmin or mod.
  • QBCore — users with group admin or god.
  • Standalone — users with ACE permission fiverank.admin.

The server console always has access.

fiverank_status

Shows the current state: language, detected framework, how many players are cached, etc.

> fiverank_status
[FiveRank Guard] ─── STATUS ─────────────────────
framework : esx
language : en
cache entries : 47
checks (1h) : 142
rejections (1h): 2
─────────────────────────────────────────────────

Use this to quickly check that everything is working.

fiverank_clear_cache

Clears the cache. The next time any player connects, FR Guard will do a fresh check instead of using the previous result.

> fiverank_clear_cache
[FiveRank Guard] cache cleared

When to use it: if you've just banned or unbanned someone and want the change to take effect immediately.

fiverank_recheck <id>

Re-checks a specific player ignoring the cache. If they shouldn't be in the server anymore (because you just banned them), FR Guard will automatically kick them.

> fiverank_recheck 12
[FiveRank Guard] re-check 12 (Carlos) → BANNED → kick

Where 12 is the player's server ID (the number you see in the player list).

Give access to someone who isn't a framework admin

If you want to give someone access to these commands without making them a framework admin, add this line to your server.cfg:

add_ace identifier.discord:123456789012345678 fiverank.admin allow

Replace 123456789012345678 with their Discord ID.