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 Creative inventory

    alternative of event-inventory = event.getInventory() alternative of clicked event-item = event.getCurrentItem() alternative of event-player = event.getWhoClicked() Simply look at docs what I send , and make something like i wrote above
  2. lotzy

    Solved Why this isnt working?

    because broadcast doesn't support formatted messages. use this instead: if arg-1 is "host": send formatted "&c&l%player% Hosted an event &aEvent Starting in 30s <run command:/eventtp %arg-2%>&a&l[Join Event]<reset>" to all players,console
  3. lotzy

    Solved Creative inventory

    He want stop getting items from creative inventory
  4. lotzy

    how to disable the <%player%> in chat with skript

    on chat: set the chat format to "%player% said %message%"
  5. lotzy

    Solved Creative inventory

    time to use skript-reflect for handle that!!!! import: org.bukkit.event.inventory.InventoryCreativeEvent on InventoryCreativeEvent: if event.getCurrentItem() is dirt: send "You cant get this from creative" to event.getWhoClicked() cancel event [docs link]
  6. lotzy

    Solved Creative inventory

    'Inventory click event skunity'? Are you try to google that?
  7. lotzy

    Solved Sorting into teams

    oh, mod(loop-value,2) my mistake
  8. lotzy

    ежемесячные

    ежемесячные
  9. lotzy

    Solved Projectile Burst

    Disable gravity allow us to not use hundred of cycles with lagged pushes every entity
  10. lotzy

    Solved Projectile Burst

    I understand what you want, mmm.. Disable gravity of every spawned arrow and decrease starting speed, the simplest way Ah, you edited post, what you mean about '2d'?
  11. lotzy

    Solved Projectile Burst

    Lol, I mix up you with another member of forum, :DDD Edit answer to english
  12. lotzy

    Solved Projectile Burst

    mb something like that loop 10 times: set {_loc} to {loc} set yaw of {_loc} to yaw of {_loc} + (random number between -15 and 15) set pitch of {_loc} to pitch of {_loc} + (random number between -15 and 15) shoot an arrow from {_loc} at speed 1.2 We can also use push %entity% ...
  13. lotzy

    Solved Projectile Burst

    loop 10 times: set {_vector} to vector((random number between -1 and 1),(random number between -1 and 1),(random number between -1 and 1)) shoot an arrow from {loc} at speed 1.2 {_vector}
  14. lotzy

    Solved Sorting into teams

    every 20 ticks: if {sf.running} is false: if size of {sf.players::*} > 1: set {sf.running} to true loop {sf.players::*}: if {_red} is true: delete {_red} add loop-value to {sf.teamred::*}...
  15. lotzy

    Solved Problem with duels :D

    I also store previous locations of players before duel, you dont need teleport them to spawn. If you need this - replace lines 99 for winner and 77 for looser
  16. lotzy

    Solved UTF-8 blocking

    For check if argument has invalid symbols: if arg-1 doesn't match "[^a-zA-Z0-9]*": broadcast "argument contains invalid symbols" For remove that symbols: set {_arg1} to join (regex split arg-1 at "[^a-zA-Z0-9]") with "" If your's point to remove invalid symbols - best way is using addon...
  17. lotzy

    how to code /command [rows] HELP!

    https://github.com/ShaneBeee/SkBee/wiki/Tab-Complete#event
  18. lotzy

    Solved How i display the lore of a item in a tooltip?

    join expression allow us to connect text list into one part 'lore of player's tool' - return list of text then we join that and get single text https://docs.skriptlang.org/expressions.html#ExprJoinSplit
  19. lotzy

    Solved Problem with duels :D

    because duel for winner ends after 10 seconds? Remove 'wait 10 seconds' for instantly end
  20. lotzy

    how to code /command [rows] HELP!

    Use tab completes from SkBee addon. Or import event with skript-reflect. Pure Skript doesn't have syntax for edit tab completes