Skip to content

Command Reference

MCTennis provides a comprehensive set of commands for arena management, gameplay, and administration. All commands require the appropriate permissions.

Getting Help

Access the in-game help system anytime:

/mctennis help 1


🏗️ Arena Management Commands

Create & Copy Arenas

/mctennis create

Creates a new arena from scratch.

/mctennis create <name> <displayName>

Parameters: - name - Unique identifier for the arena (no spaces) - displayName - User-friendly name (supports color codes)

Example:

/mctennis create stadium1 &6Golden Stadium

/mctennis copy

Duplicates an existing arena with all its settings.

/mctennis copy <source> <name> <displayName>

Parameters: - source - Name of existing arena to copy - name - New arena identifier
- displayName - Display name for the new arena

Example:

/mctennis copy stadium1 stadium2 &bBlue Stadium

Arena Control

/mctennis delete

Permanently removes an arena and its configuration.

/mctennis delete <name>

Destructive Action

This action cannot be undone. Make sure to backup your arena files if needed.

/mctennis list

Shows all arenas and their current status.

/mctennis list [player]

Output Example:

stadium1 [Golden Stadium] [enabled]
arena2 [Practice Field] [disabled]

/mctennis toggle

Enables or disables an arena.

/mctennis toggle <name>
  • Enabled: Players can join and play
  • Disabled: Arena is inaccessible to players

🎮 Player Commands

Joining & Leaving

/mctennis join

Join a specific game, optionally choosing a team.

/mctennis join <name> [team] [player]

Parameters: - name - Arena name to join - team - red, blue, or referee (optional) - player - Target player (admin only)

Examples:

/mctennis join stadium1
/mctennis join stadium1 red
/mctennis join stadium1 blue Steve

/mctennis leave

Leave the current game.

/mctennis leave [player]

🔧 Setup & Configuration Commands

Selection Tools

/mctennis axe

Get the selection tool for marking areas.

/mctennis axe

Usage: - Left-click: Select first corner (Point A) - Right-click: Select second corner (Point B)

/mctennis select

Apply your axe selection to define arena areas.

/mctennis select <name> <type>

Area Types: - field - Main playing area - red_goal - Red team's goal - blue_goal - Blue team's goal

Example:

/mctennis select stadium1 field

/mctennis location

Set specific points using your current position.

/mctennis location <name> <type>

Location Types: - ball - Where the ball spawns - red_spawnpoint - Red team spawn - blue_spawnpoint - Blue team spawn
- red_lobby - Red team lobby (minigames) - blue_lobby - Blue team lobby (minigames) - referee_spawnpoint - Referee position - referee_lobby - Referee lobby - leave_spawnpoint - Where players go when leaving

Visual Aids

/mctennis highlight

Toggle visual boundaries for easier arena editing.

/mctennis highlight <name>

Shows particle effects or blocks around defined areas.


⚙️ Customization Commands

Team Equipment

/mctennis inventory

Copy your current inventory as the team's default gear.

/mctennis inventory <name> <team>

Teams: red or blue

/mctennis armor

Copy your current armor as the team's default equipment.

/mctennis armor <name> <team>

Game Rules

/mctennis gamerule

Modify arena settings and game mechanics.

/mctennis gamerule <key> <name> <value>

Common Game Rules: - gameType - hubgame, minigame, or refereegame - maxScore - Points needed to win - duration - Game length in seconds

Example:

/mctennis gamerule gameType stadium1 minigame


🛡️ Referee Commands (Patreon Feature)

Control match flow during tournaments and events.

Game Control

Command Description
/mctennis referee startgame Start lobby countdown
/mctennis referee stop End current period/game
/mctennis referee whistleresume Resume play, enable ball
/mctennis referee whistlestop Pause game, disable ball
/mctennis referee freezetime Freeze timer and ball
/mctennis referee nextperiod Move to next game period

Ball Control

Command Description
/mctennis referee setball [x] [y] [z] [yaw] [pitch] [world] Teleport ball to position
/mctennis referee setballrel [forward] [sideward] Set ball relative to referee

Player Management

Command Description
/mctennis referee yellowcard <player> Give yellow card
/mctennis referee redcard <player> Give red card
/mctennis referee kickplayer <player> Remove player from game

🏷️ Signs & Integration

/mctennis sign

Create interactive signs for easy player access.

/mctennis sign <name> <type>

Sign Types: - join - Join any available team - leave - Leave current game - team_red - Join red team specifically
- team_blue - Join blue team specifically

Usage: 1. Run the command 2. Right-click any sign to convert it


🔧 System Commands

/mctennis placeholder

Test placeholder values for scoreboards and displays.

/mctennis placeholder <placeholder>

Example:

/mctennis placeholder %mctennis_game_redScore%

/mctennis reload

Reload arena configurations without restarting.

/mctennis reload [name]
  • No name: Reload all arenas
  • With name: Reload specific arena

💡 Pro Tips

Command Efficiency

  • Use tab completion to see available options
  • Most commands support partial arena name matching
  • Commands are case-insensitive for convenience

Permission Requirements

  • Regular players need mctennis.command for basic commands
  • Arena editing requires mctennis.edit
  • Referee commands need mctennis.referee.join

Admin Features

Many commands accept a player parameter when you have admin permissions, allowing you to manage other players' arena participation.