Donation Link:
https://paypal.me/hhhhhy1747
赞助可获得售后服务:
http://afdian.net/@dlstudio
CustomPapi
A placeholder plugin.
You can custom your placeholder, and use PlaceholderAPI to display variables.
自定义变量插件.
你可以自定义变量, 使用 PlaceholderAPI 插件展示.
Feature
特性
- Creates countless variables.
- Has default value.
- Supports Double type.
- Switchs automatic refresh.
- Local player variables for mathematical calculations.
- Support database.
- 变量默认值. 支持小数.
- 可以配置单个变量开启/关闭自动刷新.
- 自动刷新的时间间隔(秒).
- 每个玩家都有单独的变量值, 根据自动刷新时间间隔自动刷新(开启的情况下), 可自由加减.
- 支持数据库储存.
Functions
作用
- Countless digital currencies..
- Energy/Stamina.
- Relys on other plugins as conditions.
- Usage count.
- 无数个数字货币.
- 能量/体力.
- 依赖其他插件作使用条件.
- 使用次数.
Configurations
配置
In config.yml:
Code (Text):
Language: Chinese
bStats: true
Debug: false
# custom prefix in (param.yml)
# 变量前缀 (param.yml)
# Variables parameter is "Hello" == %cpprefixtest_param_Hello%.
# 如变量参数为 "Hello" 则可以通过变量 %cpprefixtest_param_Hello% 显示
Prefix: "cpprefixtest"
In param.yml:
Code (Text):
Params:
# Variables parameter
# 变量名, 将作为变量加载的标识, 新建变量必须写变量标识.
HelloWorld:
# Default value
# 默认数值.
DefaultValue: 200.0
# Switch of automatic refresh
# 开启自动刷新.
EnableRefresh: true
# Interval of automatic refresh
# 自动刷新间隔.
RefreshTime: 60
# Others
# 其他变量实例
Global:
DefaultValue: 10086.0
EnableRefresh: false
RefreshTime: 0
Command/Permissions
命令/权限
/custompapi add 为玩家的某变量添加数值.
CustomPapi.add
- Add a value to a variable of the player.
/custompapi take 为玩家的某变量减小数值.
CustomPapi.take
- Reduce a value to a variable of the player.
/custompapi set 为玩家的某变量设定数值.
CustomPapi.set
- Set a value to a variable of the player.
/custompapi help 查看插件或指定子指令的帮助信息.
无
- View the plugin commands.
/custompapi debug 开关插件的 Debug 模式, 将会在插件运行期间在后台输出表示插件工作状态的调试信息.
CustomPapi.debug
- Switching the Debug mode of output debugging information.
/custompapi reload 重载插件配置文件.
CustomPapi.reload
/custompapi create 创建一个变量.
CustomPapi.create
/custompapi version 查询插件版本信息.
无
Addition
附加信息
Source Code: https://github.com/DL-Studio-CN/CustomPapi
开源地址: https://github.com/DL-Studio-CN/CustomPapi