Board
Everything visual lives in menu.yml.
Titles
menu.yml
board:
titles:
board: "6ADF4&lTic-Tac-Toe"
turn: "6ADF4%player%&8's turn"
win: "DFF87%player% won!"
draw: "&#FFA42DDraw!"
forfeit: "DFF87%player% wins"| Title | Shown |
|---|---|
board | While playing, when game.dynamic-title is off |
turn | While playing, when dynamic-title is on |
win | On a win |
draw | On a draw |
forfeit | When someone leaves or times out |
%player% is whoever the title is about: the player to move, or the winner.
Markers
menu.yml
markers:
first:
material: BLUE_DYE
display_name: "6ADF4● %player%"
lore: []
use-player-head: false
second:
material: WHITE_DYE
display_name: "&#F0F8FF○ %player%"
lore: []
use-player-head: false
winner:
material: LIME_STAINED_GLASS_PANE
display_name: "DFF87⭐ %player%"
lore: []
empty:
enabled: true
material: GRAY_STAINED_GLASS_PANE
display_name: "&8Empty cell"
lore: []| Marker | Used for |
|---|---|
first | Cells of the player who moves first |
second | Cells of the other one |
winner | The three winning cells, when game.highlight-winning-line is on |
empty | A free cell. enabled: false leaves it blank |
use-player-head swaps the material for that player’s head. Any material of your server version
works.
%player% inside a marker is the owner of that cell, so the board reads as two named players
rather than two symbols.
Sounds
menu.yml
sounds:
move: "BLOCK_NOTE_BLOCK_HAT:1:1"
win: "ENTITY_PLAYER_LEVELUP:1:1"
lose: "ENTITY_VILLAGER_NO:1:1"
draw: "BLOCK_NOTE_BLOCK_BASS:1:1"
challenge: "ENTITY_EXPERIENCE_ORB_PICKUP:1:1"The format is NAME:volume:pitch. Both enum names (BLOCK_NOTE_BLOCK_HAT) and namespaced keys
(block.note_block.hat) work. Use "" or none to mute one.
win plays for the winner, lose for the other player, challenge for whoever receives one.