Jump to content

Vault economy placeholders in skript


FlapKakker

Recommended Posts

Hey everyone,
I recently found the vault placeholders for papi and I was wondering if I could use them in skript. The following placeholders are available:

Economy:
%vault_eco_balance%
%vault_eco_balance_commas%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%

I need to get top balance of the server. Anyone knows an expression to make this work or to be able to use the placeholder?
Fyi: I already tried the following which returned <none>. Thanks in advance!
 

set {_rank} to placeholder "vault_eco_top_balance_1"
send "%{_rank}%"

 

Edited by FlapKakker
Link to comment
Share on other sites

  • FlapKakker changed the title to Vault economy placeholders in skript

Result still <none> and I tried the following code
 

set {_rank} to placeholder "%%vault_eco_top_balance_1%%"
send "%{_rank}%"

PS: u added "to player" at the end of the set expression, i think that is supposed to go on the next line with send "%{_rank}%"

 

Edited by FlapKakker
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...