ChronoSteal 彻底革新了服务器生存机制,用倒计时时钟取代了传统的生命值。每位玩家都有一个“生命时钟”,在他们在线的每一秒都会倒数。如果时间归零,他们将被立即放逐到旁观者模式!
为了存活,玩家必须互相猎杀。当你击杀另一名玩家时,你可以窃取其剩余时间的一个可配置百分比。想要用时间交换装备?玩家可以将自己的时间提取为实体的、不可伪造的 Chrono Gems(时序宝石),以便与其他玩家交易或安全地囤积在末影箱中。
ChronoSteal 完全从零开始构建,专为现代 1.21+ 服务器设计,采用 100% 异步数据库处理和 Folia 兼容调度器,确保即使有 100+ 名玩家同时在线也不会出现 TPS 下降。
主要功能:
⏱️ 滴答级精确的异步逻辑:无主线程卡顿。所有时间计数和数据库保存均在异步 Folia/Paper 调度器上运行。
? Chrono Gems:使用现代且不可伪造的 PersistentDataContainers (PDC) 将时间提取为实体物品。
? 完整的 MiniMessage 支持:告别旧版 & 颜色代码。对所有消息使用 RGB、渐变色和十六进制代码。
? 双数据库支持:开箱即用支持本地 SQLite 和跨服务器 MySQL(使用 HikariCP 连接池)。
? 命令
/timecheck - 查看自己的剩余时间。
/timecheck <player> - 查看其他在线玩家的时间。
/timepay <player> <seconds> - 将你的时间转移给另一名玩家。
/timeextract <seconds> - 安全地将你的时间提取为实体的 Chrono Gem。
/chrono <add|remove|set> <player> <seconds> - 管理员命令,用于人工修改玩家的剩余时间。
? 权限
chronosteal.command.timecheck - 允许查看时间。(默认:true)
chronosteal.command.timepay - 允许转移时间。(默认:true)
chronosteal.command.timeextract - 允许创建 Chrono Gems。(默认:true)
chronosteal.admin - 授予访问 /chrono 管理员修改工具的权限。(默认:OP)
⚙️ 安装与配置
下载 ChronoSteal.jar 并将其放入 plugins 文件夹。
确保已安装所需的依赖项(见下文)。
启动服务器以生成默认配置文件。
打开 plugins/ChronoSteal/config.yml 进行自定义设置:
默认初始时间:新玩家获得的时间量(默认为 86400 秒 / 24 小时)。
击杀窃取百分比:死亡时受害者被窃取的时间比例(默认为 1.0,即 100% 的时间)。
数据库设置:在 sqlite 和 mysql 之间切换。
所有文本与 UI:使用现代的 <gradient> 和 <color> 格式自定义动作栏、聊天消息和物品描述。
占位符:
你可以在任何支持 PlaceholderAPI 的插件(如 TAB、计分板或聊天格式化)中使用 %chronosteal_time_left% 来显示玩家格式化后的剩余时间(例如,“1d 4h 30m”)。
? 要求
请注意,由于 ChronoSteal 高度优化,它依赖于现代 API。
Java 版本:严格需要 Java 21。
服务器软件:需要 PaperMC、Purpur 或 Folia (1.21+)。由于使用了现代 Paper 独占的 Component 和 Scheduler API,此插件无法在标准 Spigot/CraftBukkit 上运行。
硬性依赖:PlaceholderAPI - 必须安装该插件才能启用本插件。
ChronoSteal completely revolutionizes server survival mechanics by replacing traditional health with a ticking clock. Every player has a "Life Clock" that counts down every second they are online. If their time reaches zero, they are instantly banished to Spectator mode!
To survive, players must hunt each other down. When you kill another player, you steal a configurable percentage of their remaining time. Want to trade time for gear? Players can extract their own time into physical, unforgeable Chrono Gems to trade with others or hoard safely in their enderchests.
Built entirely from scratch for modern 1.21+ servers, ChronoSteal uses 100% asynchronous database processing and Folia-compatible schedulers to ensure zero TPS drops, even with 100+ concurrent players.
Key Features:
⏱️ Tick-Perfect Asynchronous Logic: No main-thread lag. All time ticking and database saving runs on asynchronous Folia/Paper schedulers.
? Chrono Gems: Extract time into physical items using modern, unforgeable PersistentDataContainers (PDC).
? Full MiniMessage Support: Say goodbye to legacy & colors. Use RGB, gradients, and hex codes for all messages.
? Dual-Database Support: Out-of-the-box support for both local SQLite and cross-server MySQL using HikariCP pooling.
? Commands
/timecheck - Check your own remaining time.
/timecheck <player> - Check another online player's time.
/timepay <player> <seconds> - Transfer your time to another player.
/timeextract <seconds> - Safely extract your time into a physical Chrono Gem.
/chrono <add|remove|set> <player> <seconds> - Admin command to artificially modify a player's remaining time.
? Permissions
chronosteal.command.timecheck - Allows checking time. (Default: true)
chronosteal.command.timepay - Allows transferring time. (Default: true)
chronosteal.command.timeextract - Allows creating Chrono Gems. (Default: true)
chronosteal.admin - Grants access to the /chrono admin modification tools. (Default: OP)
⚙️ Setup & Configuration
Download the ChronoSteal.jar and drop it into your plugins folder.
Ensure you have the required dependencies installed (see below).
Start your server to generate the default configuration files.
Open plugins/ChronoSteal/config.yml to customize:
Default Starting Time: How much time new players get (Default is 86400 seconds / 24 hours).
Kill Steal Percentage: The fraction of a victim's time stolen upon death (Default is 1.0, meaning 100% of their time).
Database Settings: Switch between sqlite and mysql.
All Text & UI: Customize Action Bars, Chat Messages, and Item Lore using the modern <gradient> and <color> formats.
Placeholders:
You can use %chronosteal_time_left% in any PlaceholderAPI-supported plugin (like TAB, Scoreboards, or Chat formatting) to display a player's formatted remaining time (e.g., "1d 4h 30m").
? Requirements
Please note that because ChronoSteal is highly optimized, it relies on modern APIs.
Java Version: Java 21 is strictly required.
Server Software: PaperMC, Purpur, or Folia (1.21+) is required. This plugin will NOT work on standard Spigot/CraftBukkit due to the usage of modern Paper-exclusive Component and Scheduler APIs.
Hard Dependency: PlaceholderAPI - Must be installed for the plugin to enable.
评论 0
登录后参与评分
还没有评论,来抢沙发吧