TakeYourTime

插件

· 作者 yiliya

轻量级 Minecraft 插件,添加可自定义的游戏内时钟和天数计数器

0 本站下载 0 关注 更新于 1 年前

最新 1.1.0 · 1.21.8 · Bukkit / Paper

一键开服(送7天)

TakeYourTime

TakeYourTime 是一款轻量级的 Minecraft 插件,通过操作栏(action bar)或Boss 栏显示游戏内时间与天数。玩家可以选择偏好的显示方式,服务器管理员可以配置颜色、更新间隔和显示模式。可选的颜色编码阶段标记黎明、白天、黄昏和夜晚。 An in-game screenshot of the plugin on "boss bar" mode. Shows the time in-game and the amount of days since world creation. An in-game screenshot of the plugin on "action bar" mode. Shows the time in-game and the amount of days since world creation.

Commands

  • /clock on - 启用插件。
  • /clock off - 禁用插件。
  • /clock mode [actionbar|bossbar] - 选择显示类型。
  • /tyt - 显示插件信息。
  • /tyt reload - 重新加载配置,无需重启服务器。

该插件会自动追踪游戏内时间及自世界创建以来的天数。显示设置和颜色可在 config.yml 中进行配置。

config.yml Example

# Day counting mode: "gametime" (default) or "fulltime"
counter-mode: gametime

# Update interval in ticks (20 ticks = 1 second)
update-interval: 1200

# Boss bar colors (optional phase colors)
bossbar:
  defaultColor: WHITE
  # dawnColor: RED
  # dayColor: YELLOW
  # duskColor: BLUE
  # nightColor: PURPLE

Roadmap & Limitations

⚠️ Disclaimer:
I made this plugin for me and my friends' 10-player SMP. Works on Paper and some Paper forks, but not tested on all server types. May not perform well on very large servers due to per-player .yml storage.

Current Limitations

  • Player data stored in .yml, may slow on large servers.
  • Updates every real-life minute, minor overhead possible with many players.
  • Focuses on the first world only, no multi-world support.
  • Boss bar colors are optional; misconfigured colors default to WHITE.

Planned Improvements

  • Move to database storage (SQLite/MySQL) for scalability.
  • Add multi-world support.
  • Additional display modes (sidebar/scoreboard).
  • Optional player-specific update intervals.
  • Optimization for large servers.
  • More boss bar customization options.

Usage Recommendation

  • Best for small to medium servers or single-player worlds.
  • Use with caution on servers with hundreds of players.

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源