CoFH Core — Configuration
Commands (Admin Powers)
CoFH Core adds a powerful set of commands prefixed with /cofh. These are designed for server administration, testing, and utility.
| Command | Syntax | Description |
|---|---|---|
| friend | /cofh friend <gui|list|add|remove> <player> |
Manages the CoFH Friend List for securing blocks. |
| heal | /cofh heal [player] |
Restores health, hunger, and air; removes negative effects. |
| ignite | /cofh ignite <targets> [duration] |
Sets the specified entity on fire for a set duration (ticks). |
| zap | /cofh zap <targets> |
Strikes the target with a bolt of lightning. |
| tpx | /cofh tpx [player] <dimension|coords> |
Advanced teleportation across dimensions. |
| enchant | /cofh enchant [player] <enchantment> [level] |
Applies any enchantment to the held item, bypassing limits. |
| enderchest | /cofh enderchest [player] |
Remotely opens a player's Ender Chest inventory. |
| repair | /cofh repair [player] |
Fully repairs all equipment currently held or worn by the player. |
| invis | /cofh invis <targets> <true|false> |
Toggles invisibility for the specified targets. |
| invuln | /cofh invuln <targets> <true|false> |
Toggles invulnerability (God Mode) for the targets. |
| tps | /cofh tps [o|a|dimension] |
Displays the server's Ticks Per Second (performance). |
| clearblocks | /cofh clearblocks <player> <xR> <yR> <zR> [blocks] |
Removes specific blocks in a radius around a player. |
| killall | /cofh killall [type] |
Removes all loaded entities of a specific type from the world. |
Configuration
CoFH Core uses the standard TOML configuration format. Settings are split into two primary files:
- cofh_core-client.toml: Located in the
/configfolder. Contains visual settings like color-blind mode, particle toggles, and UI preferences. - cofh_core-server.toml: Located in the
/saves/WORLD_NAME/serverconfigsfolder (or/world/serverconfigsfor dedicated servers). Contains gameplay settings, command permissions, and enchantment balancing.
To apply server configurations to all new worlds, copy the cofh_core-server.toml file to the /defaultconfigs folder in your main Minecraft directory.