Recent content by Gladrian

  • 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. Gladrian

    Solved Calculating time

    Don't use something like this; if the server restarts any time within this period, the player will never be allowed to vote again. Also, this will create a new process for this every time someone votes that wouldn't end until a day later, which is just unnecessary. The way I always do cooldowns...
  2. Gladrian

    Solved Farming skript

    Here's something that should fix that and also make it more efficient. If you want to make it slower it wlll be a lot easier, and if the server restarts in the middle of growing it should pick up where it left off. on rightclick on soil: if name of player's tool is "&aCucumber Seed"...
  3. Gladrian

    Skript reload time?

    Code in programming languages can take a while to compile if you have a lot of it, and Skript has the extra step of creating a Java form of your scripts (I assume that's what happens). When you have a lot of scripts, that's just what you have to deal with. I have close to 60, which take about 2...
  4. Gladrian

    Action Bar with addon

    Unless one of those addons for the plugin links it with Skript somehow, the "%manabar%" expression you see in that config file can't be used in a script. It looks similar to Skript syntax, but it can actually only be used like that in the config file, at least as far as I can tell with the small...
  5. Gladrian

    Solved Reward every 40 kills?

    This would probably be the easiest: on death: attacker is a player add 1 to {kills::%attacker%} if {kills::%attacker%} is divisible by 40: # Give reward to attacker
  6. Gladrian

    How to open chest when clicked on a specific thing?

    Maybe the unstealable part is the issue? You could try replacing 'to be unstealable' with 'to run ""' which should also prevent putting the item in your inventory since it's trying to run a command (despite the command being blank).
  7. Gladrian

    How to open chest when clicked on a specific thing?

    Is there an error or does the menu just not display with the formatted slots? The general rule of thumb for formatting an inventory after opening it is to wait 1 or 2 ticks before starting your format effects, otherwise they just won't happen.
  8. Gladrian

    How do I fix this lambda statement error?

    If you want to sick with format slot, I always used console commands for those. Create some console only command that can be called with arguments necessary to update those two variables.
  9. Gladrian

    Skellett boss bar flags help

    Hi! I've been trying to use this script, which loads with no errors: command /weather [<text>]: trigger: if arg-1 is "fog": set {_bar} to new bossbar add player to bossbar {_bar} set the visibility of bossbar {_bar} to true add flag...
  10. Gladrian

    Solved Unbreakable tool

    If you have SkStuff, you can use the nbt expression: command /perun: trigger: player has permission "perun.get.sk": set {_perun} to diamond axe named "&6Axe of Perun" add "{Unbreakable:1}" to nbt of {_perun} give {_perun} to player
  11. Gladrian

    Solved Bow pullback

    I would say that you should time exactly how long it takes for the bow to be at full draw after rightclicking with it. Set a variable {drawtime} to whatever timespan you get from that measurement. Then, every time a player rightclicks with a bow, set a variable {bowdraw.%player%} to the current...
  12. Gladrian

    Solved Massive lag spikes caused by time interval events

    My intent in that question was to ask what causes the nature of that error, not literally what it means. I haven't seen it pop up for a while, so I assume it was caused by lag not allowing efficient variable writing as opposed to one one my scripts constantly calling for massive amounts of...
  13. Gladrian

    Solved Massive lag spikes caused by time interval events

    I've converted all my periodicals into that format and they work well, but the crashes didn't go away. I actually cleared all the scheduler variables so that'd all scheduled events would cease, but the spikes still happened regardless. I have found this error in my console though: 09.11...
  14. Gladrian

    Solved Massive lag spikes caused by time interval events

    Awesome, thank you! Will update on if that fixes it.
  15. Gladrian

    Solved Massive lag spikes caused by time interval events

    Skript version: bensku dev32 My server has been experiencing a big lag spike every 5 minutes for quite a while now. I've taken lots of timings reports, but they all give different reasons for the spikes. Here's what one looks like: https://timings.spigotmc.org/?url=lanevopope I've already...