Skip to main content

Console Commands

  • mrp_run/mrp_run_sh/mrp_run_sh - Allows you to run server/shared/client side code from your client console. e.g., mrp_run print("Hello World")

    • When using these commands, there are variables available to you:
    • MRP_PLY—Your LocalPlayer
    • MRP_ENT—What your player is currently looking at
    • These commands (in most situations) will also output the result of the command. For example, mrp_run print(MRP_ENT) will output the entity that your player is looking at.
  • mrp_netdebug - Allows you to see the network traffic of your server over the next 60 seconds.

  • mrp_getplatepos - Gets the position of where your camera is currently looking for a vehicle's license plate config

  • monolith_giveitem - Gives you an item

  • map_export_debug - Gets the debug information (map bounds) for the current map

  • mrp_gmod_camera - Quickly switches you to having the camera tool

  • mrp_generate_material_code - Generates the code for resources on the map (Wood, Ores)

  • mrp_debug_trains - Re-sets up the trains/metro on the map

  • mrp_debug_loadConfig - Reloads the Monolith Config

  • mrp_refresh - Attempts to run a Lua refresh

  • mrp_reload - Respawns NPCs and Entities

  • mrp_reload_npcs - Respawns NPCs

  • mrp_resetchar - Resets your character

  • mrp_skipwaitingqueue <steamid> - Skips the waiting queue for a specific SteamID/SteamID64

  • mrp_testMapScale - Tests map scales

  • mrp_getpos - Gets the current players positon

  • mrp_getpos_trace - Gets the position the camera is looking at

  • mrp_getmodel_trace - Gets the model that the camera is currently looking at

  • mrp_getbodygroups_trace - Gets the bodygroups of the model the camera is currently looking at

  • mrp_getbonenames - Gets the bonenames of the model the camera is currently looking at

  • PrintHooks <hookName> - Gets all the hooks for a specific hookName

  • mrp_getentinfo - Gets entity info like position and angle for what the camera is currently looking at

  • mrp_getscript_trace - Gets the vehicle script of the vehicle that the camera is currently looking at

  • mrp_dev_printchallengerewards <category> - Prints out all the rewards of challenges in a category

  • mrp_dev_newchallenges - Generates new challenges for the player

  • mrp_dev_getsubmaterials - Prints out sub materials of a CW2 weapon that the player is currently holding

  • mrp_dev_giveskin <skin> <amount> - Gives a skin to the player

  • mrp_debug_hotwiringUI - Opens the hotwiring UI

  • _minimapEditMenu - Opens the minimap edit menu

  • mrp_alert <text> <color> <time> <target?> - Creates an alert on all player screens

  • mrp_admin - Opens the admin menu

  • mrp_smoothcam_on/mrp_smoothcam_off - Enables/Disables smoothcam

  • mrp_smoothcam_toggle_nameplates - Enables/Disables nameplates on smoothcam

  • mrp_positiontool - Opens the dev position tool

  • mns restart - Restarts your local server