- 版权类型
- 原创
- 插件中文名
- 洛点数
- 插件英文名
- luopoints
- 原帖地址
- #
- 支持的核心 [服务端]
- Spigot
- Paper
- Catserver
- 语言支持
- 中文(简体)
- 前置组件
- PlaceholderAPI
- 适配Minecraft版本 [Java]
- 1.12
功能特性
核心功能
- 支持多种自定义点数类型(金币、钻石、积分等)
- 给予/扣除玩家点数
- 消耗点数执行命令
- 恢复已消耗点数执行命令
- 重置玩家点数
- 自定义重置道具系统
- 定时清理点数
高级功能
- PlaceholderAPI 支持
- 完整的权限系统
- 命令补全
- YAML 数据存储
- 配置文件自定义
安装要求
- 前置插件:PlaceholderAPI(可选,用于占位符功能)
重要说明:
- id 字段用于命令和占位符,建议使用英文小写
- 如果不指定 id,则使用配置项名称作为ID
- 配置项名称可以是中文,方便管理
- id 必须唯一,不能重复
命令列表
管理员命令
| 命令 | 权限 | 描述 |
|---|
| /luopoints give <玩家> <类型> <数量> | luopoints.give | 给予玩家点数 |
| /luopoints take <玩家> <类型> <数量> | luopoints.take | 扣除玩家点数 |
| /luopoints reset <玩家> [类型] | luopoints.reset | 重置玩家点数(将消耗的点数恢复为当前点数) |
| /luopoints clear <玩家> [类型] | luopoints.reset | 清零玩家点数(当前和消耗都归零) |
| /luopoints reload | luopoints.reload | 重载配置 |
玩家命令
| 命令 | 权限 | 描述 |
|---|
| /luopoints consume <类型> <数量> [命令] | luopoints.consume | 消耗点数执行命令 |
| /luopoints restore <类型> <数量> [命令] | luopoints.restore | 恢复点数执行命令 |
| /luopoints check [玩家] [类型] | luopoints.check | 查看点数 |
PlaceholderAPI 占位符
如果安装了 PlaceholderAPI,可以使用以下占位符:
基础占位符
- %luopoints_current_<类型ID>% - 当前拥有的点数
- %luopoints_consumed_<类型ID>% - 已消耗的点数
- %luopoints_total_<类型ID>% - 总点数(当前+消耗)
示例
根据上面的配置示例:
- %luopoints_current_coin% - 当前金币数量(使用配置项名称作为ID)
- %luopoints_consumed_diamond% - 已消耗钻石数量(使用配置项名称作为ID)
- %luopoints_total_points% - 总积分数量(使用配置项名称作为ID)
- %luopoints_current_shenyuan% - 当前深渊点数数量(使用自定义ID)
- %luopoints_consumed_custom% - 已消耗自定义点数数量(使用自定义ID)
定时配置说明
- enabled: true - 启用定时清空功能
- time: "HH:mm" - 清空时间,24小时制,如 "00:00"(午夜)、"12:00"(中午)
- reset-current: true - 清空当前点数(设置为0)
- reset-consumed: false - 是否清空已消耗点数
- keep-history: true - 是否保留历史记录(不清空总点数)
- notify-before: 5 - 清空前通知时间(分钟),0表示不通知