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

    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.
  2. _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...
  3. _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...
  4. _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
  5. _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
  6. _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...
  7. _PAPER_PLANE_

    Solved Detect if a player is in a certain team

    I am currently using the "/team" command to give players prefixes. I need to modify the chat format based on their team, adding the prefix before their name. While I can set this up when players have prefix, I wish to include the player's current world as well. I need to detect the player's...
  8. _PAPER_PLANE_

    date text

    I am calculating the cooling time, and the output will display: 10 minutes and 10 seconds. However, I would like it to be translated into Chinese. Can I change the English strings in it?" I tried adding a new line below the third line using "formatted as," but it didn't work. The script couldn't...
  9. _PAPER_PLANE_

    Solved Compare question

    I want to confirm on the second line that the player has the item and I have enough items on me, but it still judges it as not having it I have confirmed that the contents of {_item} and the items in my backpack are "cobblestone block" function money(p: player, n: number, item: item, price...
  10. _PAPER_PLANE_

    Solved How to set custom skull to GUI?

    How to set custom skull to GUI? my code: set slot 30 of {_menu} to player head with nbt...
  11. _PAPER_PLANE_

    How to use custom skull in gui

    Similar to here Since the plugin I used before is no longer updated, I would like to switch to skript
  12. _PAPER_PLANE_

    Solved right click block

    (sorry my english is not good) I want to trigger when the player right click on a block with a specific coordinates But it doesn't work, and there are no error messages on rightclick: set {_1} to location at location(-83.5, 63.5, -1.5, world "world") if event-block's location = {_1}: send "hi"
  13. _PAPER_PLANE_

    Solved Detect if the player is in a location

    (sorry my english is not good) I want to make a portal that teleport when the player is in a certain position Also, if I use every ticks will I use more computer performance? Do I need to use "player is in world" or something like that? Thanks!