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

    How to loop sounds

    It is possible to loop sounds using normal loops in Skript. You just got to know how long the sound is if you want to loop it correctly. I did this in my script: https://forums.skunity.com/resources/block-sounds.806/ Not promoting anything, just saying that is is possible.
  2. AsuDev

    Solved How to make a top list?

    Parse the uuid as an offline player if you want it to display their name instead of uuid.
  3. AsuDev

    Saving and reading items from mysql

    I don't know of any way other than having an addon. If you use skript-mirror you can do it too.
  4. AsuDev

    Saving and reading items from mysql

    Serialize the item into a string and store it that way. When you retrieve, you can de-serialize the string back into an item. You can do this pretty simply with skript-json. Example code (Serializing a single item): function serializeItem(i: item) :: string: add {_i} to {_items::*}...
  5. AsuDev

    Need help with Skript? Contact me on discord: AsuDev#0714

    Need help with Skript? Contact me on discord: AsuDev#0714
  6. AsuDev

    Welcome Message Link Not Working

    If you put the / it makes them run a command, if you don't it forces them to chat. I guess you could say that 'in general' it forces them to chat. Putting a slash at the beginning just means they will execute a command. <cmd:/spawn> is right format. (Example command) <cmd:spawn> wrong format...
  7. AsuDev

    Welcome Message Link Not Working

    If you are using Skript 2.3.6 or lower: send "&4Click here to join our discord server: <url:https://google.com>&f&ngoogle" to the player If you are using Skript 2.3.7 or higher: send formatted "&4Click here to join our discord server: <url:https://google.com>&f&ngoogle" to the player
  8. AsuDev

    Solved Skript Mirror Help

    Just tested Ersatz on the newest Skript version, newest paper 1.15.2 and the newest placeholderapi version and it worked fine. I pretty much used the example code from the Ersatz page. on placeholder request with prefix "custom": if the identifier is "hey": set the result to "hi...
  9. AsuDev

    Solved Skript Mirror Help

    I don't think so (someone correct me if I am wrong). To create placeholders in placeholderapi you have to create a placeholder class for the custom placeholders and register them in your plugin (and also register with placeholderapi). I don't know much about placeholderapi but after looking at...
  10. AsuDev

    Script Chat Items 0.2

    Description Chat Items is a script that allows players to share multiple items in chat at the same time. Instead of using the typical '[item]' system which shares the item in the player's hand, this system works off of player's being able to specify which slots they want to share with others...
  11. AsuDev

    Script Chat Items - Permission Fix

    Just a quick permission fix.
  12. AsuDev

    Chat Items

    Description Chat Items is a script that allows players to share multiple items in chat at the same time. Instead of using the typical '[item]' system which shares the item in the player's hand, this system works off of player's being able to specify which slots they want to share with others...
  13. AsuDev

    Solved Infinity Loop?

    while loop
  14. AsuDev

    Furnace Fast Smelting

    The reason you get that error is because the tag "Cooktime" is a string and not an integer. You can try parsing it as an integer if you want.
  15. AsuDev

    Renaming variables

    Make sure to delete/clear the variable you are copying over to if it already has values set. #delete {variable2::*} (delete if already set) loop {variable1::*}: set {variable2::%loop-index%} to loop-value
  16. AsuDev

    block breaking stopper skript

    Actually you did it wrong lol. The way you have it, it wouldn't work because you cannot compare a string with event-block unless you made event-block a string. You also made it to where he can only use it for one block type. I am assuming he wants multiple types so he has to set a unique...
  17. AsuDev

    block breaking stopper skript

    Based on your code (EXAMPLE) on break: set {_b} to "%event-block%" if {%{_b}%.lol} is set: cancel event # OR on break: set {_b} to "%event-block%" if {%{_b}%.lol} is {_b}: cancel event You need to change event-block to a string to be able to compare it with your...
  18. AsuDev

    MOTD

    It is most likely possible with skript-mirror. You can import the classes you need from ProtocolLib. The maker of the original leftmotd does have a github for the plugin so you can take a look at the source code there. https://github.com/su141414/LeftMOTD
  19. AsuDev

    Solved Command cooldown and inventory items

    To check and remove the items, you have to use the /checkmission1 that I put. If you want to check it right when they start the mission, add 'make player execute command "checkmission1"' right after they start the mission. If the player doesn't have the required material, you can keep using...