Commands


CoFH Core adds various commands to the game.

Summary

All of CoFH Core’s commands must be prefixed with /cofh and a space.

Command Description
enderchest Opens a player’s ender chest.
heal Fully heals players.
ignite Sets entities on fire.
repair Fully repairs the equipment of players.
zap Causes entities to be struck by lightning.

Details

enderchest

Opens a player’s ender chest.

/cofh enderchest [<player>]
player
The player whose ender chest to open. Must be a player name or a target selector. If unspecified, opens your own ender chest.

heal

Fully heals players, restoring health, food and air, extinguishing fire and removing negative status effects.

/cofh heal [<targets>]
targets
The player or players to heal. Must be a player name or a target selector. If unspecified, heals yourself.

ignite

Sets entities on fire.

/cofh ignite [<targets>] [<duration>]
targets
The entity or entities to set on fire. Must be a player name or a target selector. If unspecified, sets yourself on fire.
duration
How long to set the targets on fire for, in ticks. If unspecified, defaults to 10 ticks.

repair

Fully repairs the equipment (held items and worn armor) of players.

/cofh repair [<targets>]
targets
The player or players whose equipment to repair. Must be a player name or a target selector. If unspecified, repairs your own equipment.

zap

Causes entities to be struck by lightning. Only works on entities with a direct line of sight to the sky.

/cofh zap [<targets>]
targets
The entity or entities to zap. Must be a player name or a target selector. If unspecified, zaps yourself.

© Copyright 2015-2022 Team CoFH. Powered by GitHub Pages, Jekyll, UIkit.
Last updated: 2022-08-16 07:03:26 +0000