🕹️Commands

The full up-to-date list of the core commands.

c.client.editor.addon_live_update

  • Carbon Editor requested RCon command for loading an addon.

c.find

  • Searches through Carbon-processed console commands.

c.findchat

  • Searches through Carbon-processed chat commands.

c.addconditional

  • Adds a new conditional compilation symbol to the compiler.

c.remconditional

  • Removes an existent conditional compilation symbol from the compiler.

c.conditionals

  • Prints a list of all conditional compilation symbols used by the compiler.

c.client.loadconfig

  • Loads Carbon Client config from file.

c.client.saveconfig

  • Saves Carbon Client config to file.

c.client.addons

  • Prints a list of the currently available addons.

c.client.stats

  • Prints a list of useful statistic information of Carbon Client performance.

c.client.addons_reinstall

  • Unloads all currently loaded addons then reloads them relative to the config changes. (Options: async [bool|true])

c.client.addons_uninstall

  • Unloads all currently loaded addons then reloads them relative to the config changes.

c.loadconfig

  • Loads Carbon config from file.

c.saveconfig

  • Saves Carbon config to file.

c.wipeui

  • Clears the entire CUI containers and their elements from the caller's client.

c.resethooks

  • Clears all progress on all of the current hooks (hook time, fires, memory usage and lag spikes).

c.shutdown

  • Completely unloads Carbon from the game, rendering it fully vanilla. WARNING: This is for testing purposes only.

c.help

  • Returns a brief introduction to Carbon.

c.version

  • Version information of the Carbon build and Rust.

c.build

  • Information about the currently running Carbon build.

c.protocol

  • Protocol information used by the hook system of the Carbon build.

c.commit

  • Information about the Git commit of this build.

c.reloadextensions

  • Fully reloads all extensions.

c.extensions

  • Prints a list of all currently loaded extensions.

c.harmonyload

  • Loads a mod from 'carbon/harmony'. The equivalent of Rust's harmony.load that's been stripped away under framework management.

c.harmonyunload

  • Unloads a mod from 'carbon/harmony'. The equivalent of Rust's harmony.unload that's been stripped away under framework management.

c.hooks

  • Prints total information for all currently active and patched hooks in the server. (syntax: c.hooks [loaded] [-p|-s|-d])

c.hookinfo

  • Prints advanced information about a specific hook (takes [uint|string]). From hooks, hook times, hook memory usage to plugin and modules using it and other things.

c.fetchhooks

  • It looks up for the latest available hooks for your current protocol, downloads them, then patches them accordingly at runtime.

c.debughook

  • Enables debugging on a specific hook, which logs each time it fires. This can affect server performance, depending on how ofter the hook is firing.

c.debugallhooks

  • Enables debugging on all hooks and future hooks that will be processed (defaults debugging enabled on hooks).

c.wipemarkers

  • Removes all markers of the calling player or argument filter.

c.setmodule

  • Enables or disables Carbon modules. Visit root/carbon/modules and use the config file names as IDs.

c.saveallmodules

  • Saves the configs and data files of all available modules.

c.savemodulecfg

  • Saves Carbon module config & data file.

c.loadmodulecfg

  • Loads Carbon module config & data file.

c.modules

  • Prints a list of all available modules. Eg. c.modules [-abc|--json|-t|-m|-f] [-asc]

c.modulesmanaged

  • Prints a list of all currently loaded extensions.

c.moduleinfo

  • Prints advanced information about a currently loaded module. From hooks, hook times, hook memory usage and other things.

c.reloadmodules

  • Fully reloads all modules.

c.reloadmodule

  • Reloads a currently loaded module assembly entirely.

c.openplugin

  • Locally opens the cs file of a loaded plugin.

c.openroot

  • Locally opens the root folder of Carbon.

c.openconfigs

  • Locally opens the configs folder of Carbon.

c.openmodules

  • Locally opens the modules folder of Carbon.

c.opendata

  • Locally opens the data folder of Carbon.

c.openplugins

  • Locally opens the plugins folder of Carbon.

c.openextensions

  • Locally opens the extensions folder of Carbon.

c.openlogs

  • Locally opens the logs folder of Carbon.

c.openlang

  • Locally opens the language folder of Carbon.

c.grant

  • Grant one or more permissions to users or groups. Do 'c.grant' for syntax info.

c.revoke

  • Revoke one or more permissions from users or groups. Do 'c.revoke' for syntax info.

