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 comminuty!

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

  1. S

    Loop range??

    simple question but those days google is a mess, and chatGPT is broken on demand. question: how do I make a loop in a range, like this: loop 10 to 20: or loop in range 10..20: This is a very useful thing, but can't find solution, I already saw the documentation.
  2. S

    Just a question

    Some years ago I used skript in 1.10.2, but now I'm really confused because the syntax seems more static. It really happened compared to latest release? I can't script easy anymore, there's some addon or something to make expressions more flexible?
  3. S

    Hide doesn't work on join ?

    if {mode.control.%event-player%} is "false": if {mode.control.ismob.%{cm.currentplayer}%} is "CM:Player": broadcast "asd" broadcast "%{cm.currentplayer}%" hide {cm.currentplayer} from event-player The condition sequence its ok, because it broadcast...
  4. S

    gui lock status breaking.

    Anyone knows if "/skript reload scripts" break the "set the gui-lock-status to true" ? I'm testing guis from skript-gui, and I don't know if gui lock status break in a random circunstance or when I reload the scripts. Thanks.
  5. S

    Solved This is a bug or I'm doing something wrong?

    on join: set {chat::spigotcolors::*} to "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9", "&a", "&b", "&c", "&d", "&e" and "&f" set {chat::colors::*} to "<dark blue>", "<dark aqua>", "<dark red>", "<dark purple>", "<gold>", "<gray>", "<dark gray>", "<light blue>", "<dark green>"...
  6. S

    How to prevent chest merge into a double chest ?

    Hi everybody! It's not possible to detect a double chest with precision, because if I check if one block to south, west, north or east is a chest to detect a double chest, it would fail due it's possible to place a normal chest next to another without merge since 1.13 if I'm not mistaken. There...
  7. S

    There is a way to use loop-index as location ?

    command tst: trigger: loop all blocks in radius 3 around player: set {tst::%location of loop-block%} to loop-block loop {tst::*}: set block at loop-index to stone #this line return a error delete {tst::*} How can I convert loop-index to...
  8. S

    I need a example of script

    Hello! I'm trying to cancel item drops for furnaces when exploded. Cancel drops of items doesn't work on explosion event. I already have a code that prevents the furnace be destroyed, and I know how to reestablish the items contained in his inventory, but if I do nothing about the dropped...
  9. S

    Solved It's not possible to do this ?

    on explosion: loop exploded blocks: set block at location of loop-block to stone None blocks was set, and I get this error: [15:17:30] [Server thread/ERROR]: Block at 133, 65, -179 is Block{minecraft:stone} but has net.minecraft.server.v1_16_R2.TileEntityFurnaceFurnace@777e41d5...
  10. S

    My code works, but, it can cause some bug ? little help here please

    Hello guys and ladies. I did that code, and it works perfectly so far, but, I don't know how exactly it work :emoji_upside_down: It can cause some bug in the future ? My objective is prevent chunkbans using furnaces. establishing a limit to place furnace, that is 8, and the player have to break...
  11. S

    Solved A variable can carry a block ?

    E.g. save an event-block into a list variable {block::*}. It's possible ? Because I'm not getting. on place: add event-block to {blocks::*} on break: loop all blocks in {blocks::*}: broadcast "%loop-block%" Doesn't broadcast. Works if I change to: on break: loop {blocks::*} ...
  12. S

    How to vanish to mobs without potion effects ?

    Good evening! I hope this is for night greetings. I'm thinking, how to make mobs stop to attack certain player without invisible potion effect. I'm creating a way to be mobs, and the player shouldn't be invisible for another player, only for mobs, because he is a mob when disguised. Nothing...
  13. S

    Morkazsk bugged ?

    I'm trying this: command modocontrole: loop all players: if {mode.control.%loop-player%} is "false": make loop-player glow with color "WHITE" for player This is a part of my code, of course. But I'm getting this error: [Server thread/ERROR]...
  14. S

    Solved Just why did you that ? (Blocks)

    For creator of Skript: Why did you change all names of minecraft blocks in %block% ? I'm creating a way to be mobs with Skript, now I'm creating enderman abilities to players use. The ability of take blocks of world and place it again shouldn't be hard, but the names of blocks in Skript...
  15. S

    Help with wither effect condition

    Hello everyone, can a good soul help me with this condition ? This line is returning a error: [Skript] Can't compare an entity with a heal reason. I searched on forums, skunity, skripthub, but nothing... I don't know what to put in this line to work. victim is a player...