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

    How to access a skript global variable from "outside" ?

    I'm fairly certain that can be null if you aren't trying to access local variables (the local parameter is false) But it's just an instance of the current scope to get local variables from
  2. I

    Skript-Mirror Help

    set {_message} to {_message}.replaceFirst("!", " "); is correct but when using skript-mirror stuff as expressions you don't need a semi-colon at the end. Also skript-mirror is great for things that skript doesnt already have, but it is better to use default skript where possible
  3. I

    How to optimize a server

    Provided they are written properly the number of plugins should have little effect on the server. Also, I would strongly advise against rewriting all plugins in Skript since a well optimised plugin will always perform better than even the most optimised script. As well as that, ClearLagg should...
  4. I

    Book Teleport

    with lore "lore" requires SkQuery to work
  5. I

    Force player to flight without double jump

    You can do it with player.setFlying(true); if you have skript-mirror. Although I think it's going to be added to dev34 anyways
  6. I

    Worldborder setcenter Skript-mirror

    You don't need %'s around {_x} and {_z}. Also you need semicolons at the end of the lines that set the size and center of the worldborder
  7. I

    Armor lore not registering

    It doesn't look like you're ever actually updating the lore of the item to the latest progress of it
  8. I

    Using custom heads in gui

    Why did you create a new thread about the same problem? Also I posted a solution without using nbt in https://forums.skunity.com/threads/an-internal-error-occurred-while-reloading-a-script.6527/
  9. I

    Solved An internal error occurred while reloading a script

    If you have mundosk then you should be able to use set {_value} to "value from website" set {_signature} to "signature from website" set {_skull} to skull from skin with value {_value} signature {_signature} set data of {_skull} to 3
  10. I

    layer by layer

    That's because the code donut gave you loops every single block in the chunk 255 times each. It will still set the same number of blocks but it will loop a lot more. Instead you want to do something like set {_layer} to 255.5 loop 255 times: set layer {_layer} of chunk at event-block...
  11. I

    Spectators blocking arrows

    After some testing it appears that the arrow turns invisible with creative players as well, so I believe this is a clientside issue. I tested hiding the player being hit from other players and the arrow shows perfectly for other players, just not the spectator being "hit"
  12. I

    Spectators blocking arrows

    1.8.8 doesn't support the collidable option for players so the only other checks for arrow collision are if the player is in the spectator gamemode or if the player "doesn't exist" according to the world EDIT: Actually, try set player.getHandle().collidesWithEntities! to false ^^^ Requires...
  13. I

    CHECK GETDATA ON IF STATEMENT

    I think it's is.getData().getData() which should return the byte 15 if it's black stained glass
  14. I

    Spectators blocking arrows

    The game's source code only considers players that have their collision enabled when checking if the bounding boxes intersect. I highly doubt you are able to trick the minecraft server to this extent using only packets What skript and minecraft version are you on? What code did you exactly use...
  15. I

    API NPCore

    I was originally going to try and get this to work with no skript-mirror but I couldn't. The plan is still to move over as some point to just mundosk packets if I can get a better idea of how they work
  16. I

    API NPCore - NPC click event bug fix

    Fixed error when left clicking an npc
  17. I

    API NPCore - Right Click Event

    +Dependencies: Mundosk (for custom events) and ProtocolLib (for packet events) With this update you can now listen for when a npc is right clicked by using MundoSk custom events To do this use "on event "npcore npc click": " You can get the player who right clicked using...
  18. I

    API NPCore

    it_twit submitted a new resource: NPCore - Create and manage NPCs Read more about this resource...
  19. I

    API NPCore 1.1.1

    About: NPCore is a skript API that provides a few functions that allow you to implement NPCs onto your server Features: - Create NPCs - Show NPCs only to certain players (clientside) - Hide NPCs from the tablist - Remove NPCs Usage: To create an NPC you have to use the function npccreateNPC()...
  20. I

    Other Custom effects and expressions with skript-mirror

    Honestly I don't know, but I just feel like it would work well with the current features