Commands
All CocoEOTW commands use the /eotw base command with various subcommands.
Command Overview
| Command | Description | Permission |
|---|---|---|
/eotw start | Start the EOTW event | cocoeotw.command.start |
/eotw stop | Stop the EOTW event | cocoeotw.command.stop |
/eotw startwaiting | Start the waiting phase | cocoeotw.command.startwaiting |
/eotw setspawn | Set the spawn location | cocoeotw.command.setspawn |
/eotw setborder <size> <seconds> | Set the world border | cocoeotw.command.setborder |
/eotw reload | Reload plugin configuration | cocoeotw.command.reload |
/eotw ticket | Buy a whitelist ticket | - |
/eotw whitelist | Manage whitelist | cocoeotw.command.whitelist |
/eotw revive <player> | Revive a dead player | cocoeotw.command.revive |
/eotw events | Manage EOTW events | cocoeotw.command.events |
/eotw effect | Give/remove effects | cocoeotw.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:
| Subcommand | Description |
|---|---|
add <player> | Add a player to the whitelist |
remove <player> | Remove a player from the whitelist |
reset | Clear the entire whitelist |
list | Show 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:
| Subcommand | Description |
|---|---|
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