Skip to main content

Commands

All CocoEOTW commands use the /eotw base command with various subcommands.

Command Overview

CommandDescriptionPermission
/eotw startStart the EOTW eventcocoeotw.command.start
/eotw stopStop the EOTW eventcocoeotw.command.stop
/eotw startwaitingStart the waiting phasecocoeotw.command.startwaiting
/eotw setspawnSet the spawn locationcocoeotw.command.setspawn
/eotw setborder <size> <seconds>Set the world bordercocoeotw.command.setborder
/eotw reloadReload plugin configurationcocoeotw.command.reload
/eotw ticketBuy a whitelist ticket-
/eotw whitelistManage whitelistcocoeotw.command.whitelist
/eotw revive <player>Revive a dead playercocoeotw.command.revive
/eotw eventsManage EOTW eventscocoeotw.command.events
/eotw effectGive/remove effectscocoeotw.command.effect

Event Control Commands

Start EOTW

/eotw start

Starts the main EOTW event. This enables PvP and begins the competition.

Stop EOTW

/eotw stop

Stops the current EOTW event and runs end commands.

Start Waiting

/eotw startwaiting

Starts the waiting phase where players can join and prepare before the event begins.


Setup Commands

Set Spawn

/eotw setspawn

Sets the spawn location for the EOTW event at your current position.

Permission: cocoeotw.command.setspawn

Set Border

/eotw setborder <size> <seconds>

Sets the world border size over a duration.

Examples:

/eotw setborder 500 0      # Set border to 500 blocks instantly
/eotw setborder 100 300 # Shrink to 100 blocks over 5 minutes
/eotw setborder 50 600 # Shrink to 50 blocks over 10 minutes

Whitelist Commands

Buy Ticket

/eotw ticket

Opens the ticket purchase GUI where players can buy whitelist tickets.

Whitelist Management

/eotw whitelist <add|remove|reset|list|enable> [player]

Subcommands:

SubcommandDescription
add <player>Add a player to the whitelist
remove <player>Remove a player from the whitelist
resetClear the entire whitelist
listShow all whitelisted players
enable <true|false>Enable or disable the whitelist

Examples:

/eotw whitelist add Steve
/eotw whitelist remove Alex
/eotw whitelist list
/eotw whitelist enable true
/eotw whitelist reset

Player Management

Revive Player

/eotw revive <player>

Revives a dead player (spectator) back into the game.

Features:

  • Restores player inventory from database
  • Grants temporary invincibility
  • Teleports to spawn location

Permission: cocoeotw.command.revive


Events Commands

Events Management

/eotw events <enabled|start|stop> [event]

Subcommands:

SubcommandDescription
enabled <true|false>Enable/disable events globally
start <firstkill|bounty>Start a specific event
stop <firstkill|bounty>Stop a specific event

First Kill Event

Rewards the player who gets the first kill after the event starts.

/eotw events start firstkill
/eotw events stop firstkill

Bounty Event

Marks a random player as a target with a glowing effect.

/eotw events start bounty
/eotw events stop bounty

Effect Commands

Give/Remove Effects

/eotw effect <give|remove> <effect> <duration> <amplifier>

Applies or removes potion effects from all online players.

Examples:

/eotw effect give speed 60 1      # Give Speed II for 60 seconds
/eotw effect give strength 120 0 # Give Strength I for 2 minutes
/eotw effect remove speed # Remove speed from all players

Reload Command

Reload Configuration

/eotw reload

Reloads the plugin configuration and messages without restarting the server.

Permission: cocoeotw.command.reload


Command Aliases

The main command has the following aliases:

  • /eotw
  • /endoftheworld
  • /cocoeotw