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

    Loop doesn't work

    Yes, I have debugged it, and it fails to pass on first loop. loop blocks in radius 2 around {_b}: and loop blocks above event-block:
  2. _PAPER_PLANE_

    Loop doesn't work

    Underneath this post, someone updated a script in August 2023, and I used it. (here) Also, I already posted code in the comments with spoiler.
  3. _PAPER_PLANE_

    Loop doesn't work

    This script was found here, and I have made some slight modifications on my own, which do not affect its functionality. However, after updating to skript 2.8.0, the loop section seems unresponsive. I've checked the update log, but I still can't figure out what the issue is. No error message.
  4. _PAPER_PLANE_

    About anvil click event

    Thank you for providing me with an alternative solution, but tuske is no longer supported and cannot be used on my server : (
  5. _PAPER_PLANE_

    About anvil click event

    I want to prevent players from renaming custom items, but Skript doesn’t seem to have any syntax that can be used for this. I tried detecting when a player puts an item in the inventory and then closing the inventory directly on inventory click: type of event-inventory is anvil inventory...
  6. _PAPER_PLANE_

    How to use custom NBT

    How do I use it in a GUI? Do I need to configure it one by one? It doesn't seem like that's the case.
  7. _PAPER_PLANE_

    How to use custom NBT

    I read the skbee NBT wiki from here, but I'm not quite sure how to use custom NBT. It mentions, "it will need to be within the "tag" tag." Does this mean I must use "tag" as the starting point? set slot 37 of {_slotS2} to paper named "paper" with lore "paper" with nbt compound of tag 1 #←here...
  8. _PAPER_PLANE_

    Solved Unable to cancel a player's inventory click event.

    I've noticed that when using metadata tag "GUI" of player the cancel event for the player's inventory doesn't work. However, if you use name of event-inventory is "GUI" it can effectively prevent clicking on player inventory items.
  9. _PAPER_PLANE_

    Solved Unable to cancel a player's inventory click event.

    Players can still place their items in the GUI as long as they use any code, including your code, even when using a cancellation event.
  10. _PAPER_PLANE_

    Solved Unable to cancel a player's inventory click event.

    I created a vanilla GUI with cancel event, but players can still place items from their inventory into the GUI and can't retrieve them anymore. I recall that in previous versions, it would cancel both the GUI and the player's inventory together. Is there a solution to this now? skript 2.7.1
  11. _PAPER_PLANE_

    Solved Detect custom items

    Is this a bug? After updating from Skript 2.6.4 to 2.7.1, I can no longer detect custom named items. command /getaxe: trigger: give player golden axe named "&6Super axe" on break of any log: if tool of player is golden axe named "&6Super axe" send "ok" to player
  12. _PAPER_PLANE_

    Solved amount of item in inventory is not work

    https://github.com/SkriptLang/Skript/issues/6120
  13. _PAPER_PLANE_

    Solved amount of item in inventory is not work

    Use "event-item’s type" still doesn’t work.
  14. _PAPER_PLANE_

    Solved amount of item in inventory is not work

    This is all my code I have translated some Traditional Chinese into English to make it easier for you to read.
  15. _PAPER_PLANE_

    Solved amount of item in inventory is not work

    It still can’t detect the items on the player. Is this bug of skript?
  16. _PAPER_PLANE_

    Solved amount of item in inventory is not work

    The reason I first use “set {_item} to type of event-item” is because if I only use event-item, it will display “event-item named … my custom name”. I just want to get the type of item, otherwise it will be different from the original name and cannot be detected.
  17. _PAPER_PLANE_

    Solved amount of item in inventory is not work

    When I use "set {_n} to amount of {_item} in inventory," it doesn't work, {_n} remains 0. I have confirmed that {_item} contains cobblestone block, and I have them in my inventory. If I replace {_item} with cobblestone block, {_n} will display the quantity correctly. There are no error messages...
  18. _PAPER_PLANE_

    Solved Detect if a player is in a certain team

    It worked! Thank you very much!
  19. _PAPER_PLANE_

    Solved Detect if a player is in a certain team

    error: Can't compare a team with 'vip'
  20. _PAPER_PLANE_

    Solved Detect if a player is in a certain team

    I know skbee supports it, but there isn't a condition to check whether a player is in a certain team.