Skip to content

Commands

Ayman Isam edited this page May 13, 2024 · 6 revisions

Here are all the commands for this plugin, note that all commands except for the /start command requires operator to run

/hg join

Used to join the game, alternative for clicking the sign in the lobby.  

/hg select

Used to get an arena selector, which is used in conjunction with the /create command to create the arena.

/hg create

This command is used to create the arena for the game. The arena is the area of the map where the game is played.

/hg chestrefill

Refills all the chest in the arena. This command serves no function outside debugging.

/hg supplydrop

Drops a supplydrop with loot in a random location in the arena. Serves no function outiside debugging.

/hg setspawn

Used get a spawnpoint selector, which is used to set spawnpoints for players to get teleported to before the game starts.

/hg start

Used to start a game.

/hg end

Used to end a game before a player wins or the time runs out

/hg scanarea

Used to scan the arena for chests and saving locations. Needs to be run when the position or type of a chest is changed.

/hg spectate

Used to teleport to players in hungergames after dying. Useful for watching the game after death.

/hg reloadconfig

Used to reload config and language files. This removes the need for restarting the server after changing any of the config or language files.

/hg border num_blocks center_x center_z

Used to set the size of the border in a game. num_blocks needs to be replaced with the width of the border from one end of the border to another, center_x and center_z to set the center of the world border.