• 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. NotNinjaTalon

    Solved Help Needed / Error in my skript?

    I'm trying to make a code that replaces the block beneath yourself upon doing the command "/is" For some reason I can't seem to get it to work, any suggestion. All replies appreciated! on command "is": Execute console command "/execute positioned as %player% run setblock ~ ~-1 ~...
  2. K

    Solved Items from GUI showing in chest

    Hey SkUnity people :emoji_grinning: i made a skript when you rightclick an emerald a GUI opens up and the problem is when i rightclick it works fine but when i hold the emerald in my hand and rightclick on a chest, hopper, enderchest etc the items from the gui appear in there and than you can...
  3. L

    TuSKe bug

    ERROR LOG: > [09:37:56 ERROR]: Could not pass event InventoryClickEvent to Skript v2.4-beta9 java.lang.NullPointerException at ch.njol.skript.lang.function.Function.execute(Function.java:118) ~[?:?] at com.github.tukenuke.tuske.util.EvalFunction.run(EvalFunction.java:101) ~[?:?] at...
  4. Skaju

    if {_p} has (item) in inventory, doesn't work

    Hello. I edited script for tpa, but one fragment doesn't work. When script requires 3 gold block from player, shows that player doesn't have it, even though he has them. Apparently it's a script bug. Broken moment: Script: Sorry for my bad english, but i from Poland. I translate my post in...
  5. Jonathan Cohen

    Glass bug

    Hello, I am making a skywars skript and I am trying to make the cage but when I set the block type to glass it picks a random stained glass color. command /glass: trigger: set block northeast of the player to glass set block east of the player to glass set block...
  6. CreeperOverLord7

    Solved Help with Final Damage expression

    Hi! Thread too long for you? Scroll to the bottom and read the last line! Skript Version (do not put latest): 2.2-dev36 Skript Author: Bensku Minecraft Version: 1.12.2 (Note about Skript version: I know that it is old, but in the server that I plan on putting this script in, I cannot update...
  7. jonawoning

    Solved Skript if message starts with "!" not working.

    Title: Skript if message starts with "!" not working. < I have skript like: on chat: if {kd.%player%} is "Kingdomloos": cancel event broadcast "&7[&fKingdomloos&7] &7%coloured player's displayname%: &7%message%" else: set {hash} to "##" set {procent} to...
  8. Nutts

    TuSKe and SkSharp on docs have duplicates

    Every event, effect, expression and type on the docs for SkSharp have duplicates marked under TuSKe with the same documentation as the SkSharp version.
  9. F

    Solved Getting AbstractMethodError from "set block to ___"

    I don't know why but the following skript is giving me an AbstractMethodError on the setBlock() method in the BlockSetter interface: Error: Note: I am running the latest version of skript on a 1.12.2 spigot server, the spigot server is being run off of my computer, not a remote host. The...
  10. M

    Solved This is error??

    on inventory close: if player's helmet is set: ... if player's chestplate is set: ... if player's leggings is set: ... if player's boots is set: message "D" <-- test ... I only equip a helmet, and when I close the...
  11. Scholler

    Solved Skript problem

    Hello! I have a 1.12.2 spigot server, and my version of Skript is 2.2-dev37c. So the question is, what's wrong with this code: command /radio <arguments>: ... So this <arguments> is not working, it says "Unknown type: <arguments>" or something like that. I tried to install Skript 2.2...
  12. Tinkot

    Solved functions cannot be used (only while starting my server)?

    when i reload my skript it work just fine. when i start or restart my server it says it can't be used. Using Skript 2.2 Fixes V9 Mirreski's fixes (for spigot 1.8). Maybe there are newer versions of Mirreski's fixes?, this one is the only one i found [12:35:48] [Server thread/INFO]: [Skript]...
  13. TPGamesNL

    Skript NullPointerException when parsing with syntax

    Skript Version: 2.2-dev35 Skript Author: Bensku Minecraft Version: Spigot 1.12.2-R0.1-SNAPSHOT --- Full Code: command /ptest <text>: trigger: set {_t::*} to arg-1 parsed as "[%number%]x^2[ ][%text%[ ]%number%x][ ][%text%[ ]%number%][ ]=[ ]0" message "%{_t::*}%" Errors on...
  14. Selvati

    Skellet natural break help

    I need this code to exclude the breaking of bedrock and obsidian unless player's tool is a diamond pickaxe, player's can get bedrock using this, thanks. # 3x3 Mining on mine: if lore of player's held item contains "&eExplosive I": set {_1} to location of event-block set {_2}...
  15. W

    Questions and Questions (Custom enchants)

    So these are some questions i want some clarification on so here are a few hopefully you can help me. #1. Custom enchants working on everything. I made some lored enchants wich wierdly activate regardless of bieing in the code that it needs to have the lore to activate here is the code i have at...
  16. redbau

    My ChestShop.sk: how are people stealing?!

    I've developed a chestshop Skript that sets a yaml variable (shop=true) when a player opens a chest shop, and then checks on inventory click to verify shop=true, but a very tiny few (3 so far) players have been able to bypass this and steal from my chest shop. Can anyone offer insight into how I...
  17. A

    Location At Expression

    Recently I noticed that the location at expression is said to be broken. Location At Allows to create a location from three coordinates and a world. "This expression is currently not parsed correctly, and there is no ETA on a fix yet." – http://skunity.com/expressions#LocationAt. Has the...
  18. Aralwen

    Solved Update scoreboard don't work exactly

    Hi developpers, I have a problem, I use the command /timer for display scoreboard to players then the /timermaj command is performed every second to update the counter. The problem is that the scoreboard updates only to the last person who executed the /timer command Explanation of the...
  19. Spartan9802

    Solved On inventory click: bug and custom max durability

    Hello, I use "on inventory click" to retrieve each placement in a backpack, unfortunately the event "on inventory click" is not called when one remains to squeeze and that one moves the cursor on several slots. I really would not use "on inventory close" ... Is it possible to increase the...
  20. A

    Solved WildSkript Change Skin Error

    Skript version: v2.2-dev23. Mc version: Spigot 1.8.8 (with ViaVersion) Console error, caused by WildSkript's change skin effect. I know for sure this is WildSkript's change skin effect. As soon as I added this code, the error began to occur whenever a player joined. Also, looking in the error...