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 comminuty!

    Now, what are you waiting for? Join the community now!

  1. jaylawl

    Addon ExpressionsPlus

    jaylawl submitted a new resource: ExpressionsPlus - Additional expressions for your Skript library Read more about this resource...
  2. jaylawl

    Solved How does one convert entity types to/from Skript

    So i'm trying to get the entity type that is being spawned by a mob spawner tile entity. Using this will return the Bukkit entity type just fine: BlockState state = block.getState(); CreatureSpawner spawner = (CreatureSpawner) state; return spawner.getSpawnedType(); However i'm unsuccessful...
  3. jaylawl

    Solved Why is my add-on not working

    I'm taking my first steps in writing actual java. Messing around with skript-mirror long enough gave me the balls to try, good times. This code works, there are no errors, everything compiles fine. But the expression i added is not registered ingame - skript says "can't understand this...
  4. jaylawl

    Other How to make custom spawners using NBT

    You need An add-on that provides functionality for changing the NBT of tile entities. For 1.12 try my jNBT API: https://forums.skunity.com/resources/jnbt.630/ For 1.11 or earlier, SkStuff should do the trick: https://forums.skunity.com/resources/skstuff.131/ Note that NBT for tile entites...
  5. jaylawl

    jaylawl's Snippets

    [Add-on] = Required add-on(s) __________________________________________________________ randomUUID() function reverseNumber() function function reverseNumber(number: number) :: number: return ({_number} * -1) set {_x} to reverseNumber(x of victim's velocity)[/SPOILER] treeLoop()...
  6. jaylawl

    Anything from GUIs to random generators

    Name: Julian, a.k.a jaylawl From: Germany :emoji_flag_de: Skript experience: ~2 Years Speed: Small/simple scripts can be made within minutes Complex stuff may take it's time Payment: Relative to time worked (~15 € / h) Payable via PayPal or amazon(.de!) gift cards Minecraft versions: 1.8...
  7. jaylawl

    Solved Using classes in skript-mirror

    skript-mirror is so amazing, it's a crime that there isn't more documentation on it! But that's how it is and i can live with brute forcing my way through it until things work - however unfortunately i got stuck on this bit. I'm try to make a script that can add itemflags. loading this script...
  8. jaylawl

    Script Take a Seat [No add-ons]

    jaylawl submitted a new resource: Take a Seat - Simple sitable benches for Players & Mobs! Read more about this resource...
  9. jaylawl

    Script Skript Reloading Shorthands

    jaylawl submitted a new resource: Efficient script reloading-shorthand - Provides commands that allow you reload the scripts you need in a quick fashion Read more about this resource...
  10. jaylawl

    Solved Weird skript-yaml issue

    I'm getting started with using skript-yaml right now. Reading this file: (https://hastebin.com/goherasolo.php), i've come across an issue. For some reason, the script that i made to read the file, stops at some point and won't execute the rest. So i've used this code to debug and find out...
  11. jaylawl

    Solved Looping specified nodes using skript-yaml

    Hello. Currently, when loading data from a yml file, i'm often resorting to using this (obviously with SkUtilities): loop yml nodes "FirstNode" of file "{@file.yml}": set {_stuff} to loop-value # do stuff with {_stuff} Note that the code above will set {_stuff} *only* the next nodes...
  12. jaylawl

    Solved What happened to "http://bensku.github.io/Skript/docs.json"

    This used to be my go-to place for documentation. Ever since the entire thing changed name/URL to "SkriptLang/Skript", i cannot for the love of it find those docs anymore. Do they still exist?
  13. jaylawl

    Anti AFK Fish Farm

    This is the full script, not a snippet. I don't know where else to post this. Apparently i'm not qualified to post in the regular Scripts subforum. Whatever. AFK Fish Farming is based on leaving your game while it constantly right clicks. This script will detect that by comparing the player's...
  14. jaylawl

    Reasons for "on chat" not working

    What could be potential reasons for the "on chat" event not doing anything at all? I feel like i have tried absolutely everything. I tried different Skript versions (currently settles on dev31c), deleting other plugins one by one, deleting/deactivating all other scripts, changing the skript...
  15. jaylawl

    I don't know how i passed math classes

    This is more of a math question, rather than how to write my scripts - i hope somebody is up for the task. :emoji_slight_smile: I'm working on a game where i'm using the EXP bar as chargebar. Goes something like this: set {_charge} to (level progress of event-player + 1) Then, i'm using that...
  16. jaylawl

    Solved Please send help my OCD is killing me (skQuery async stuff)

    So, i just added the "$ thread" portions to the code below. In doing so, i was able elimate a quite significant lag spike. These functions pretty much all contain yml edits using skUtilities. Fair enough, the lag is gone and im rather happy. The new additional lines of code however, are kinda...