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. D

    Full inventory // double chest?

    I have 2 questions. Is it possible to detect if a player has a full inventory when executing a command? how? And second thing, how can I make it so when I open a chest it'd somehow detect that it's a double chest? I'm just doing a chest filling system and when I open 1 part of the large chest...
  2. D

    Getting a bungee player command?

    Is it possible to get the bungeecord command a player has executed? like on command event which supports bungee cmds and then if the command is /alert or any other cmd of a bungee plugin I have, for example, then do smth...
  3. D

    SkQuery MySQL Question

    Hello, I am having a bit of trouble while making a script which saves data in the MySQL database using the SkQuery add-on. Basically what I need to do is when I run a command with arg 1 being a name of a player (can be online or offline player) and it'll check in the database if a row with the...
  4. D

    Getting last attacker if death wasn't caused by a player?

    Hello, So what I want to make is like if, for example, I am pvping against a player, and they hit me, and then I die because of another cause (for example, I burned in lava), it would give +1 kill to the last attacker, because skript doesn't have this thing and I don't know how to set it, so...
  5. D

    Colored nametags & /skript: cmds

    How can I make a scoreboard with Skellett that would update? I know there's a .sk plugin in here with Skellett's scoreboard which has this update thing, but it has a config file with only 1 scoreboard possible to make, and what I want is to have multiple scoreboards enabled at different times...
  6. D

    Solved chat format gone wrong?

    When the message is too long and goes to the next line, it turns gray, why though? https://prnt.sc/ffp41f on chat: if {chat::%player%} is "white": set message to "&f%message%" on chat: cancel event loop all players: send "%player's display name% &8: %message%" to...
  7. D

    Solved error on startup

    02.06 16:36:32 [Server] GRAVE Error occurred while enabling Skript v2.2-dev28 (Is it up to date?) 02.06 16:36:32 [Server] INFORMACIÓN java.lang.NoClassDefFoundError: org/bukkit/Particle 02.06 16:36:32 [Server] INFORMACIÓN at ch.njol.skript.util.VisualEffect$Type.<clinit>(VisualEffect.java:93)...
  8. D

    Check variable of an offline player?

    How can I do for example: /checkkills [<offline player>]: message "%{kills.%uuid of arg 1%}%" if the player is not online? It just sends me "<none>"
  9. D

    Docs not working?

    When I try to search for a documentation of any addon, it shows nothing http://prntscr.com/enyvx0
  10. D

    Solved Cancel fire spreading?

    I tried to do on spread if event-block is fire cancel it but that didn't work. It didn't give me any errors but just continued to spread. How can I do it? Thanks
  11. D

    Solved Getting 1 player from loop-player

    Hello, So what I want to do is when it loops all players it would select 1 player by random and do something, but how can I do that? I tried to do, for example, teleport a random element out of loop-player to {location} but it tped all looped players, so how can I get only 1 player out of the...
  12. D

    Is higher than?

    Hello, So I have another issue which I'm trying to solve. So I am making a minigame which has map voting. So when the countdown ends, it should obviously set the map with the most votes. I have the following code: if {Vote.1} is higher than {Vote.2} or {Vote.3}: but, it is not working. It...
  13. D

    Solved Help with countdown

    Hello, I'm willing to know how to make a countdown like "01:30", which automatically updates, decreasing the seconds by 1, and etc.. Could someone help me with this please? I tried to do something like "set {second} to 30" and then " loop 30 times " which sets {second} to "{second} - 1"...
  14. D

    What's this error about?

    It was working perfectly until today. I started up my server and it gave me the following error, why though? I haven't modified anything in my scripts.. Spigot version: 1.7.10 (Supports 1.8) 25.02 13:45:47 [Server] ERROR #!#! 25.02 13:45:47 [Server] ERROR #!#! [Skript] Severe Error: 25.02...
  15. D

    SkQuery MySQL question

    So I have this: When I perform a command, it syncs the stats I have with the mysql database, but it ain't working. I have the code over here, what's the issue though?: loop all players: update "UPDATE `Stats` SET `Stats`.`Deaths` = `Deaths`+%{deaths.%loop-player%}% WHERE...
  16. D

    Chat color and JSON problem

    So I have a json thing in chat which just puts a button in-front of the player's name in chat, and also a chat color. The problem is that when I type a large thing, half of the message's color is fine but the rest has color of the chat in white. How may I fix this?