-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
This document contains a list of commands provided by the Minecraft Manhunt Plugin and how to use them.
For more information on how to use these commands in the context of the game, check out Guide for Players and Guide for Game Managers.
You don't need a permissions plugin to use the Manhunt plugin. However, if you're using a permissions plugin like
LuckPerms, you can refer to the Permissions column in the table below to see what permissions
you need to grant to allow usage of a command.
If you aren't using a permissions plugin, you can ignore the Permissions column.
Commands for managing or viewing the state of the Manhunt game.
These commands are granted to all players by default.
| Command | Description | Arguments | Permissions | Syntax |
|---|---|---|---|---|
| clearteams | Removes all players from all teams. | None. | mmh.game |
/clearteams |
| maketeams | Allows players to switch teams. | Arg 1 (optional): - Default option select allows players to select a team.- random randomizes teams.Favors Hunters if odd number of players. |
mmh.game |
/maketeams [random/select] |
| startgame | - Starts a game of Manhunt. - Resets players using /reset.- Enables game-specific features. |
Arg 1 - countdown: - Starts a timer using /countdown command.- Requires a number. Arg 2 - skip reset (optional): - Defaults to false.- If true, /reset will not be called.Arg 3 - skip freeze (optional): - Defaults to false.- If true, Hunters will not be frozen and reset during the countdown. |
mmh.game |
/startgame <seconds> [true/false] [true/false] |
| stopgame | Stops a game of Manhunt. | None. | mmh.game |
/stopgame |
Useful commands that can be used outside of the Manhunt game.
These commands are granted to all players by default.
| Command | Description | Arguments | Permissions | Syntax |
|---|---|---|---|---|
| countdown | Starts a generic countdown timer. Only one timer can be running at once. You can cancel a running timer using /countdown 0. |
Arg 1 - Duration: - Requires a number. Arg 2 - Freeze Hunters (optional): - Defaults to false.- If true, Hunters will be frozen and reset during the countdown.NOTE: This option is inverted to the one in /startgame. /countdown does not freeze Hunters by default, while /startgame does. |
mmh.player |
/countdown <seconds> |
| reset | Performs the following actions/commands: - Remove all potion effects - Clear inventory - Give everyone a compass - Set gamemodes (Survival or Spectator) - Move all Eliminated players to Runners - Move all unassigned players to Spectators - Teleport all players to world spawn - Give max health - Give max saturation - Give max food level - Set exhaustion to zero - Reset XP - /time set 0- /gamerule doDaylightCycle true- /gamerule doWeatherCycle false- /weather set clear- /kill @e[type=Item]- /advancement revoke @a everything- Reset the state of the Manhunt plugin |
None. | mmh.player |
/reset |
Commands used by players to play the game of Manhunt.
These commands are granted to all players by default.
| Command | Description | Arguments | Permissions | Syntax |
|---|---|---|---|---|
| listteams | List the teams and the players on each team. | None. | mmh.player |
/listteams |
| track | Tracks a player. - Requires a compass in your inventory. - The compass will point towards the target. - The compass does not update automatically. - Update the compass by right-clicking with the compass. - You don't need to use /track again unless you want to change your tracking target.- Teammates can track each other and are given precise positions. - Runners & Eliminated count as teammates and can track each other. - Hunters can track Runners but are given rough positions. - Tracking a player in a different world will lead you to their portal (or your portal if they don't have one). - Offline players can be tracked provided they disconnected while the plugin was running. |
Arg 1 - Player Name | mmh.player |
/track <name> |
| trackportal | Track the portal that you used to enter The Nether. - Requires a compass in your inventory. - The compass will point towards your portal. - The compass does not update automatically. - Update the compass by right-clicking with the compass. - Only works in The Nether. - Replaces any target you are tracking with /track. |
None. | mmh.player |
/trackportal |
Commands not required to play the game, but can be used to rectify errors in the game.
These commands are granted to server operators by default.
| Command | Description | Arguments | Permissions | Syntax |
|---|---|---|---|---|
| creditkill | Credit a kill to another player. Useful if the game doesn't properly credit a kill. |
Arg 1: Player Name | mmh.correction |
/creditkill <player> |
| eliminate | Eliminate a player. For use if the game didn't eliminate them automatically. Also kills the player and credits the kill to the killer. |
Arg 1: Victim - Requires a valid Player name. - Player must be online. - Player must be a Runner. Arg 2: Killer - Requires a valid Player name. - Player must be online. - Player must be a Hunter. |
mmh.correction |
/eliminate <victim> <killer> |
| offerteamtp | Offer the list of teammates to teleport to (or death location if no teammates are available) to a player. Replaces the menu normally provided if a player states they died to natural causes. |
Arg 1: Player Name | mmh.correction |
/offerteamtp <player> |
| removedeath | Remove a death from a player's Death counter. | Arg 1: Player Name | mmh.correction |
/removedeath <player> |
| restoreinventory | Offer a player's previous inventory (stored at the point where they died) to the player to allow them to select items to restore. | Arg 1: Player Name | mmh.correction |
/restoreinventory <player> |
| setplayerteam | Forcibly change a player's team, whether they are eligible to switch or not. | Arg 1: Player Name Arg 2: Team Name - One of runners/hunters/eliminated/spectators
|
mmh.correction |
/setplayerteam <player> <runners/hunters/eliminated/spectators> |
| uneliminate | Un-eliminate a player. Restores them to the Runners team. | Arg 1: Player Name | mmh.correction |
/uneliminate <player> |
Internal commands should never be called by players or Game Managers.
Internal commands are used as triggers for clickable elements in other commands.
All commands are protected by "eligibility" - the commands do not work unless an event in the plugin code grants eligibility for a command to a player.
A reference is kept here for use by developers.
| Command | Description | Arguments | Permissions | Syntax |
|---|---|---|---|---|
| changeteam | Change to the specified team. | Arg 1: - One of runners/hunted/eliminated/spectators
|
mmh.player |
/changeteam <runners/hunted/eliminated/spectators |
| reseteligibility | Cancel eligibility for: - /teamtp- /selfelim- /changeteam
|
None. | mmh.player |
/reseteligibility |
| selfelim | Runners: Eliminate yourself. Hunters/Eliminated: Prevents teleporting to a teammate. |
None. | mmh.player |
/selfelim |
| teamtp | Teleport to a teammate. | Arg 1: Player Name - Alternatively, use /teamtp $elf to teleportto your death location. - Teleporting to your death location grants invincibility for 25 seconds. |
mmh.player |
/teamtp <player> |
| tpoptions | List all available teammates to teleport to. If no teammates are available, provides the option to teleport to your death location. |
None. | mmh.player |
/tpoptions |