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

    Send message to a permission group

    You'll need to have SkPerm for this: if contains((permissions of player), "the.permission") is true: #do something The only thing you should change in the code above is "the.permission".
  2. rustedst

    Cancel Despawning

    I'm not sure if this will work at all, you can get an error even while parsing, but I'm sure I can fix any problems about that. This is the first form of the script and it can be improved, that's the script: variables: {giantid::1} = 1 every 5 seconds: loop all giants: set...
  3. rustedst

    cant understand this event "on packet" pls help

    on packet event %packettypes%: #do stuff
  4. rustedst

    Solved If using named item for craft , cancel event

    on craft of (item): loop 9 times: if slot loop-number of event-inventory is (item) named "Name": cancel event This is gonna work only on crafting tables. I think I found a way to make it work on both crafting tables and inventory craft: on craft of (item): if type of...
  5. rustedst

    Sprint Stamina

    variables: {stamina::%player%} = 100 on player sprint toggle: if {stamina::%player%} > 0: loop {stamina::%player%} times: wait a second if player is sprinting: if {stamina::%player%} > 0: reduce {stamina::%player%} by 1...
  6. rustedst

    Solved i want help this skript

    Oh sorry, I got you now. on chat: if {prestige.%player's uuid%} > 0 #or required prestige points set the chat format to "%player's display name% &a&l[&3&lP&b&lr&3&le&b&ls&3&lt&b&li&3&lg&b&le &d&l%{prestige.%player's uuid%}%&a] &f: %message%: " else: set the chat format to...
  7. rustedst

    Cancel Despawning

    I'm not sure if Giants are normally despawning. If so, just apply them nametags. It will prevent them from despawning. For the event, there's no on despawn event even in java.
  8. rustedst

    Loop blocks in a Cube

    If a region is set, it can be done with on event: loop all blocks in radius (more than region's size) around event-location: if "%region at loop-block%" contains "(name of region)": #do stuff
  9. rustedst

    Solved i want help this skript

    Because now {prestige.%player's uuid%} variables are set to "". You'll have to do: on join: delete {prestige.%player's uuid%} or just simply delete them from variables file.
  10. rustedst

    Solved i want help this skript

    on join: if {prestige.%player's uuid%} is not set: set {prestige.%player's uuid%} to 0 on chat: if {prestige.%player's uuid%} > 0 #or required prestige points set the chat format to "%player's display name% &a&l[&3&lP&b&lr&3&le&b&ls&3&lt&b&li&3&lg&b&le &d&l%{prestige.%player's...
  11. rustedst

    Anti death itemdrop

    if name of loop-entity is "&dd"
  12. rustedst

    Solved How to ignore diacritics in a message?

    You can reformat the chat by on chat: set {_msg} to message replace all "č" with "c" in {_msg} cancel event broadcast "(your chat format): %{_msg}%" or instead of replacing "č" with "c" you can simply replace it with "" to remove it. You can set format with addons that support...
  13. rustedst

    Anti death itemdrop

    on death: wait 1 tick loop all entities in radius 1 around event-location: if loop-entity is (item name): kill loop-entity
  14. rustedst

    Solved On inventory help

    If player has to select kit after joining, no, people won't be able to attack him. If player doesn't select a kit after joining, do this: on command "/join": set {selecting::%player%} to true wait 30 seconds set {selecting::%player%} to false send "&cYour shield is disabled" to...
  15. rustedst

    Solved On inventory help

    Then replace "(the event that makes player select a kit)" with "on respawn". If player also gets to select kit when uses /join command, copy the code and paste again by replacing "on respawn" with "on command "/join"".
  16. rustedst

    Solved On inventory help

    I mean, when does the player start selecting a kit? On join? On respawn? On command?
  17. rustedst

    Solved Need help

    Maybe the account you're trying this command didn't have a "first join" to set those variables to false.
  18. rustedst

    Solved On inventory help

    on damage: if victim has a golden sword named "&bKit Selector": #or your golden sword's name cancel event send "&cThe player you attacked is selecting a kit!" to attacker if attacker hasa golden sword named "&bKit Selector": #or your golden sword's name cancel...
  19. rustedst

    Solved Issue about Skript-Mirror

    Yeah, I already fixed it with that and that's the solution. Thanks.
  20. rustedst

    Solved Issue about Skript-Mirror

    import: org.bukkit.entity.Player org.bukkit.event.EventHandler org.bukkit.event.Listener org.bukkit.event.player.PlayerJoinEvent org.bukkit.plugin.java.JavaPlugin fr.xephi.authme.api.v3.AuthMeApi fr.xephi.authme.api.v3.AuthMePlayer on example event: set {_p} to...