JJM Modifications

Commands & Exports

All available chat commands and the server-side Notify export.

Chat Commands#

CommandPermission RequiredDescription
/adminmenuadmin.menuOpen the admin menu
/noclipadmin.noclipToggle noclip mode
/godadmin.godToggle god mode
/revive [id]admin.playerRevive yourself or a target player by server ID
/fixadmin.vehicleFix the vehicle you are currently in
/giveitem <id> <item> [amount]admin.developerGive an inventory item to a player by server ID
/addadmin <license> [group]group.admin / group.superadminAssign a player to an ACE group at runtime

Command Notes#

  • Command names can be changed in config.lua under Config.Commands.
  • /addadmin accepts admin, moderator, or helper as the group argument. It defaults to admin if no group is specified.
  • /addadmin can only be run in-game by an existing admin — it cannot be run from the server console.

Server-Side Export#

JM-AdminMenu exposes one server-side export that other resources can call to display a notification to a player.

`Notify`#

Sends a notification to a connected player.

exports['jm-adminmenu']:Notify(source, notifyType, message)
ParameterTypeDescription
sourcenumberThe player server ID to notify
notifyTypestringNotification style: "success", "error", "warning", or "info"
messagestringThe message to display

Example:

exports['jm-adminmenu']:Notify(source, 'success', 'Welcome to the server!')
Note

The export respects Config.Notifications.Provider. If jm-notify is installed and the provider is set to "auto" or "jm-notify", notifications will route through it automatically.