For the complete documentation index, see llms.txt. This page is also available as Markdown.

Commands and Permissions

rcore_drugs has a small set of commands for admins and players.

⌨️ Commands

Command
Who uses it
Description

/drugs_admin

Admins

Opens the admin panel.

/drugs_addiction

Players

Shows your current addiction level.

drugs_seed

Server console

Imports default gameplay data after first install.

🛡️ Admin Access

Admin access depends on your framework.

ESX checks the groups in Config.FrameworkAdminGroups.

Default groups:

[Framework.ESX] = { 'superadmin', 'admin' }

✏️ Change Commands

Edit Config.Commands in config.lua.

Config.Commands = {
    Admin = "drugs_admin",
    CheckAddiction = "drugs_addiction"
}

Last updated