⚔ Zyvera-TicTacToe
经典井字棋,一款完全基于 GUI 的大厅小游戏。
由 Thomas U. & Zyvera-Systems 制作
概述
Zyvera-TicTacToe 为你的 Minecraft 服务器添加了一个完整的井字棋小游戏——完全基于物品栏界面,支持自动匹配、直接挑战、持久化排名统计以及工作台绑定。无需依赖插件,无需繁琐设置。只需放入并游玩即可。
功能
? 游戏模式
- 队列(排位) — 加入匹配队列,系统将自动为你配对。胜场、负场、平局、连胜——所有数据均有记录。
- 挑战(非排位) — 直接挑战任何在线玩家。无统计数据,纯粹娱乐。
- 工作台绑定 — 将井字棋绑定到世界中的工作台上。右键点击可切换队列状态(1秒冷却时间)。
?️ GUI 系统
- 紧凑 3×3 棋盘 — 在 36 格的物品栏中呈现简洁布局
- 真实玩家头像 — 通过 SkullMeta 显示真实的 Minecraft 皮肤
- 胜利高亮 — 游戏结束时,获胜连线变为绿色
- 主菜单 — 队列、统计数据和排行榜合而为一
- 统计信息 GUI — 显示胜场、负场、平局、胜率、总步数、连胜次数
- 前 10 名排行榜 — 为最佳玩家颁发金、银、铜奖
⏱️ 超时系统
- 未落子 + 闲置 120 秒 → 游戏取消(不影响统计数据)
- 排位赛 + 已落子 + 闲置 120 秒 → 不活跃的玩家自动判负
- 挑战(非排位) → 超时无效
? 全息投影
绑定的工作台上会显示悬浮的全息文字:
TicTacToe
[点击我]
命令
| 命令 |
描述 |
权限 |
/ttt |
打开主菜单 |
zyvera.ttt.use |
/ttt play |
加入队列 |
zyvera.ttt.use |
/ttt leave |
离开队列 |
zyvera.ttt.use |
/ttt challenge <player> |
挑战某玩家 |
zyvera.ttt.use |
/ttt accept |
接受挑战 |
zyvera.ttt.use |
/ttt deny |
拒绝挑战 |
zyvera.ttt.use |
/ttt stats [name] |
查看统计数据(GUI) |
zyvera.ttt.use |
/ttt top |
查看顶尖玩家(GUI) |
zyvera.ttt.use |
/ttt quit |
退出当前进行中的游戏 |
zyvera.ttt.use |
/ttt bind |
绑定工作台 |
zyvera.ttt.bind |
/ttt unbind |
解绑工作台 |
zyvera.ttt.bind |
/ttt reload |
重载配置文件 |
zyvera.ttt.admin |
别名: /tictactoe
权限
| 权限节点 |
描述 |
默认值 |
zyvera.ttt.use |
基础井字棋访问权限 |
所有人 |
zyvera.ttt.bind |
绑定/解绑工作台 |
OP |
zyvera.ttt.stats.others |
查看其他玩家的统计数据 |
所有人 |
zyvera.ttt.admin |
管理命令(重载配置) |
OP |
兼容性
| 平台 |
支持情况 |
| Bukkit |
✅ 1.13+ |
| Spigot |
✅ 1.13+ |
| Paper |
✅ 1.13+ |
| Purpur |
✅ 1.13+ |
| Folia |
✅ 区域化调度器 (Regionized Scheduler) |
- Java: 8+
- 依赖项: 无
- 材质回退机制确保跨版本兼容(例如旧版本中将
RED_CONCRETE 替换为 STAINED_CLAY)
- 对 Folia 的支持完全基于反射实现——无需编译时依赖
配置
所有内容均可自定义——消息、颜色、材质、超时时间和全息文字。
prefix: "&8[&6&lTTT&8] "
game:
turn-timeout: 120
challenge-timeout: 60
workbench-cooldown: 1000
gui:
symbol-x-material: RED_CONCRETE
symbol-o-material: BLUE_CONCRETE
hologram:
line1: "&6&lTicTacToe"
line2: "&8[&aKlick Mich&8]"
offset-y: 1.5
安装
- 将 JAR 文件放入
plugins/ 文件夹
- 启动或重启服务器
- 配置文件自动生成
- 完成——使用
/ttt 开始游玩!
由 Thomas U. & Zyvera-Systems ❤️ 制作
⭐ 喜欢这款井字棋吗?请留下评论!
⚔ Zyvera-TicTacToe
Classic TicTacToe as a fully GUI-based Lobby Minigame.
by Thomas U. & Zyvera-Systems
Overview
Zyvera-TicTacToe adds a complete TicTacToe minigame to your Minecraft server — fully inventory-based, with automatic matchmaking, direct challenges, persistent ranked stats, and crafting table binding. No dependencies, no setup hassle. Just drop and play.
Features
? Game Modes
- Queue (Ranked) — Join the matchmaking queue and get paired automatically. Wins, losses, draws, streaks — everything is tracked.
- Challenge (Unranked) — Challenge any online player directly. No stats, just fun.
- Workbench Binding — Bind TicTacToe to crafting tables in your world. Right-click toggles the queue (1s cooldown).
?️ GUI System
- Compact 3×3 Board — Clean layout in a 36-slot inventory
- Real Player Heads — Actual Minecraft skins displayed via SkullMeta
- Win Highlight — Winning line turns green at the end
- Main Menu — Queue, stats, and leaderboard in one place
- Stats GUI — Wins, losses, draws, winrate, total moves, streaks
- Top 10 Leaderboard — Gold, silver, bronze for the best players
⏱️ Timeout System
- No moves placed + 120s idle → Game gets cancelled (no stats affected)
- Ranked + moves placed + 120s idle → Inactive player loses automatically
- Challenge (Unranked) → Timeout has no effect
? Holograms
Bound crafting tables display a floating hologram above them:
TicTacToe
[Click Me]
Commands
| Command |
Description |
Permission |
/ttt |
Open main menu |
zyvera.ttt.use |
/ttt play |
Join the queue |
zyvera.ttt.use |
/ttt leave |
Leave the queue |
zyvera.ttt.use |
/ttt challenge <player> |
Challenge a player |
zyvera.ttt.use |
/ttt accept |
Accept a challenge |
zyvera.ttt.use |
/ttt deny |
Deny a challenge |
zyvera.ttt.use |
/ttt stats [name] |
View stats (GUI) |
zyvera.ttt.use |
/ttt top |
Top players (GUI) |
zyvera.ttt.use |
/ttt quit |
Leave active game |
zyvera.ttt.use |
/ttt bind |
Bind a crafting table |
zyvera.ttt.bind |
/ttt unbind |
Unbind a crafting table |
zyvera.ttt.bind |
/ttt reload |
Reload config |
zyvera.ttt.admin |
Alias: /tictactoe
Permissions
| Permission |
Description |
Default |
zyvera.ttt.use |
Basic TicTacToe access |
everyone |
zyvera.ttt.bind |
Bind/unbind workbenches |
OP |
zyvera.ttt.stats.others |
View other players' stats |
everyone |
zyvera.ttt.admin |
Admin commands (reload) |
OP |
Compatibility
| Platform |
Supported |
| Bukkit |
✅ 1.13+ |
| Spigot |
✅ 1.13+ |
| Paper |
✅ 1.13+ |
| Purpur |
✅ 1.13+ |
| Folia |
✅ Regionized Scheduler |
- Java: 8+
- Dependencies: None
- Material fallbacks ensure compatibility across all versions (e.g.
RED_CONCRETE → STAINED_CLAY on legacy)
- Folia support is fully reflection-based — no compile-time dependency
Configuration
Everything is customizable — messages, colors, materials, timeouts, and hologram text.
prefix: "&8[&6&lTTT&8] "
game:
turn-timeout: 120
challenge-timeout: 60
workbench-cooldown: 1000
gui:
symbol-x-material: RED_CONCRETE
symbol-o-material: BLUE_CONCRETE
hologram:
line1: "&6&lTicTacToe"
line2: "&8[&aKlick Mich&8]"
offset-y: 1.5
Installation
- Drop the JAR into your
plugins/ folder
- Start or restart the server
- Config generates automatically
- Done —
/ttt and play!
Made with ❤️ by Thomas U. & Zyvera-Systems
⭐ Enjoying TicTacToe? Leave a review!
评论 0
登录后参与评分
还没有评论,来抢沙发吧