This is my Skript. I have 2 addon plugins installed: SkBee + Skrayfall. When I kill a mob with a projectile, everything works fine. If I kill a mob with an item like a sword, axe, or even a gold ingot, it doesn't register. I have tried debugging it. I can see broadcast messages in chat, but no holograms show up, and no coins get added to my account ({stats::gold::%player's uuid%}).
This Is My Skript:
This Is The Console Logs:
All My Plugins: Essentials, HolographicDisplays, Skript, Skrayfall, Skbee
My Server Host: Minehut
Side Note: I have tried uninstalling skbee. Doesn't seem to change much.
This Is My Skript:
Code:
on death:
set {_rnd} to random integer between 2 and 6
create hologram "&6+%{_rnd}% &6Gold" at location 1 meter above event-location for 25 ticks
add {_rnd} to {stats::gold::%attacker's uuid%}
set {_rnd2} to a random integer between 1 and 5
add {_rnd2} to {stats::Cxp::%attacker's uuid%}
if {stats::Cxp::%attacker's uuid%} >= {stats::CLevel::%attacker's uuid%} * 100 + 10:
send "&CYou leveled up Combat!" to attacker
add 1 to {stats::CLevel::%attacker's uuid%}
This Is The Console Logs:
Code:
[18:44:47] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
[18:44:47] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[18:44:47] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[18:44:47] [Server thread/ERROR]: #!#! Here is full list of them:
[18:44:47] [Server thread/ERROR]: #!#! skRayFall v1.9.20 (https://sk.rayfall.net/) SkBee v1.1.0
[18:44:47] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[18:44:47] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[18:44:47] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[18:44:47] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[18:44:47] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[18:44:47] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Stack trace:
[18:44:47] [Server thread/ERROR]: #!#! java.lang.NullPointerException: source cannot be null
[18:44:47] [Server thread/ERROR]: #!#! at com.gmail.filoghost.holographicdisplays.util.Validator.notNull(Validator.java:21)
[18:44:47] [Server thread/ERROR]: #!#! at com.gmail.filoghost.holographicdisplays.object.DefaultBackendAPI.createHologram(DefaultBackendAPI.java:38)
[18:44:47] [Server thread/ERROR]: #!#! at com.gmail.filoghost.holographicdisplays.api.HologramsAPI.createHologram(HologramsAPI.java:46)
[18:44:47] [Server thread/ERROR]: #!#! at net.rayfall.eyesniper2.skrayfall.holograms.EffTimedHologram.execute(EffTimedHologram.java:62)
[18:44:47] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
[18:44:47] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[18:44:47] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[18:44:47] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
[18:44:47] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:156)
[18:44:47] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:114)
[18:44:47] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[18:44:47] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[18:44:47] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607)
[18:44:47] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:759)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityLiving.d(EntityLiving.java:1380)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityLiving.die(EntityLiving.java:1308)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity(EntityLiving.java:1152)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityMonster.damageEntity(EntityMonster.java:52)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.Entity.entityBaseTick(Entity.java:423)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityLiving.entityBaseTick(EntityLiving.java:244)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityInsentient.entityBaseTick(EntityInsentient.java:225)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.Entity.tick(Entity.java:385)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityLiving.tick(EntityLiving.java:2334)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.EntityInsentient.tick(EntityInsentient.java:288)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.WorldServer.entityJoinedWorld(WorldServer.java:769)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.World.a(World.java:862)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:504)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1245)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1112)
[18:44:47] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934)
[18:44:47] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Version Information:
[18:44:47] [Server thread/ERROR]: #!#! Skript: 2.4.1-MH (custom version)
[18:44:47] [Server thread/ERROR]: #!#! Flavor: selfbuilt-unknown
[18:44:47] [Server thread/ERROR]: #!#! Date: unknown
[18:44:47] [Server thread/ERROR]: #!#! Bukkit: 1.15.2-R0.1-SNAPSHOT
[18:44:47] [Server thread/ERROR]: #!#! Minecraft: 1.15.2
[18:44:47] [Server thread/ERROR]: #!#! Java: 1.8.0_212 (OpenJDK 64-Bit Server VM 25.212-b04)
[18:44:47] [Server thread/ERROR]: #!#! OS: Linux amd64 4.19.102+
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Server platform: Paper
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Current node: null
[18:44:47] [Server thread/ERROR]: #!#! Current item: null
[18:44:47] [Server thread/ERROR]: #!#! Current trigger: death (death/spawn) (damage.sk, line 10)
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Thread: Server thread
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! Language: english
[18:44:47] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[18:44:47] [Server thread/ERROR]: #!#!
[18:44:47] [Server thread/ERROR]: #!#! End of Error.
All My Plugins: Essentials, HolographicDisplays, Skript, Skrayfall, Skbee
My Server Host: Minehut
Side Note: I have tried uninstalling skbee. Doesn't seem to change much.