Debugging Mode

Debugging Mode is a set of features intended to help people experiment with the mod outside of normal everyday use. It includes chat commands to modify various mod parameters and wireframe models for distributions that support them.

Debugging Mode is enabled through the "debugMode" config option. It can be enabled for both the integrated server in the client and the stand-alone server.

Console Commands
CustomOreGen recognizes 17 debugging commands which can be entered through the chat bar just like regular server commands. To use debugging commands, you must: Commands issued by a player affect the configuration for the dimension in which the player is standing. Most commands can also be issued from the command line of the dedicated server, in which case the an additional argument (the target dimension ID) must be provided before the regular command arguments. For example, when issuing the  command from the dedicated server the syntax is.
 * Enable Debugging Mode in the server config file (except for /cogEnableDebugging; this command does not require debugging mode).
 * Have access to "cheat" codes (be Opped, in Creative mode, etc).

The command names are case-sensitive (so "/cogInfo" is valid, but "/coginfo" won't be recognized). Some of the command arguments are case sensitive as well, but most are not. Remember that the /? and /help commands can be used to get the names and usage info for all server commands.

Many commands take a "distribution" or "option" argument. This should be the name set in the config file. A regular expression can also be used to affect multiple distributions or options with a single command (for example ".*" will target all distributions or options). Note that minecraft uses spaces to separate command arguments. While names with spaces in them are perfectly valid in the config file, they cannot be used directly in console commands.

All changes made by these commands are temporary and will be reset when the config file is reloaded.

When entering distribution settings the format is generally the same as in the config file. Unlike the config file, however, entering an invalid setting with these commands will not pull up an error dialog. Instead, it will print an error message in the chat bar and disable the affected distributions so they cannot generate.

Wireframe Models
In debugging mode, CustomOreGen will internally store the position and geometry of all Veins, Cloud, and StandardGen distributions. This information can be transmitted to the client and displayed on-screen in the form of wireframe models. To see the wireframe models, you must:
 * Enable Debugging Mode in the server config file.
 * Set drawWireframe='true' for each distribution you wish to see in the server config file. The "Distribution Wireframes" option does this en-mass.
 * Have access to "cheat" codes (be Opped, in Creative mode, etc).
 * Install Minecraft Forge on the client.
 * Set the client Wireframe rendering mode to something other than "None" using the /cogWireframeMode command.