Documentation › Hunting System › Commands & Permissions
Chat commands, who can use them and how to rename them.
| Command | Who | What it does |
|---|---|---|
/adminh |
Admins | Opens the live admin panel |
/huntboost |
Admins, ACE smilescripts_hunting.boost, console |
Starts the server-wide hunting boost |
/huntlegend [id] |
Admins, console | Releases a legendary animal (random if no id) |
/huntlegend stop |
Admins, console | Removes the active legendary animal |
/huntlicense [id] |
Police, admins | Checks a player's hunting license |
/huntlicense give [id] [days] |
Admins; police if Config.Police.canGive |
Gives a license |
/huntlicense revoke [id] |
Admins; police if Config.Police.canRevoke |
Takes a license away |
/hunttablet |
Everyone (off by default) | Opens the remote tablet |
/huntparty |
Everyone | Opens the hunting party (invites, members) |
/huntradar |
Everyone | Hides / shows the mini radar |
/edittable |
Admins | Moves the tanner's work table (saved for everyone) |
/edittable on / off |
Admins | Shows or hides the tanner's work table |
/trapbait |
Admins | Positions the bait inside the nearest trap |
Set a new name, or false to turn a command off.
Config.Commands = {
admin = 'adminh',
boost = 'huntboost',
legend = 'huntlegend',
license = 'huntlicense',
tablet = false, -- e.g. 'hunttablet'
edittable = 'edittable', -- tanner work table
trapbait = 'trapbait', -- bait position inside a trap
party = 'huntparty', -- hunting party
}A player is an admin when any of these is true:
Config.Adminssmilescripts_hunting.admin (name set in Config.AdminAce)admin or superadmin, or QBCore permission admin / godConfig.Police = {
jobs = { 'police', 'sheriff', 'ranger' },
requireDuty = true, -- QBCore / QBox on-duty flag
canGive = false, -- /huntlicense give
canRevoke = true, -- /huntlicense revoke
}Both checks live in bridge/server/permissions.lua. Replace Bridge.IsAdmin or Bridge.IsPolice there to use your own permission or job system.