- 版权类型
- 原创
- 插件中文名称
- 每日经验获取上限限制
- 插件英文名称
- DailyEXPLimit
- 支持的核心(服务端)
- Spigot
- Paper
- 语言支持
- 中文(简体)
- 适配版本(Java)
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
· 说明:
该插件为1.21原生插件理论支持其他版本,未经过测试。
开源地址
· 功能:
设定每个自定义权限组的每日经验获取的上限
· 命令:
· 支持PlaceholderAPI
· 配置文件:
· 配置项:
· 喜欢该插件,留言好评,感谢支持
该插件为1.21原生插件理论支持其他版本,未经过测试。
开源地址
· 功能:
设定每个自定义权限组的每日经验获取的上限
· 命令:
命令 | 作用 | 默认权限 |
/dexp help | 帮助 | dexp.admin |
/dexp reset PlayerName | 重置某个玩家的可获得经验上限 | dexp.admin |
/dexp resetall | 重置所有玩家的可获得经验上限 | dexp.admin |
/dexp reload | 重新读取配置文件,更新玩家的可获得经验上限 | dexp.admin |
/dexp limit add PlayerName 数值 | 增加玩家的临时上限(每日自动删除临时的值) | dexp.admin |
· 支持PlaceholderAPI
PlaceHolderApi占位符 | 备注 |
%dexp_get% | 用于显示玩家今日已经获取的经验值 |
%dexp_max% | 用于显示玩家今日可获取的最大经验值 |
· 配置文件:
代码:
dexp:
limit:
default: 3000
v1: 4000
v2: 5000
reset:
cron: "0 0 0 * * ?"
#MySQL database settings.
database:
mysql: false
# The database address. (Only required if mysql is true)
host: localhost
# The database port. (Only required if mysql is true)
port: 3306
# The database names. (Only required if mysql is true)
database: dexp
# The database username. (Only required if mysql is true)
user: root
# The database password. (Only required if mysql is true)
password: passwd
# Set prefix to "none" to remove prefix (Both local and remote will be used).
prefix: "dexp_"
# Should use SSL for database connections? (Only required if mysql is true)
usessl: false
# Properties for creating connections, you can add your own properties for datasource here. (Both local and remote will be used).
properties:
connection-timeout: 60000
validation-timeout: 3000
idle-timeout: 60000
login-timeout: 10
maxLifeTime: 60000
maximum-pool-size: 8
minimum-idle: 2
cachePrepStmts: true
prepStmtCacheSize: 250
prepStmtCacheSqlLimit: 2048
useUnicode: true
characterEncoding: utf8
allowPublicKeyRetrieval: true
· 配置项:
dexp.limit | 指定权限组的玩家可获得的最大经验值 dexp: limit: default: 30 v1: 50 v2: 80 exp.limit.default:无任何权限玩家可获得30经验 exp.limit.v1:权限组可获得50经验 exp.limit.v2:权限组可获得80经验 |
dexp.reset.cron | 定时重置时间 cron格式:0 0 * * * 每天24:00 重置 |
· 喜欢该插件,留言好评,感谢支持