Commands

Commands

These are chat/console commands registered in ND Core that players can use.

pay

This command is not restricted and can be used by anyone. It's used to give a nearby player money from the "cash" account.

/pay [amount]

ArgTypeDescription
amountnumberamount of money

getkeys

If a player is inside their owned vehicle, they can use this command to get another pair of keys for their vehicle. This command only works if core:useInventoryForKeys is used in ndcore.cfg.

/getkeys

givekeys

If a player is inside their owned vehicle, they can use this command to give another player key access to their vehicle. This command only works if core:useInventoryForKeys is not used in ndcore.cfg.

/givekeys


Admin commands

All commands below are restricted to admins, admins are set trough ndcore.cfg or using the setgroup command.

setmoney

Admin command to manage player money.

/setmoney [target] [action] [type] [amount]

ArgTypeDescription
targetplayerIdTarget player's server id
actionstringremove/add/set
accountstringbank/cash
amountnumberamount of money

setjob

Admin command to set a players job.

/setjob [target] [job] [rank]

ArgTypeDescription
targetplayerIdTarget player's server id
jobstringjob name
ranknumberoptional, default 1

setgroup

Admin command to set a players group.

/setgroup [target] [action] [job] [rank]

ArgTypeDescription
targetplayerIdTarget player's server id
actionstringremove/add
groupstringgroup name
ranknumberoptional, default 1

skin

Admin command to set a player in character customization mode.

/skin [target]

ArgTypeDescription
targetplayerIdTarget player's server id

character

Admin command to set a player into character selection menu.

/character [target]

ArgTypeDescription
targetplayerIdTarget player's server id

unlock

Admin command to unlock a vehicle nearby.

/unlock

revive

Admin command to revive players.

/revive [target]

ArgTypeDescription
targetplayerIdTarget player's server id

dv

Admin command to delete vehicles.

/dv [range]

ArgTypeDescription
rangenumberThe range to select vehicles for deleteion from

goto

Admin command used to teleport to a player.

/goto [target]

ArgTypeDescription
targetplayerIdTarget player's server id

bring

Admin command used to teleport a player.

/bring [target]

ArgTypeDescription
targetplayerIdTarget player's server id

freeze

Admin command used to freeze a player.

/freeze [target]

ArgTypeDescription
targetplayerIdTarget player's server id

unfreeze

Admin command used to unfreeze a player.

/unfreeze [target]

ArgTypeDescription
targetplayerIdTarget player's server id

vehicle

Admin command to spawn a vehicle.

/vehicle [model]

ArgTypeDescription
modelstringThe model name