▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Tic Tac Toe
Tic Tac Toe

Tic Tac Toe

Minecraft Spigot plugin (1.16.5+) that allows you to play Tic Tac Toe game in an inventory-based GUI! Custom messages are supported.

77
1

TicTacToe is a plugin that allows you to play Tic Tac Toe with your friends in an inventory-based GUI.

📷 Screenshots

💻 Commands

  • /ttt info — shows info about commands.
  • /ttt invite <player> — invite a player to play.
  • /ttt accept — accept the invite to play.
  • /ttt reload — reload the config.

🔞 Permissions

  • tictactoe.admin (for operators by default) — Allows to reload the plugin (with /ttt reload)
  • tictactoe.invite (true by default) — Allows a player to invite other players to play (with /ttt invite <player>)
  • tictactoe.accept (true by default) — Allows a player to accept other player's invites (with /ttt accept)

[!CAUTION] A player with tictactoe.accept permission set to false won't see incoming play requests.

📄 Default config

items:
  # See full list on https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
  "first": "BLUE_DYE"
  "second": "WHITE_DYE"

misc:
  # Determines if a firework will be spawned
  # for winner
  "spawnFireworkForWinner": true

  # Determines if in chat will appear a message
  # that tells about someone won against someone in Tic Tac Toe
  "broadcastWinEnabled": false

  # Determines if in chat will appear a message
  # that tells about two players had a draw in Tic Tac Toe
  "broadcastDrawEnabled": false

messages:
  "prefix": "&#F0F8FF[TicTacToe] &r"
  "info": "&#318CE7Info:\n
  &#318CE7/ttt invite <Player>&#F0F8FF - invite a player to play tic tac toe\n
  &#318CE7/ttt accept&#F0F8FF - accept play request"
  "broadcast-win-message": "&#318CE7%s won against %s!"
  "broadcast-draw-message": "&#318CE7%s and %s have a draw!"
  "only-players": "&#CF1020Only players can use this command."
  "command-not-found": "&#CF1020Command wasn't found! Maybe you don't have enough permissions?"
  "provide-a-name": "&#CF1020Provide the name of a player to invite!"
  "player-wasnt-found": "&#CF1020Player wasn't found!"
  "cant-send-to-yourself": "&#CF1020You can't send a request to yourself!"
  "receiver-does-not-have-enough-permissions": "&#CF1020This player doesn't have enough permissions to accept your play request!"
  "previous-request-was-deleted": "&#FECB00Your previous request was deleted!"
  "request-sent-successfully": "&#318CE7The request was sent &nsuccessfully&r&#318CE7!"
  "received-a-request": "&#318CE7You have received a request to play from &#F0F8FF%s&#318CE7!\nType &n/ttt accept&r&#318CE7 to accept!"
  "request-to-play-wasnt-found": "&#CF1020The request wasn't found!"
  "request-was-accepted": "&#8EE53FYour play request was accepted!"
  "you-accepted-request": "&#8EE53FYou've accepted the request from %s."
  "you-won": "&#8EE53FYou won the game against &n%s&#8EE53F!"
  "you-lost": "&#CF1020You lost against &n%s&#CF1020!"
  "game-ended-draw": "&#FECB00Game ended draw!"
  "opponent-aborted-game": "&#318CE7Your opponent aborted the game! &#8EE53F&nYou are the winner!"
  "you-aborted-game": "&#CF1020You've aborted the game! You lost."

  # Gui messages (that are shown in game inventory)
  "gui-prefix": "[TTT] "
  "gui-player's-turn": "%s's turn!"
  "gui-draw": "Draw!"
  "gui-player-won": "%s won!"

  # Admin messages
  "plugin-reloaded": "&#318CE7Plugin was reloaded!"
  "failed-to-reload": "&#CF1020Plugin was failed to reload."

☂ Getting started

[IMPORTANT] Before getting started, make sure that the plugin's version is compatible with your server version.

  1. Download the plugin from Releases tab or from Modrinth page.
  2. Put the downloaded .jar into /plugins folder of your server.
  3. Restart your server or enter the reload command.

Совместимость

Minecraft: Java Edition

1.21.x1.20.x1.19.x1.18.x1.17.x1.16.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:7 месяцев назад
Обновлён:7 месяцев назад
Главная