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

    Check for filled map ID

    I want to code a Skript that does stuff if the map's ID is equal to a number. I have SkBee installed but all my attempts in comparing the NBT tag failed. Just want to get this value: And compare it to something :emoji_slight_smile:
  2. Hosom

    Chunk enter / chunk leave without on any move event

    That function is based on Morkazsk, and I don't know how it is implemented, maybe it's just a check on the on-move event?
  3. Hosom

    Chunk enter / chunk leave without on any move event

    The question seems easy, but it isn't. How to detect a player entering or leaving a chunk without using that damn any move event? Should set up a loop with wait instructions and periodically check the position of all players?
  4. Hosom

    Solved Make Minecarts undestroyable

    At the end i solved it here: https://www.spigotmc.org/threads/make-minecarts-undestroyable.410165/
  5. Hosom

    Shoot an arrow towards a player starting from location

    I am trying to make a skript that transforms Dispensers into automatic turrets, using arrows contained inside, when powered by redstone, they automatically shoot arrows towards players. I can't manage to create a proper vector, i made the arrow go from the player to the dispenser but not vice...
  6. Hosom

    Solved Make Minecarts undestroyable

    Wayy to hacky :emoji_dizzy_face: Bump
  7. Hosom

    Solved Make Minecarts undestroyable

    That does not prevent tnt and explosions and other stuff... and it does not work too! :(
  8. Hosom

    Solved Make Minecarts undestroyable

    on vehicle damage: if victim is minecart: cancel event Does not work on vehicle damage: if vehicle is minecart: cancel event Does not work either on vehicle damage: cancel event Works, but prevents damage also on boats WTF should i do? :emoji_joy:
  9. Hosom

    Detect and prevent item hand swapping?

    Is there an event in skript that detects the "F" key? Aka item hand swap, when you move an item to the other hand. How to prevent it?
  10. Hosom

    Display player's health with hearts (not numbers)

    Unfortunately the only script that changes tablist is this one that i made to replace the vanilla functionality since skrayfall overwritten it. And I can't remove skrayfall because I use it for a script with a lot of citizens NPC interactions. If you know a great alternative for spawning moving...
  11. Hosom

    Display player's health with hearts (not numbers)

    I used to do that but since I I stalled skrayfall the plugin completely overrides vanilla tab tab
  12. Hosom

    Display player's health with hearts (not numbers)

    It's a vanilla command block thing, but skrayfall overwrites everything that changes tab in vanilla. And I can't use it anymore since I installed it
  13. Hosom

    Display player's health with hearts (not numbers)

    lol :emoji_smile: Nope, i mean actual minecraft hearts, like this Instead when i use %loop-player's health% i get this: Also with your heart lol lol
  14. Hosom

    Display player's health with hearts (not numbers)

    I am currently using SkRay fall. I want to display player's health in the tablist (and maybe also under the player's nametag) using hearts, not numbers. I tried this: set loop-player's tablist name to "Test: &7(&c%loop-player's health%/10&7)" But it displays like "(5/10)" I want it to...
  15. Hosom

    Find a place near the player to spawn a mob

    Since I will spawn a citizen npc I just discovered that the y axis is not that important.. it should pathfind to the right y level. But a location on ground would be nice :)
  16. Hosom

    Find a place near the player to spawn a mob

    A bit hacky but it works! Thanks
  17. Hosom

    Find a place near the player to spawn a mob

    Unfortunately no.. I am trying to spawn an NPC behind the player, 10 or 20 blocks away. I don't need it to be in a random position, I could do also on a fixed position, but still dynamic and relative to player position. Behind him, some blocks away..
  18. Hosom

    Find a place near the player to spawn a mob

    command /test: trigger: loop blocks in radius whatever around player: if loop-block is air: if block above loop-block is air: add loop-block's location to {_locs::*} set {_loc} to random element of {_locs::*} spawn a...
  19. Hosom

    Something went horribly wrong with Skript

    I am trying to code a simple queue script. Instead of requiring server owners to set up an external server and connect it via bungee cord, it works by dynamically reserving slots for players in a queue. Players enter the queue simply joining the server while it is full, and they are asked to...
  20. Hosom

    New line in kick or in cancel connect event!

    Is it possible to do without SkQuery? If it is not possible to do, which version of SkQuery to use on 1.14.4?