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

    Spawn blocker

    sorry didnt check the forum for a few days, just add a if to check player's permissions
  2. M

    Spawn blocker

    use worldguard to make regions then in skript something like on region enter: if "%event-region%" = "-your region name- in world world": set {_time} to difference between {combat::%event-player's uuid%} and now if {_time} < 15 seconds: cancel event
  3. M

    slot of the crafting grid in the player inventory

    Hey so I've looked around and couldn't find a solved solution about this so I'd like to ask in case if anybody is now able to answer this. Is it possible to mess around with this crafting grid in the player inv in skript ? I've tried slots 80-83 I've tried to on right click in inv "broadcast...
  4. M

    Not being able to send to player

    I believe skrayfall doesn't support 1.19 yet and tuske is abandonned, last version was 1.10 i think, try to remove them and try mordrowned code if thats not what u had
  5. M

    Solved variable update

    use loops such as while player is online: wait 1 second (so it doesnt crash the server)
  6. M

    Solved Daily Lootchest - each player own loot

    np please dont forget to put it to solved if it is
  7. M

    Make mobs sun proof (ONLY sun, not all ignite sources)

    Welp, if I specifically said "ONLY sun, not all ignite sources" in the title was because I knew somebody would come up with this. Thanks but I already use that as of now and it's not what I want.
  8. M

    Make mobs sun proof (ONLY sun, not all ignite sources)

    Hello, I can't figure out how to make zombie being sun proof while being able to get ignited by other sources such as lava or flint and steel. Does anyone have an idea on how to make a work around?
  9. M

    Skript Creating and removing bound holo objects

    Wrong category.
  10. M

    Drop table with chances

    hmmm maybe use list variables, one for the dropchance and the other one the items and then loop it ? on death: victim is zombie: set {_i} to 0 loop 70 times: chance of {_list1::{_i}}%: give player {_list2::{_i}} add 1 to {_i} something...
  11. M

    Solved Daily Lootchest - each player own loot

    on rightclick: if location of event-block is {lootchest}: play open animation on event-block if {lootchest.%uuid of player%} is false: on inventory close: if event-inventory's name contains "&e&lDaily Chest": set {_slot} to 0 #we save starting from slot 0...
  12. M

    Solved villager jobs

    have no idea rn to do that in skript, but you could just lock that by trading with him once
  13. M

    Solved Daily Lootchest - each player own loot

    Hey, so the problem was because we don't open a gui which makes sens I guess else: cancel event set {_dailychest} to a new chest inventory with 3 row with name "&a&lDaily Chest" open {_dailychest} to player set {_slot} to 0 loop...
  14. M

    Solved Daily Lootchest - each player own loot

    Can you post the whole skript ? I will try it myself and try to figure it out when im at home
  15. M

    Solved Daily Lootchest - each player own loot

    Oops that's my mistake, before line 16 add this: " set {_slot} to 0" also line 12: 3 row inv, slot 27 doesnt exist (last index of row 3 is 26)
  16. M

    Solved Daily Lootchest - each player own loot

    something like that on rightclick: if location of event-block is {lootchest}: if {lootchest.%uuid of player%} is false: cancel event set {lootchest.%uuid of player%} to true open virtual chest inventory named "lootchest" with size 4 to player...
  17. M

    Solved Daily Lootchest - each player own loot

    to save: set {_slot} to 0 #we save starting from slot 0 loop 26 times: #we save 26 slots (depends on how much row u have) set {chest::%{_slot}%::%player's uuid%} to slot {_slot} of current inventory of player add 1 to {_slot} to restaure : set {_slot} to 0 loop...
  18. M

    AFK Rewards

    every 1 minute: if "%region at player%" is "region name": do your thing If you want to check your region name you can put in the every 1 minute loop broadcast "%region at player%" while you are standing in the region This is a simple way but it has flaws, which is if he leaves...
  19. M

    Solved On craft of netherite chestplate doesn't work

    Couldnt find anything revelant in skunity docs nor skripthub docs gl
  20. M

    "make player see block as" left click makes it disappear

    Didnt think of "within 10 meters"! Thank you, that will save me from some server lag xD -------------------- final code every tick: loop all players within 128 meters of location(-16.5, 43.5, 360.5): #server view distance if {route1.%loop-player's uuid%} is not set: #event to...