Search results

  • 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 community!

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

  1. K

    How to create a yaml file like mine with skript-yaml

    As there is a new addon to handle yaml files (skript-yaml) in a new way that doesn't affect to server performance, I decided to update all the yaml files of my SuperBans skript. I experimented with some of the expressions but I can't create create the file like the one below. Code that works...
  2. K

    How to create a yaml file like mine with skript-yaml

    As there is a new addon to handle yaml files (skript-yaml) in a new way that doesn't affect to server performance, I decided to update all the yaml files of my SuperBans skript. I experimented with some of the expressions but I can't create create the file like the one below. Code that works...
  3. K

    Loop value problem

    Hi, I'm trying to asign a value to 100 variables. The values are: {levels::0} = 0 {levels::1} = 10 {levels::2} = 20 ... {levels::10} = 100 ... {levels::30} = 300 ... {levels::50} = 500 ... {levels::100} = 1000 on load: delete {levels::*} # I'm debugging so I reset the variable. if...
  4. K

    Solved Get the attacker of a tnt

    I'm having troubles when getting the attacker in my skript. I will explain it a bit. The script spawns a primed tnt and sometimes the player gets killed by it. The problem is that skript doesn't know who was the person who killed the player (I'm trying to know who placed the tnt storing it in a...
  5. K

    Replace a word with the same length of chars.

    on chat: replace all {OPTIONS::ANTISWEAR::WORDS::*} in message with "%colored {OPTIONS::ANTISWEAR::Word-Replacer}%" # The "{OPTIONS::ANTISWEAR::Word-Replacer}" equals to "*". What I need: When it detects a blocked word, it replaces it with one '*' only. I want it to replace the word with...
  6. K

    Lenght of a word

    Hi, I want to know how to make skript calculate the lenght of a word. on chat: replace all {OPTIONS::ANTISWEAR::WORDS::*} in message with "%colored {OPTIONS::ANTISWEAR::Word-Replacer}%" The "{OPTIONS::ANTISWEAR::Word-Replacer}" equals to "*". When it detects a blocked word, if replaces...
  7. K

    Solved Requesting skript "packager"

    Hi, I'm searching and learning how to package or obfuscate a skript. I know about WildSkript, but it's easy to deobfuscate. I was thinking about any addon wich reads the code automaticly throught google, so the skript code won't beve visible for humans. You must upload your skript code to...
  8. K

    Requesting skript "packager"

    Hi, I'm searching and learning how to package or obfuscate a skript. I know about WildSkript, but it's easy to deobfuscate. I was thinking about any addon wich reads the code automaticly throught google, so the skript code won't beve visible for humans. You must upload your skript code to...
  9. K

    I don't know how to create a config.yml like the one I've written

    Hello, as the title says, I want to create a config.yml like that: options: max warns: 4 dissallowed muted cmds: "msg" or "tell" or "helpop" messages: prefix: &c&lSuperBans &8» &7 ban screen message: - '&7Sadly, you were &cBanned &7from &6ServerName&7. Apply on our forums if...
  10. K

    Loop value variable loses values on stop

    Hi, I'm having troubles with my punishment skript (SuperBans). Every time a player is banned/tempbanned, he's added to {bans::*} and removed when unbanned. But on every server stop all the values of the variable {bans::*} are losed and rewrited with "null". I don't know what's wrong. I'm using...
  11. K

    Solved Wait {var} seconds ERROR

    options: pistol reload: 1.5 pistol clip ammo: 10 set {_wait} to "%{@pistol reload} / {@pistol clip ammo}%" wait {_wait} seconds #If I send a message with the variable {_wait}, it's displayed correctly (0.15), but the it doesn't wait console error: #Can't understand this...
  12. K

    Give item with custom uses

    Hello, it's possible to give a player an used item, for example an item with 30 uses left? I'm trying to recreate a gun system, and when the gun needs more ammo, it recharges and I want to use item durability to make the recharging animation more user-friendly.
  13. K

    SuperBans -> Poll

    Hello, I've created a new resource (SuperBans) and I'm asking what is more usefull & important to add in future updates. Please, can you answer my poll? It won't take more than 4 minutes: https://goo.gl/VK9Q16 Thanks, @KroterPvP
  14. K

    set slot {slot} of player to {quantity} {item} named {name} ERROR

    I'm having errors with this part of code: command /xdlol: trigger: set {slot} to 4 set {quantity} to 1 set {item} to grass set {name} to "&6Pistol &8» &avalue" set slot {slot} of player to {quantity} {item} named {name} I tryed using this and it runs...
  15. K

    How to optimize this skript?

    Hello, I've created a new skript, but there are lots of sounds and the skript reloads within 2 minutes. I'm using SkQuerry, skript 2.2 benskus's edit 27-dev and Skellett. The problem is that I'm using this sentence, and it doesn't allow me to set a variable to a number, and then set this...
  16. K

    Script ♛ SuperBans ♛ [Ban, Mute, Kick, Warn, Freeze, Antiswear, History, Guis, More+] [SK]

    KroterPvP submitted a new resource: ♛ SuperBans ♛ Ban, Tempban, Mute, Kick, Warn, Player info, GUI... | Much more to discover! [Skript] - SuperBans is the most wanted all-in-one Punishment-System with good looking punish messages! Read more about this resource...
  17. K

    Remove server messages sent to players

    Hi, as the title says, I wanna to remove server messages that are sent to players. I do not wanna check "on chat" messages, I wanna the skript to be like "MessageFilter" in spigot. How can I do that with skript? I'm using: Skript bensku's edit 27 Skellett SkQuerry 3 Thanks.
  18. K

    Tempban skript

    Hello, I'm setting up my new skript. The title says it all, I'm having errors with the tempban module. All seems correct. I'm using timespans and the timers are perfectly displayed. Every second the server checks if there are banned players. To do this, it loops the variable {bans::*}. If the...
  19. K

    A command which sends a message with randomized colors every time

    Hello, I'm trying to do code a command which sends a message with ramdonized colors. Every time a player executes the command, it sends a message with a random color. How can I do this? I tried using this, but I can't fix it. I don't know how to make skript read it as color and not as text...
  20. K

    {bans::*} loses it's values when server stops or crashes

    Hello, I'm having an issue with loop values. When a player is banned, is added to the variable {bans::*}. I've done a GUI where all the bans are displayed. If I stop the server, and start it again, or the server suffers a crash, the variable {bans::*} loses all the values. If it didn't contain...