A simple variable compression
Supports decimal and switching between Chinese and English
I searched around but couldn't find the corresponding plugin, so I wrote a simple self use one myself
Variable format:%Variablecompression_{Variables that need to be compressed}:0:true%
If you need to modify the variables of the coupon plugin, you need to
%Variablecompression_{playerpoints_points}:1:false%
Among them, {playerpoints_points} is the variable name, and it is necessary to modify% to the corresponding parentheses
Among them, 1 is the number of decimal places reserved. If it is an integer, the decimal will be automatically ignored
Among them, true/false is whether to enable switching between Chinese and English compression
If true, calculate according to thousands, tens of thousands, millions, tens of millions, billions, billions, billions, billions, billions
If false, calculate according to B, M, K
If there are any problems, please contact the author to solve Q3328429240
一个简单的变量压缩
支持小数和中英文切换
翻了一圈没找到对应功能的插件,索性自己写了个简单的自用
变量格式: %Variablecompression_{需要压缩的变量}:0:true%
如果你需要修改点券插件的变量则需要
%Variablecompression_{playerpoints_points}:1:false%
其中 {playerpoints_points} 是变量名,需要把%修改为对应的括号使用
其中 1 为保留小数的位数,如果是整数将自动忽略小数
其中 true/false 为是否开启中英文压缩切换
如果为true则按照 千、万、百万、千万、亿、十亿、百亿、千亿、亿亿 计算
如果为false则按照 B、M、K 计算
如有问题找作者解决 QQ3328429240