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

    Solved Close inventory

    https://skriptlang.github.io/Skript/effects.html#EffOpenInventory
  2. jaylawl

    Solved NBT to a Entity

    add "{Variant:259,SaddleItem:{id:saddle,Count:1},Age:0}" to last spawned entity's nbt Please note that i also removed the spaces, which might or might not make a difference.
  3. jaylawl

    Other How to make custom spawners using NBT

    You need An add-on that provides functionality for changing the NBT of tile entities. For 1.12 try my jNBT API: https://forums.skunity.com/resources/jnbt.630/ For 1.11 or earlier, SkStuff should do the trick: https://forums.skunity.com/resources/skstuff.131/ Note that NBT for tile entites...
  4. jaylawl

    Solved On pickup event|Count the amount of items

    Hey. I'm using this file which was extracted by TusKe: https://hastebin.com/epayamidef.coffeescript This should be more or less the official skript documentation, which afaik is this: https://skriptlang.github.io/Skript/expressions.html#ExprFormatTime
  5. jaylawl

    Skungee send player to another bungee server

    according to the documentation, your syntax is incorrect: [skungee] (send|connect) bungee[[ ]cord] [(player|uuid)[s]] %strings/players% to [bungee[[ ]cord]] [server[s]] %string% [skungee] (send|connect) [(player|uuid)[s]] %strings/players% to [bungee[[ ]cord]] server[s] %string% so try...
  6. jaylawl

    Addon jNBT 0.3.2

    jNBT jNBT allows you to read and modify the NBT data of all entities, items and tile-entities. This is the product of hours of trying to figure out how to get this stuff to work correctly and reading through example code. Yet, it doesn't offer as much depth as SkStuff does - however i do intend...
  7. jaylawl

    Solved On pickup event|Count the amount of items

    Use %item amount%: set {_amount} to item amount of event-item Item Amount: ID: ExprItemAmount Description: The amount of an item stack. Examples: send "You have got %item amount of player's tool% %player's tool% in your hand !" to player...
  8. jaylawl

    Addon skript-yaml

    i think he's looking for functionality that e.g. SkUtilities provides where you can simply loop files in given directories
  9. jaylawl

    Addon skript-yaml

    Yep it is: Load all YAML from directory: ID: EffLoadYamlDirectory Description: Loads a directory YAML files into memory. - The input is a directory (ie. "plugins/MyAwesomePlugin/"). - If for example a file in that directory is named test.yml then the output ID...
  10. jaylawl

    primed tnt fuze

    set fuse time of %entity% to 1337
  11. jaylawl

    primed tnt fuze

    [skellett] [the] (fuse time|time until blowup) of [the] [primed] [tnt] %entity% [skellett] [primed] [tnt] %entity%['s] (fuse time|time until blowup) It states the syntax^ right there. In case you don't know how to read this: [this syntax] = optional (this syntax) = required (this|that|or...
  12. jaylawl

    Using an item only not working!

    on break of sugar cane holding diamond hoe: event-player's tool's name = "&3&lEnchada do Ceifeiro" # rest of your code the second line is a condition that will cancel the rest of the code if the player does not hold your custom item
  13. jaylawl

    Using an item only not working!

    Dear lord please paste your code within [ CODE ] tags :D
  14. jaylawl

    primed tnt fuze

    https://skripthub.net/docs/?id=558 yes
  15. jaylawl

    Script (Armor Stand) Poser [No add-ons] 1.0

    Poser Poser allows you to edit your armor stands comfortably and gives you an opportunity to provide your survival players or donators with "Poser Tokens" that allow them to change their armor stands poses via commands. Everything you need in game is the single command "/poser". The command...
  16. jaylawl

    Solved Getting roles

    Ahh you should've tagged donuts post as best answer because he was the one to spot the error :D You're welcome, it's nice to help if you make it easy for one
  17. jaylawl

    Solved Getting roles

    function BroadcastRoles(): add "Knight", "Villager" and "Sheperdess" to {_roles::*} loop all players: set {_p} to loop-player set {_r} to random object out of {_roles::*} set {Game.Role::%{_p}%} to {_r} remove {_r} from {_roles::*} send {_p}...
  18. jaylawl

    API Expressions+ - Minor fix

    0.dev3 Fixed a typo that made one of the expressions require SkStuff
  19. jaylawl

    NPC Wings

    set %entity%'s chestplate to elytra this?
  20. jaylawl

    Solved Getting roles

    because you're removing from a non existant list variable "{_rolespossible::*}" function BroadcastRoles(p: player): add "Knight", "Villager" and "Sheperdess" to {_roles::*} set {_r} to random object out of {_roles::*} set {Game.Role::%{_p}%} to {_r} remove {_r} from {_roles::*}...