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 community!

    Now, what are you waiting for? Join the community now!

  1. M

    Disable natural mob spawn

    Using skmirror Current code: on CreatureSpawnEvent; if CreatureSpawnEvent.SpawnReason == "NATURAL"; cancel the event
  2. M

    NBT not working

    Code: format gui slot 0 of player with skull with nbt...
  3. M

    Solved Any lore?

    if player's inventory contains glowing diamond ore named "&3&lDiamond Satchel &a&l1": However, this only picks up a glowing diamond ore. I want this to pick up one with a lore too! (Please help). IM NOT ASKING HOW TO PICK UP A LORE IM NOT THAT DUMB, Whats happening is it will only work if it is...
  4. M

    Solved Hiddenstring in lore?

    Hey not sure if this is possible but I want to make hidden string in the lore of something.. is this possible with skmirror? Java version: https://bukkit.org/threads/storing-hidden-data-in-itemstacks-using-colors-persistent-no-nms.319970/
  5. M

    Solved Skript amount of item in a slot?

    on inventory close: if inventory name of player's current inventory is "&5Selling - Shop": loop items in player's current inventory: if event-item is iron ore: send "&aYou sold: %item amount of iron ore in player's inventory%" " " Returns 1 for everything No...
  6. M

    Solved Few questions

    set the name of event-item to "&7Iron Suit &7(&aNot Worn&7)" spits out the following error: [18:58:08 ERROR]: the name of event-item stack can't be set to anything (item armour.sk, line 26: set the name of event-item to "&7Iron Suit &7(&cWorn&7)"')
  7. M

    Solved Something I want to try

    can I make it so a player can't put armor on, also can I make it so the player has items in their inventory that is like a chest GUI, so if they click it I can run a command? Sorry at school when this came to my head.
  8. M

    Held item name

    send "&cYou ate &e%name of tool% &cand gained speed 1 for ten seconds and regeration 3 for 5 seconds!" How might I fix this, right now it sends <none> in place of Name of tool
  9. M

    GUI error

    make gui slot 11 of player with blaze powder named "&6Blazing Arrows" with lore "hi" to close then run player command "pvp" Spits out the following error: [17:56:11 ERROR]: [Skript] '"hi" to close then run player' is not a text (perks.sk, line 5: make gui slot 11 of player with blaze powder...
  10. M

    HUGE lag with scoreboard?

    every 19 seconds: loop all players: set {onlineplayers} to amount of players every 20 seconds: loop all players: wipe loop-player's sidebar display board named "&8&l&m-+- &c&lDEV &8&l&m-+-" to loop-player make score of "&F&m&l------------------" in board...
  11. M

    Solved all players online not working??

    every 5 seconds: set {ONLINE::AMOUNT} to %number of all players% Errors out: [20:04:14 ERROR]: [Skript] 'all players%' is not an item stack (scoreboard.sk, line 2: set {ONLINE::AMOUNT} to %number of all players%') ended up making my own variable for player count! Code: every 20 ticks...
  12. M

    Solved Toggling flight

    Trying to make a /fly command, how can I turn flight on for a player?
  13. M

    Solved Chat commands with skript

    I want to use ! Before every command, however I was wondering how I would do teleport commands or anything that needs an argument want heres what I have so far On chat: If message contains "!Teleport" Cancel the event
  14. M

    Solved Particle List

    Trying to find a particle list for skript's play thingy, any lists that you guys know of? Also, for some reason this dosen't work.... play lightning effect on arg-1 play lightning effect on arg-1 play lightning effect on arg-1 play mobspawner flames 1...
  15. M

    Solved Creative Drop

    on break: if player's gamemode is creative: drop %event item% Spits out this error: [09:08:58 ERROR]: '%event item%' is not an item type (creativedrop.sk, line 3: drop %event item%') Any help?