balance

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  1. Doodle

    negative balance

    I am making a skript so when a player dies, they lose some of their money, and if it's in the negatives, the balance goes farther into the negatives. The problem is, when I test it, when the player's balance is negative, it doesn't want to work and the balance of the player just stays the same...
  2. L

    Balance Teams

    Hi, I would need help to fix this command. I need him to be able to block entry into a team with more people than the others. I did this, but it doesn't work. (He doesn't tell me any errors) command /joinitaly: permission: ww2.selectteam trigger: if {russia} or {usa} or...
  3. O

    Solved Adding a variable to player's balance

    I found an issue regarding adding variables to a player's balance. I don't think you need my whole code, so here's the line of code: add {_a} to player's balance It doesn't seem to work and the error is: Can't understand this condition/effect: add {_a} to player's balance
  4. R

    Help with Money

    Hello, I got a Token skript on my server (tokens = ingame currency) and you can see ur tokens on the scoreboard. I was wondering if there was any way to show them with a comma between the numbers. If a player has 10k Tokens it shows this: 10000 and I want it to look like this: 10.000 Is there a...
  5. R

    Coins Jackpot

    Suggested name: Jackpot Spigot/Skript Version: Spigot 1.8.8 Skript 2.1.2 What I want: Hello, I am searching for a simple coin jackpot skript. So players can add money from their balance to the jackpot (i am using {tokens.%player%} on my server). If u use the command /jackpot it should show your...
  6. A

    Need help with skript

    Hi i have this code create a gui with virtual chest with 1 rows named "Banco": format gui 3 with gold block named "&aCantidad personalizada": set {cuentas-banco::chat::%player%} to true depositarpersonal(player) function depositarpersonal(p: player): close...
  7. XSKRIPTX

    Balance split (NEED HELP)

    Hello, it is possible do split balance? example: 5.000 instead of 5000 i work with: {coins.%player%}
  8. T

    Error: player´s balance is not an entity type

    First i know the function Pay is already exist Skript version: I think the newest Vault version: Idk i have SKQuery and SKRayfall as well Code: command /pay <player> <integer>: usage: /pay <player> <money> trigger: if player has permission "sk.kort": if arg 1 has...
  9. F

    Trying to add a baltop

    How can I create a baltop command? I save my balances like this: on quit: set {{@databasePrefix}playerinfo.%player's uuid%.lastbal} to "%player's balance%" I've tried several methods and they've all failed so far.
  10. P

    Solved How can I do this?

    It don't works: on death of player: set {_bal.%victim%} to victim's balance set {_kap.%victim%} to ({_bal.%victim%} / 10) * 2 if attacker is a player: give {_kap.%victim%} money to attacker Error: '{_kap.%victim%} / 10 money' can't be added to an entity because the former is...