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

    Skript variable with Vault economy API

    I think this can be solved with skript-reflect if Skript's hook to vault doens't work , idk import: org.bukkit.Bukkit net.milkbowl.vault.economy.Economy on load: set {_rsp} to Bukkit.getServer().getServicesManager().getRegistration(Economy.class) set {vault::economy} to...
  2. lotzy

    Skript variable with Vault economy API

    explain what exactly you are trying to do?
  3. lotzy

    Dupe command

    ahahaahah
  4. lotzy

    Solved Skript's Inventory Slot Restriction

    Why can't you just attach a code where this problem causes? Your gifs provide absolutely no information other than visual appearance. Conclusion: This is a bug in Skript <=2.5 versions The same bug is in Skript 1.8, issue here Solved via skript-reflect: (Inventory of player).addItem(%item type%)
  5. lotzy

    Solved Skript's Inventory Slot Restriction

    I can't repeat bug. When I use effect command , dirt was putted in first free slot in my inventory
  6. lotzy

    click on interaction entity

    Skript-reflect needed. import: org.bukkit.entity.EntityType command spawninteraction: trigger: set {_entity} to (player's world).spawnEntity(location of player, EntityType.INTERACTION) {_entity}.setInteractionHeight(5) {_entity}.setInteractionWidth(5) on rightclick: clicked...
  7. lotzy

    Solved Tracking how long an item is in an inventory

    I personally did not understand your task (before editing the post), after you attached additional code and edited the text of the task itself, it became clear. And here is the solution for you. Need Skript-reflect addon to handle InventoryDragEvent (This event is called when the player drags an...
  8. lotzy

    Solved Check if the player is wearing armor

    If Milosauce solved your's question, mark his answer as solution and mark thread as solved
  9. lotzy

    API Request

    SkJson (execute|send|make) [new] (POST|GET|PUT|DELETE|MOCK|HEAD|PATCH) request to %string% [(with headers) %-strings/json%] [and with (body|data) %-strings/json%] (execute|send|make) [new] (POST|GET|PUT|DELETE|MOCK|HEAD|PATCH) request to %string% [with (body|data) %-strings/json%] [and (with...
  10. lotzy

    How do i set a mobs ai when i spawn it in?

    maybe this try to google something by self
  11. lotzy

    How do i set a mobs ai when i spawn it in?

    I suspect that there are no ready-made solutions for changing the behavior of mobs for Skript at the moment
  12. lotzy

    How do i set a mobs ai when i spawn it in?

    make own addon on java what realize this or learn how to use skript-reflect and hippo and realize it with skript, but anyway it require java skills
  13. lotzy

    how to use a skript variable with a uuid as a placeholder api placeholder?

    It doesn't work only with 'something::uuid' or it doesn't work at all?
  14. lotzy

    API Request

    Pure skript doesn't have http requests
  15. lotzy

    ого

    ого
  16. lotzy

    idk how to make this teleport player to other server

    command /server <text>: trigger: connect player to arg-1 https://docs.skriptlang.org/effects.html?search=#EffConnect
  17. lotzy

    How do i set a mobs ai when i spawn it in?

    You cant set AI of mob to AI of another mob with pure skript. AI expression allow you to off or on AI of entity, not change to another set ai of {pigA} to false set ai of {pigA} to true
  18. lotzy

    Selecting A Random Player

    command /nerd: trigger: set {_player} to random element of (all players) send "%name of {_player}%'S A NERD!" to all players
  19. lotzy

    On touch

    on spawn of pig: set {-lastspawned} to event-entity on right click on pig: clicked entity is {-lastspawned} broadcast "this is last spawned pig"