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

    Solved Add book pages based on line count

    I fixed the entering part, my main issue is the algorithm for adding a page every 13 lines, and continuing in based on test.txt
  2. Farid

    Solved Teams

    what's wrong?
  3. Farid

    Solved Add book pages based on line count

    I'm trying to create a book, and write in the book based on a .txt file. I want each page have 13 lines, and after 13 lines it should create a new page. I've tried many math algorithm, but as you know, I suck at math lmao. https://i.gyazo.com/f7b59310eeb4b39c20a76162908942bc.png (Notepad .txt)...
  4. Farid

    Solved Not repeat

    If you don't want to use looping here is different version on break of stone: if player has permission "normal": cancel event set event-block to air add 1 to balance of player add 1 to {mining::money::%uuid of player%} add 1 to {notifications.%uuid of...
  5. Farid

    Convert skript

    Be proud of your skripts or learn java.
  6. Farid

    Solved Teams

    A good warmup for my fingers. Took me 23-ish minutes. Need Tuske. Untested, Might have bugs, incomplete. Only have created, invite, decline, and leave. Leave automatically disbands the team if the team leader leaves it. options: permission: permissionmessage: function contains(list...
  7. Farid

    Creating a modded survival on minehut

    Skript addons are just features you want to unlock. I highly recommend skript-mirror, that's if you know some java.
  8. Farid

    Solved Better detection for a certain string.

    That didn't work, but this did. on "org.bukkit.event.player.PlayerCommandPreprocessEvent": set {_s::*} to event.getMessage() split at " " loop {_s::*}: if contains({blockedcmd::*}, loop-value) = true: if getGroups(event.getPlayer()) doesn't contain "Owner" or...
  9. Farid

    Sidebar

    Here's an old code that used to work perfectly on my old server. I recommend using featherboards, but if you can't then here tried this, like I said it's old code that used to work, not sure if it would work same for you. on join: while player is online: wipe player's sidebar...
  10. Farid

    Solved Better detection for a certain string.

    Paperspigpt 1.8.8 (Probably why, some features disabled in 1.8.8) Skript-2.2-dev37c skript-mirror 0.16.1
  11. Farid

    Solved Better detection for a certain string.

    Thanks for the response! The code didn't seem to work, so I debugged and found out that it's not going through, hence I'm not getting the message 1 at all. on "org.bukkit.event.player.PlayerCommandPreprocessEvent": if {blockedcmd::*} contains first element of event.getMessage() split at "...
  12. Farid

    Solved Better detection for a certain string.

    I was trying to block certain commands. I was having issues with on command event, however PlayerCommandPreProcessis amazing and fires really fast. I was wondering if there is a way to detect if there is an argument after the command is fired. This code below works however, it doesn't work when...
  13. Farid

    Solved How to cut this?

    I don't recommend using this way for custom enchant. You should use TUSKE's custom enchant features. function addEnchantment(p: player, ench: text): if {_p}'s held tool is set: if lore of {_p}'s tool doesn't contain {_ench}: set lore of {_p}'s held tool to "%lore of...
  14. Farid

    Ascending a list.

    I was wondering if it's possible to do this in skript. Since there are no arrays or arraylists. 1, 2, 3, 4, 5, 6 3,4,5,6,1,2 etc. I'm trying to ascend a list by a number. So If I want to ascend by 3 it would look like 4,5,6,1,2,3 Just like a conveyor belt staircase.
  15. Farid

    Solved AntiLore Skript

    Can you post your code, so we know what you have?
  16. Farid

    Solved Alchemy

    Next time please use the format.
  17. Farid

    arrow problems

    Tried this before, and it still bounced. I just think it's the way skript is setup, I will try to do use skript-mirror. Thanks for responding! Tried using {_p}.LaunchProjectile(Arrow.class) However is it an unknown condition, when the skript file was reloaded into the server.
  18. Farid

    arrow problems

    @ShaneBee on "org.bukkit.event.entity.EntityShootBowEvent": set {_p} to event.getEntity() loop 3 times: make {_p} shoot an arrow at speed (event.getForce() * 3)
  19. Farid

    arrow problems

    Nope, the arrow entity is not deleted. However if it's deflected it can damage the entity it get shot into. Version: Paper git-Paper-1413 MC: 1.12.2 Implementing API verison 1.12.2-R0.1-SNAPSHOT. Bukkit verison: 2.2-dev37c
  20. Farid

    arrow problems

    https://i.gyazo.com/91c28a3587f8c8d4a8463a0e972949e5.gif The arrows bounce back, I want them to register as an actual arrow that can damage entities. this happens when I use the code make player shoot an arrow at speed 1 bump, any senpais have clues?