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

    Solved teamlist

    Are you know how to write code? I give you simple example how to structure yours teams with Skript? Or what I need to do? Make complete code for copy-paste this? Obviously all members need to be stored inside {-teams::%team id%::members::*} , also need store theirs prefixes/roles idk, you give...
  2. lotzy

    Solved teamlist

    on join: #probably it can be command set {-p::%uuid of player%::team} to 1 command /team [<text>]: trigger: set {_teamid} to {-p::%uuid of player%::team} loop {-teams::%{_teamid}%::members::*}: add 1 to {_i} set {_members::%{_i}%} to "%prefix of loop-value%...
  3. lotzy

    How do I make it so players can only break a certain block that they placed?

    thank you for readable format of code.
  4. lotzy

    Solved sorting skript..

    {_items::*} is array with items what you want to sort also this can be something like this: loop items in inventory of player: if lore of loop-value is not set: add 1 to {_count} remove loop-value from inventory of player
  5. lotzy

    How to know the direction of travel

    set {_vector} to velocity of player set {_x} to x of {_vector} set {_z} to z of {_vector} set {_degrees} to (180 * atan2({_x},{_z}))/3.14
  6. lotzy

    Drop Event help

    on inventory click: if click type is drop key or drop key with control: cancel event
  7. lotzy

    "There is no loop that matches 'loop-value'

    make before gui {_slot} section variable with loop-value set {_lp} to loop-value
  8. lotzy

    Sell skript

    add condition inside loop raw iron: if 1 of loop-item is not 1 of {_yourItem}:
  9. lotzy

    loop within a loop

    Looks legit, send full code, I think problem isn't here and please use code tags:
  10. lotzy

    Solved Need help with varible and name :)

    split expression return a list of text, so you need a) set {_rank::*} to %text% split at %text% or b) set {_rank} to first element of (%text% split at %text%)
  11. lotzy

    Solved {list::*::something}

    set {_list::1} to "slot1" set {_list::slot1::something} to ... loop {_list::*}: loop {_list::%loop-value%::*}: ...
  12. lotzy

    Solved sorting skript..

    loop {_items::*}: if lore of loop-value is not set: add 1 to {_count} delete {_items::%loop-index%}
  13. lotzy

    Solved sorting skript..

    loop {_items::*}: if lore of loop-value is not set: add 1 to {_count}
  14. lotzy

    Join and leave message

    mb leave/join messages handle another plugin? Your's code looks legit
  15. lotzy

    scoreboard

    b c d?
  16. lotzy

    Need Help With A Sell Skript

    And whats your's problem? Where is description of function of this code? What doesn't work?
  17. lotzy

    effect by rightclicking sign

    It has errors after reload? I think it causes because you write "&cAbsorption IV", but table line doesn't have '&' symbol, try use '§'
  18. lotzy

    Remove only ONE item

    remove 1 of {_crateItem} from player's inventory
  19. lotzy

    Solved Remove certain trades from villagers

    Anyway pure skript again cant make this thing, but Skript-reflect. import: org.bukkit.event.inventory.InventoryType org.bukkit.inventory.MerchantRecipe java.util.ArrayList on inventory open: if event.getView().getType() is InventoryType.MERCHANT: set {_merchant} to...
  20. lotzy

    Solved Anti Phantom for player Skript

    command /antiphantom [<text>]: permission: antiphantom.use trigger: if {-p::%uuid of player%::antiPhantom} is set: delete {-p::%uuid of player%::antiPhantom} send "&c> &fAntiphantom deactivated" else: set {-p::%uuid of player%::antiPhantom} to true send "&a>...