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

    Solved Points Leaderboard

    What code are you using to set someone's points? What you can also try is "delete {TopPoints::*}" before updating again.
  2. AsuDev

    Solved Points Leaderboard

    Yes there is. You can change this line of code in the expression for sorting: set {_sorted::%{_index}%} to replace values "@place", "@index" and "@value" with "%{_index}%", "%loop-value.getKey()%" and "%loop-value.getValue()%" in expression-3 Change it to this: set {_sorted::%{_index}%} to...
  3. AsuDev

    Send message Skript.

    These are the ones I know of: <sgt:/suggest> Suggests a command to a player <tooltip:Hi> Hoverable text on text <link:https://example.com> Sends clickable link (not sure on this one, if it doesn't work, try <url:>) <cmd:/spawn> Executes command on click If you are using Skript 2.3.7+ you need...
  4. AsuDev

    Solved Points Leaderboard

    Make sure you have skript-mirror. 1. Do not store the player's points in a non list variable. Store it in a list, example: {points::%arg 2%} 2. Use the expressions shown in the post: import: java.util.ArrayList java.util.Collections java.util.Map$Entry...
  5. AsuDev

    Solved Points Leaderboard

    Use list variables for player data so you can sort them into an order. Take a look at this tutorial I made on making a leaderboard: https://forums.skunity.com/threads/sorting-method-toplists.9931/
  6. AsuDev

    Scoreboard not making gaps between lines

    Just the ones you want to be empty unless you have 2 lines that are the exact same
  7. AsuDev

    Scoreboard not making gaps between lines

    I believe that each line in the scoreboard has to be unique. Try making the first one "&7" and the next one "&7&7" etc. That is what I did for my scoreboards. Each line just needs to be different.
  8. AsuDev

    Console can't execute a world edit command

    I will show you can example using the code in that link I sent you: set {_loc1} to location at 0, 0, 0 in world "world" set {_loc2} to location at 2, 2, 2 in world "world" set {_bool} to setBlocks({_loc1}, {_loc2}, "90%%stone,10%%iron_ore") Also, use the updated coded that Simuciokas sent. You...
  9. AsuDev

    Console can't execute a world edit command

    The console cannot execute worldedit commands. What you can do though is use skript-mirror and use the FAWE api. https://forums.skunity.com/threads/asynchronous-block-placement.5332/
  10. AsuDev

    Solved Wie ändere ich ein bestimmtes Schild mit einem Command

    Like this? command /signreload: trigger: set {_setsign} to the location at 117, 219, -989 of the world "world" set line 1 of block at {_setsign} to "Custom Message"
  11. AsuDev

    Solved Wie ändere ich ein bestimmtes Schild mit einem Command

    I do not know German well and I am having issues with what your asking, but I hope this is what you are asking for? "Ich spreche nicht gut Deutsch und habe Probleme damit, was Sie fragen, aber ich hoffe, das ist, wonach Sie fragen?" - Google Translate set line 4 of block at {_setsign} to "Custom...
  12. AsuDev

    Skript Error but the skript works?

    use loop-player not player when your looping players.
  13. AsuDev

    Info of target player in actionbar

    It is less laggier than the "on any move" event I am pretty sure. I think you will be fine though. You can make the ticks higher if you don't want to risk lag. I just used 5 ticks as an example.
  14. AsuDev

    Info of target player in actionbar

    Use a while loop while the player is online or loop all players in an "every x ticks" statement. These will update whenever you see fit and do not require a player to move. Example 1 (While Loop) on join: while player is online: if player's targeted entity is a player...
  15. AsuDev

    Solved Cooldown help

    on right click on villager holding a cauldron: if difference between {rewardcd.%uuid of player%} and now is less than 30 seconds: send "&cYou must wait %difference between 30 seconds and difference between {rewardcd.%uuid of player%} and now% before doing that again." to player...
  16. AsuDev

    Solved how to use arrayList?

    What you said has no relevance to the what he is asking. He is asking how to add loop-item to an ArrayList. he doesn't want to use Skript lists. He even stated this. Make sure to actually read the whole post before answering. Try setting a local variable to loop-item first, and then add it...
  17. AsuDev

    Leaderboard hologram

    What version of Skript and Spigot are you using?
  18. AsuDev

    Solved FAWE Block Distribution (Types)

    Note: I am not using and I will not use Skematic or FaweSK. So do not mention it. I am trying to get the types of blocks in a region, but I am not sure how. Right now I have this function: function getBlocksInRegion(pos1: location, pos2: location) :: objects: set {_session} to...
  19. AsuDev

    Skript Sorting Method / Toplists

    I don't know what to say then. It works for me perfectly when I use those versions. Maybe someone else can clarify it. I actually just checked my Skript version on my 1.8.8 server and it said it was a custom version. I don't know if that makes a difference or not but you can try this one...
  20. AsuDev

    To be unstealeble dosen't work

    Use the "on inventory click" event for making them unstealable. Example: on inventory click: name of player's current inventory is " &b Buycraft " cancel event