c.show

  • Displays information about a specific player or group (incl. permissions, groups and user list). Do 'c.show' for syntax info.

c.usergroup

  • Adds or removes a player from a group. Do 'c.usergroup' for syntax info.

c.group

  • Adds or removes a group. Do 'c.group' for syntax info.

c.plugins

  • Prints the list of mods and their loaded plugins. Eg. c.plugins [-j|--j|-json|-abc|--json|-t|-m|-f|-ls] [-asc]

c.reload

  • Reloads all or specific mods / plugins. E.g 'c.reload * <except[]>'' to reload everything.

c.load

  • Loads all mods and/or plugins. E.g 'c.load * <except[]>'' to load everything you've unloaded.

c.unload

  • Unloads all mods and/or plugins. E.g 'c.unload * <except[]>' to unload everything. They'll be marked as 'ignored'.

c.plugininfo

  • Prints advanced information about a currently loaded plugin. From hooks, hook times, hook memory usage and other things.

c.plugincmds

  • Prints a full list of chat and console commands for a specific plugin.

c.reloadconfig

  • Reloads a plugin's config file. This might have unexpected results, use cautiously.

c.pluginintgen

  • Generates the internal hook call override in 'carbon/plugins/debug'.

c.uninstallplugin

  • Unloads and uninstalls (moves the file to the backup folder) the plugin with the name.

c.installplugin

  • Looks up the backups directory and moves the plugin back in the plugins folder installing it with the name.

c.beginprofile

  • Starts profiling the server.

c.endprofile

  • Ends profiling the server and asynchronously writes it to disk.

ConVars

c.client.oldrecoil

  • Used by Carbon (client) servers. Any Carbon client that joins will use old properties version of recoil.

c.client.gravity

  • Used by Carbon (client) servers. Any Carbon client that joins will use this value for gravity.

c.client.enabled

  • Enable this if the server is Carbon client-enabled server. [Only applies on server restart]

c.modding

  • Mark this server as modded or not.

c.scriptwatchers

  • When disabled, you must load/unload plugins manually with c.load or c.unload.

c.scriptwatchersoption

  • Indicates wether the script watcher (whenever enabled) listens to the 'carbon/plugins' folder only, or its subfolders. (0 = Top-only directories, 1 = All directories)

c.debug

  • The level of debug logging for Carbon. Helpful for very detailed logs in case things break. (Set it to -1 to disable debug logging.)

c.logfiletype

  • The mode for writing the log to file. (0=disabled, 1=saves updates every 5 seconds, 2=saves immediately)

c.unitystacktrace

  • Enables a big chunk of detail of Unity's default stacktrace. Recommended to be disabled as a lot of it is internal and unnecessary for the average user.

c.language

  • Server language used by the Language API.

c.unloadonfailure

  • Unload already loaded plugins when recompilation attempt fails. (Disabled by default)

c.bypassadmincooldowns

  • Bypasses the command cooldowns for admin-authed players.

c.logsplitsize

  • The size for each log (in megabytes) required for it to be split into separate chunks.

c.plugintrackingtime

  • Plugin average time value for memory and hook time tracking. [DEBUG]

c.consoleinfo

  • Show the Windows-only Carbon information at the bottom of the console.

c.ocommandchecks

  • Prints a reminding warning if RCON/console attempts at calling an o.* command.

c.scriptdebugorigin

  • [For debugging purposes] Overrides the script directory to this value so remote debugging is possible.

c.hooklsthreshold

  • The threshold value used by the hook caller to determine what minimum time is considered as a server lag spike. Defaults to 1000ms.

c.defaultplayergroup

  • The default group for any player with the regular authority level they get assigned to.

c.defaultadmingroup

  • The default group players with the admin flag get assigned to.

c.recycletick

  • Configures the recycling ticks speed.

c.researchduration

  • The duration of waiting whenever researching blueprints.

c.vendingmachinebuyduration

  • The duration of transaction delay when buying from vending machines.

c.craftingspeedmultiplier

  • The time multiplier of crafting items.

c.mixingspeedmultiplier

  • The speed multiplier of mixing table crafts.

c.exacavatorresourcetickrate

  • Excavator resource tick rate.

c.excavatortimeforfullresources

  • Excavator time for processing full resources.

c.excavatorbeltspeedmax

  • Excavator belt maximum speed.

c.defaultserverchatname

  • Default server chat name.

c.defaultserverchatcolor

  • Default server chat message name color.

  • Default server chat icon SteamID.

Last updated