YiC200333 / XConomy

An economy plugin that supports data synchronization between multiple servers
GNU General Public License v3.0
92 stars 32 forks source link

请求适配 papi的 math变量 #135

Open 2689508458 opened 2 months ago

2689508458 commented 2 months ago

Version of XConomy
XConomy V2.25.12

Server version
Spigot 1.20.4

Storage-type
MySQL

Describe the issues
Issues

您好请求适配 papi的 math变量 计算

目前eco的指令可以正常适配 例如

EFC1C74D0DF3F4D51669727A02AE64BF 1C6D9A3BF66106AA86787752DDAE65E0

如果我使用了XConomy则无法使用此命令 eco give %player% %math_%point%*100% 微信截图_20240503141029


(option)XConomy's config.yml

(option)Screenshots

postyizhan commented 1 month ago

有没有一种可能,是你用错了

https://github.com/Andre601/Math-Expansion?tab=readme-ov-file#placeholders-in-math-expressions

You can use any placeholders from PlaceholderAPI that return valid numbers. When using placeholders will you need to use the curly brackets format ({some_placeholder}) rather than the percent placeholders. As an example can you use {server_online} in your expressions to use the amount of online players in your server.

所以试试

%math_{xconomy_balance_value}*100%

图片

你现在可以关闭这个issues了