Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Can't compare player's balance with an integer

Open Darkweasam opened this issue 5 years ago • 5 comments

Skript/Server Version

2.6-beta2
Paper104 1.17.1-r0.1snapshot

Bug Description

if player's balance is higher than 1: returns an error "Can't compare player's balance with an integer"

Expected Behavior

player's balance should be an integer

Steps to Reproduce

command /rankup []: trigger: if player's balance is higher than 1: send "hi"

Errors or Screenshots

Replace this text with your paste link or errors/screenshots/videos.

Other

No response

Agreement

  • [X] I have read the guidelines above and confirm I am following them with this report.

Darkweasam avatar Jul 15 '21 21:07 Darkweasam

player's balance doesn't seem to work at all

add {_moneypool} to balance of player set {_money} to player's balance remove {_moneypenalty} from player's balance

all seem to be broken

Darkweasam avatar Jul 15 '21 21:07 Darkweasam

player's balance doesn't seem to work at all

add {_moneypool} to balance of player set {_money} to player's balance remove {_moneypenalty} from player's balance

all seem to be broken

Do you have the plugin Vault?

ghost avatar Jul 15 '21 21:07 ghost

player's balance doesn't seem to work at all add {_moneypool} to balance of player set {_money} to player's balance remove {_moneypenalty} from player's balance all seem to be broken

Do you have the plugin Vault?

[15.07 23:43:39] [Server] [INFO] [Vault] Enabling Vault v1.7.3-b131 [15.07 23:43:39] [Server] [INFO] [Vault] [Permission] SuperPermissions loaded as backup permission system. [15.07 23:43:39] [Server] [INFO] [Vault] Enabled Version 1.7.3-b131

Darkweasam avatar Jul 15 '21 21:07 Darkweasam

pretty sure you need an economy plugin, not only vault

wallace4BR avatar Jul 15 '21 21:07 wallace4BR

pretty sure you need an economy plugin, not only vault

player's balance doesn't seem to work at all add {_moneypool} to balance of player set {_money} to player's balance remove {_moneypenalty} from player's balance all seem to be broken

Do you have the plugin Vault?

Looks like I just fixed it by downloading a different version of vault, thanks guys

Darkweasam avatar Jul 15 '21 21:07 Darkweasam