So i bought this plugin "(link down below)" however, it doesn't work with custom balance systems like {balance::%player%} it uses items like #need 5 diamonds instead of the #need 5 diamonds i wan't it to be like #need 5 money or #need 5 {balance::%player%} or #need 5 coins
PLUGIN LINK: https://shop.minehut.com/products/simple-gui-maker?_pos=2
FULL CODE: Dm on discord ---> human being#0165 <---
LINE OF CODE THAT NEEDS TO BE CHANGED FOR THIS TO WORK!:
if {_r} contains "##need ":
replace all "##need " in {_r} with ""
set {_i} to uncolored {_r} parsed as items
if number of {_i} in {_p}'s inventory < item amount of {_i}:
set {_error} to ""
loop {_error::*}:
set {_error} to "%{_error}%%loop-value-2%"
gui_run({_p}, {_error})
stop
continue