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

    Console error whenever I reload one of my scripts

    Skript version: Skript v2.3.6 Code: on load: load yaml "plugins/sKits/dailyCooldown.yaml" as "dailyCooldown" load yaml "plugins/sKits/weeklyCooldown.yaml" as "weeklyCooldown" load yaml "plugins/sKits/monthlyCooldown.yaml" as "monthlyCooldown" load yaml...
  2. B

    Console error whenever I reload one of my scripts

    Whenever I reload my 'kits script' I get an error in the console.. which seems troubling.. The error: 18.06 21:41:56 [Server] ERROR ------------------------------ 18.06 21:42:01 [Server] ERROR --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH --- 18.06 21:42:01 [Server] ERROR The...
  3. B

    Teleport delay

    Hi, I've created a script to return to spawn whenever a player executes /spawn, however it doesn't work - whenever a player executes /spawn they get send the message, but instantly get sent teleport cancelled also. command /spawn [<text>]: trigger: if arg-1 is not set: if world is...
  4. B

    Solved loop all players only sends to one player

    In my script, I loop all players and check to see if they're flying every second as a test. If more than one person is flying at the same time, it only sends the test message to one player. Here's the loop: loop all players: if {flyTimer.%loop-players%.enabled} is true...
  5. B

    How to check if player's inventory is full, and if it is drop remaining items on the ground

    Basically the title - I know how to check if a player's inventory can fit a certain amount of slots, however I want to drop the remaining items being given to the player onto the ground if it is full. For an example for more explanation: Someone with 4 slots available redeems a kit that...
  6. B

    Cooldowns

    if {kits.%player%.daily} is not set: set {kits.%player%.daily} to 24 hours set {_wait} to difference between {kits.%player%.daily} and now if {_wait} is less than 24 hours: set {_waiteddaily} to difference between...
  7. B

    Cooldowns

    I still get the same issue.. I've replaced the /kits daily with what you sent; which code should I use for the GUI? this is my current; I returned to what I had previously because I thought it was only the /kits daily that I would've needed to change.. think that was my bad. if...
  8. B

    Cooldowns

    just tested exactly this, now there is a cooldown at all times. also; here is /kits daily if this helps; else if arg-1 is "Daily": set {_waited} to difference between {kits.%player%.daily} and now if {_waited} is less than 24 hours: send "you must...
  9. B

    Cooldowns

    on join: if {kits.%player%.daily} is not set: set {kits.%player%.daily} to now this is what I had set up for that, would that not be okay?
  10. B

    Cooldowns

    Skript version 2.3.1, my server runs on 1.12.2
  11. B

    Cooldowns

    I'm not sure this works.. or I'm just stupid and made a mistake doing this.. here's my code. In the GUI, once I claim the daily kit, and it runs /kits daily it gives me the kit. That works fine, however when I then re-open the /kits before the cooldown is over, it still says: cooldown: claim now...
  12. B

    Cooldowns

    How would I check to see if a cooldown has expired within a GUI, and if it has expired, it should be deleted? Right now, the script I am using displays the correct cooldown, however, once the cooldown is up - it will just continue going up. I honestly don't know how to explain it, but maybe if...
  13. B

    Tuske Gui on right click or on left click

    This.. doesn't work - I know I'm doing something wrong, but the documentation for tuske showed no examples and I got a little confused. If someone could link me to a different documentation for the tuske gui manager I'd be super appreciative, or if you could tell me what I'm doing wrong...
  14. B

    Make balances appear as 24million, for example

    Hi, I'm using Skript for my economy however I am struggling to make the balances appear not as just full numbers. For example, If my balance was 1,000,000, how would I make that appear as 1M. I found a challenge thread, and attempted to use this... but it was a little.. confusing. Anyone have...
  15. B

    Scoreboard flicker with skillet scoreboards

    Now using this, however little confused how I would actually use it aha. Whenever I do specific things with the scoreboard, the server literally just drops dead and dies. It throws up a huge error in console. Could you possibly take a look at my stuff to see if it's dodgy? on join: setup...
  16. B

    Scoreboard flicker with skillet scoreboards

    Hi, I'm having a little issue with my scoreboard - it flickers constantly as it's updating, however I have read through multiple threads which say that skillet should help to stop the flicker. Am I doing something wrong? Here's my scoreboard code: on join: create new stylish scoreboard...
  17. B

    json 'invalid json: unterminated object at line 1 column 14

    Hi all, I've just been working on a script which cancels a player's message, and instead sends a json with the message in. I have installed the json.sk into my scripts folder, and done nothing else as I think that's all needed. I am attempting to use the code below to do what I want, but I get...
  18. B

    Solved Latest skript version

    Hi, I'm new to skript and have been really intrigued by the possibilities of such a great project. I've been reading some things and been teaching myself, while looking into setting up my own server to test some scripts on. I've now setup my server, and downloaded skript from bukkit, as the link...