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

    How can i spawn a invisible item frame with a map in it?

    why does the itemframe need to be invisible? when a map is put into an item frame it wil already be the full size of a block hiding the itemframe right?
  2. T

    Warn Spam in Console

    what it means is that you are creating a large number of variables that skript is trying to save to the default log. you might be able to fix a lot of your code by using underscores at the start of your variables. if a variable is not used outside the piecr of code it is in, make it {_name} to...
  3. T

    Freez skript not working :(

    besides, what about ender pearls. or other means of movement,
  4. T

    Homing arrow also with named bow

    this is script help, not scripts requests. what have you coded so far? otherwise go to https://forums.skunity.com/forums/requests/
  5. T

    Solved Set blocks in an area

    remove the "" around bedrock. you are setting your variable {_block} to the string "bedrock" instead of the block bedrock. other than that it is working as expected when i tested your code. keep in mind that you are making a 10 block cube close to the bottom (under the ground) of your map. it...
  6. T

    How to disable the level up sound

    oner way is to replace the sound file with an empty one in a (forced) resource pack for your server. there is the "on level up:" event, but i am not sure if you can stop sounds from it. but it should be with stop playing sound[s] %strings% [(in|from) %soundcategory%] [(to|for) %players%] so...
  7. T

    executing commands with variables

    if you type "execute positioned {_block} run function sp:particles" in your server's console, what happens?\ , if you want to parse the variable of {block} you need to add %% around it. otherwise it literally tries to 'type' out {_block} in the console. so try: execute the command "execute...
  8. T

    Skript does not understand the event

    can you try if this works: on walk on any block: if event-block is not dirt or grass: apply slowness 2 to the player for 1 second
  9. T

    Solved Reset a variable of all offline players

    loop all offline players: if all players does not contain loop-offline player: clear {player.Balance::%loop-offline player%} remember, loop offline players loops ALL players that ever joined, including online players. so that is why you check if they are online before clearing the...
  10. T

    Solved Loop doesnt work

    ok, try this: setting the vallue in {vdate::%player%} to true. and test your not working loop if it works as you wanted it. function graczeObok(p: player) :: boolean: set {vdate::%{_p}%} to true loop all players in radius 50 around {_p}: set {vdate::%{_p}%::%loop-player%} to...
  11. T

    Solved Loop doesnt work

    you don't have a variable {vdate::*}, thus you can't loop that.
  12. T

    Solved This doesnt work

    it is with [ code][/code] (without the space) you can find it under the + sign in a box while writing a post. i will assume this is what the spaces in your code look like: every 1 seconds in world "flatroom": set {_e} to pig spawn {_e} at location at (-464, 7, -326) in event-world...
  13. T

    Solved Time change vote system not working

    if you are making a list of player UUIDs, or want to check a list, be sure to have a ::* at the end of your variable name. so "add player's uuid to {hlasoval::ano}" should be add player's uuid to {hlasoval::ano::*} so that skript knows it is a list of variables, and not just one variable. to...
  14. T

    Solved Spawning mobs in specific coordinates and world

    well that is not at all what you described in your title. if you had explained it in your post you might have had some help with it. you can use an event that reoccurs with "every %timespan% in [world] %worlds%" so every 3 minutes in "world": spawn zombie at location at (0, 80, 0)...
  15. T

    Solved How do I make an assist system?

    you could try somehting like this: add the attacker to a list per player, and clear the list when they are at full health. this will however remember an assist even if it happened minutes ago but the player never went back to full health. of you could ad an actual timer and remove it after a...
  16. T

    Solved Spawning mobs in specific coordinates and world

    wait you want to have a command ingame to spawn a zombie at a location? something like this could be used... i guess. also don't assume people don't have other stuff to do than help you. command /spawnmob <mob: entitytype> [<x: number> [<y: number>] <z: number> [<world: world>]]: executable...
  17. T

    Solved Spawning mobs in specific coordinates and world

    spawn <mobtype> at <location> location includes X, Y, Z and world. you can also use "<number> of <mobtype>" to spawn multiple. for example: spawn ghast 6 blocks east from event-player's location spawn 5 zombies the location at x =10 , y = 100 z = -10 in world %world% [the]...
  18. T

    Slot change

    you can save the slot to a variable, and check it every once and a while to see if it stayed the same. you could use on inventory click: and check the slot to try and catch them trying to move or swap something with that inventory slot. but you would need a separate check for people dropping...
  19. T

    set player's cursor to ((SLOT))?

    you need to eleborate on what you want specifically. do you want the player to hold a specific slot in their hotbar? in that case this might work: not tested though. set current hotbar slot of <player> to 1 it needs skript 2.2 or higher. or do you want to move the mouse cursor of the player...
  20. T

    Solved Only the person that places a block can break that block

    sounds like a very bad idea to do it per block in skript instead of in a java plugin. and might be better for your server to do it on a per chunk basis. but: on block place: set {Ownblocks::%event-block's location%} to event-player on break: if {Ownerblocks::%event-block's location%}...