CSX KeyAll
适用于 Minecraft 服务器的高性能自动化 KeyAll 系统
专为基于 Paper 的 Minecraft 服务器设计的轻量级、现代化且数据库安全的 KeyAll 调度器。
采用异步处理、PlaceholderAPI 集成、多语言支持、倒计时持久化以及优化的数据库处理构建。
功能 • 要求 • 安装 • 配置 • 命令 • 权限 • 构建 • 故障排除 • 许可证
✨ 功能
⏰ 自动化倒计时系统
- 完全自动化的 KeyAll 执行
- 持久化的倒计时存储
- 崩溃安全的计时器恢复
- 毫秒级精确计时
- 支持手动执行
? 数据库支持
| 数据库 |
支持情况 |
| SQLite |
✅ |
| MySQL |
✅ |
| H2 (旧版) |
✅ |
数据库功能
- HikariCP 连接池
- 异步数据库查询
- 自动存储检测
- 智能数据库迁移
- H2 → SQLite 自动转换
? 本地化
- 多语言支持
- 包含印尼语
- 包含英语
- 消息完全可自定义
? PlaceholderAPI 集成
可用占位符:
%csxkeyall_time%
%csxkeyall_seconds%
%csxkeyall_minutes%
兼容以下插件:
- TAB
- Scoreboards(计分板)
- Holograms(全息图)
- ActionBars(动作栏)
- BossBars(Boss 血条)
? 要求
| 软件 |
版本 |
| Minecraft |
1.21.x |
| Java |
21+ |
| Paper |
支持 |
| Purpur |
支持 |
| Spigot |
支持 |
| PlaceholderAPI |
可选 |
? 安装
1. 下载插件
将:
csx-keyall-1.0.jar
放置于:
/plugins/
内。
2. 启动服务器
启动服务器一次。
插件将自动生成:
/plugins/CSX-Keyall/
3. 配置插件
编辑:
config.yml
配置:
4. 重载
/keyall reload
或重启服务器。
⚙️ 配置
示例:
database:
type: "SQLITE"
host: "localhost"
port: 3306
name: "minecraft"
username: "root"
password: ""
ssl: false
lang: "id"
interval-millis: 3600000
commands-list:
- "crate giveall vote 1"
- "bc &b&lCSXID &7» &aEveryone has received 1x Vote Key!"
? 命令
| 命令 |
描述 |
权限 |
| /keyall info |
查看剩余倒计时 |
keyall.use |
| /keyall reset |
重置倒计时 |
keyall.admin |
| /keyall set-time <ms> |
修改计时器 |
keyall.admin |
| /keyall cmd |
强制执行 KeyAll |
keyall.admin |
| /keyall reload |
重载配置 |
keyall.admin |
? 权限
| 权限 |
默认值 |
描述 |
| keyall.use |
true |
访问玩家命令 |
| keyall.admin |
op |
访问管理员命令 |
?️ 从源码构建
克隆仓库
git clone https://github.com/COSAX-ID/CSX-Keyall.git
cd CSX-Keyall
构建
mvn clean package
输出:
target/csx-keyall-1.0-SNAPSHOT.jar
? 项目结构
CSX-KeyAll/
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── dev/cosax/csxkeyall/
│ │ └── resources/
│ │ ├── plugin.yml
│ │ ├── config.yml
│ │ └── lang/
│ │ ├── en.yml
│ │ └── id.yml
│ └── test/
├── pom.xml
└── README.md
? 故障排除
PlaceholderAPI 不工作
请确保:
- 已安装 PlaceholderAPI
- 服务器已重启
- 扩展加载正确
MySQL 连接失败
请检查:
重启后倒计时重置
确保插件拥有在以下目录写入数据的权限:
/plugins/CSX-KeyAll/
?? 致谢
开发团队
| 角色 |
名称 |
| 组织 |
COSAX.ID |
| 首席开发者 |
COSAXID |
| 开发者 |
minggudev |
GitHub
? 许可证
本项目根据 MIT 许可证授权。
更多信息,请参阅 LICENSE 文件。
⭐ 支持
如果您喜欢使用 CSX KeyAll,请考虑给此仓库点星。
您的支持有助于未来的开发和维护。
Made with ❤️ by COSAX.ID
⬆ 回到顶部
点击此处
CSX KeyAll
✨ Features
⏰ Automated Countdown System
- Fully automated KeyAll execution
- Persistent countdown storage
- Crash-safe timer recovery
- Millisecond precision timing
- Manual execution support
? Database Support
| Database |
Supported |
| SQLite |
✅ |
| MySQL |
✅ |
| H2 (Legacy) |
✅ |
Database Features
- HikariCP Connection Pooling
- Async Database Queries
- Automatic Storage Detection
- Smart Database Migration
- H2 → SQLite Auto Conversion
? Localization
- Multi-language Support
- Indonesian Language Included
- English Language Included
- Fully Customizable Messages
? PlaceholderAPI Integration
Available Placeholders:
%csxkeyall_time%
%csxkeyall_seconds%
%csxkeyall_minutes%
Compatible With:
- TAB
- Scoreboards
- Holograms
- ActionBars
- BossBars
? Requirements
| Software |
Version |
| Minecraft |
1.21.x |
| Java |
21+ |
| Paper |
Supported |
| Purpur |
Supported |
| Spigot |
Supported |
| PlaceholderAPI |
Optional |
? Installation
1. Download Plugin
Place:
csx-keyall-1.0.jar
inside:
/plugins/
2. Start Server
Start the server once.
The plugin will automatically generate:
/plugins/CSX-Keyall/
3. Configure Plugin
Edit:
config.yml
Configure:
- Database
- Commands
- Language
- Interval
4. Reload
/keyall reload
or restart the server.
⚙️ Configuration
Example:
database:
type: "SQLITE"
host: "localhost"
port: 3306
name: "minecraft"
username: "root"
password: ""
ssl: false
lang: "id"
interval-millis: 3600000
commands-list:
- "crate giveall vote 1"
- "bc &b&lCSXID &7» &aEveryone has received 1x Vote Key!"
? Commands
| Command |
Description |
Permission |
| /keyall info |
View remaining countdown |
keyall.use |
| /keyall reset |
Reset countdown |
keyall.admin |
| /keyall set-time <ms> |
Modify timer |
keyall.admin |
| /keyall cmd |
Force execute KeyAll |
keyall.admin |
| /keyall reload |
Reload configuration |
keyall.admin |
? Permissions
| Permission |
Default |
Description |
| keyall.use |
true |
Access player commands |
| keyall.admin |
op |
Access admin commands |
?️ Building From Source
Clone Repository
git clone https://github.com/COSAX-ID/CSX-Keyall.git
cd CSX-Keyall
Build
mvn clean package
Output:
target/csx-keyall-1.0-SNAPSHOT.jar
? Project Structure
CSX-KeyAll/
├── src/
│ ├── main/
│ │ ├── java/
│ │ │ └── dev/cosax/csxkeyall/
│ │ └── resources/
│ │ ├── plugin.yml
│ │ ├── config.yml
│ │ └── lang/
│ │ ├── en.yml
│ │ └── id.yml
│ └── test/
├── pom.xml
└── README.md
? Troubleshooting
PlaceholderAPI Not Working
Make sure:
- PlaceholderAPI is installed
- Server has been restarted
- Expansions are loaded correctly
MySQL Connection Failed
Check:
- Host
- Port
- Username
- Password
- Firewall Settings
Countdown Reset After Restart
Ensure the plugin has permission to write data inside:
/plugins/CSX-KeyAll/
?? Credits
Developed By
| Role |
Name |
| Organization |
COSAX.ID |
| Lead Developer |
COSAXID |
| Developer |
minggudev |
GitHub
? License
This project is licensed under the MIT License.
For more information, see the LICENSE file.
⭐ Support
If you enjoy using CSX KeyAll, please consider giving this repository a star.
Your support helps future development and maintenance.
评论 0
登录后参与评分
还没有评论,来抢沙发吧