Code Monkey home page Code Monkey logo

strikedeathmessages's Introduction

StrikeDeathMessages

StrikePractice addon that sends messages and titles after a fight starts or ends.

Features:

  • Message and title on fight start
  • Message, title and sound when player dies in a duel
  • Hex color support

Preview:

alt text

strikedeathmessages's People

Contributors

bermiin avatar iiahmedyt avatar

Stargazers

Nukecraft5419 avatar Wojciech Krzos avatar Thiago Gebrim avatar DCl avatar Yuri avatar Topias avatar

Watchers

 avatar

Forkers

iiahmedyt

strikedeathmessages's Issues

[BUG]

Describe the bug
So in the bridge mode from what I understand while you kill an enemy even before killing him the death chat message already comes out and then when you kill him again, it happens sometimes even with the void, or if not directly it happens many times even when he doesn't appear before you kill him but when you kill him he appears more than once

How To Reproduce
Steps to reproduce the behavior:
You simply kill the enemy in the bridge mode or you fall into the void and the message appears more than once, but it doesn't always happen

Expected behavior
I expected the message to only come out once

Errors:
It doesn't give any errors

Screenshots:
https://i.imgur.com/TZRtYs5.png

Server version & software:
Please include the name of your spigot or paper fork if you are using one.

  • pSpigot 1.8.8 But first there was FoxSpigot 1.8.8 and it still gave this problem, then I tried with paper 1.8.8 and it still gave this problem and then I tried with pSpigot 1.8.8 and it still gave this problem

StrikePractice version:

  • 3.8.1

Additional context
I have nothing to add

[BUG]

Describe the bug
A clear and concise description of what the bug is.

How To Reproduce
Steps to reproduce the behavior:
The plugin dont work in 1.21 paperspigot

Errors:
Please use MCLogs or a pastebin service of your choice when reporting errors.

Screenshots:
If applicable, add screenshots to help explain your problem.

Server version & software:
Please include the name of your spigot or paper fork if you are using one.

  • PaperSpigot 1.21

StrikePractice version:

  • latest dev build

Showing <looser>

Bro when i die from someone it shows, GamingBdMf Killed "" can u pls fix it

[BUG] Erro in DuelEndEvent

[01:44:52 ERROR]: Could not pass event DuelEndEvent to StrikeDeathMessages v0.1.6
java.lang.RuntimeException: No internal API, Unsupported version?
        at com.connorlinfoot.titleapi.TitleAPI.lambda$sendTitle$0(TitleAPI.java:46) ~[StrikeDeathMessages-0.1.6.jar:?]
        at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
        at com.connorlinfoot.titleapi.TitleAPI.sendTitle(TitleAPI.java:46) ~[StrikeDeathMessages-0.1.6.jar:?]
        at me.bermine.sdm.listeners.StrikeListeners.onDuelEnd(StrikeListeners.java:51) ~[StrikeDeathMessages-0.1.6.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor567.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:git-Purpur-2060]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at ga.strikepractice.fights.duel.Duel.handleDeath(Duel.java:293) ~[strikepractice-3.8.1.jar:?]
        at ga.strikepractice.fights.b.a(FightsListener.java:327) ~[strikepractice-3.8.1.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor275.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:git-Purpur-2060]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.1-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R1.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:965) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.server.level.ServerPlayer.die(ServerPlayer.java:980) ~[?:?]
        at net.minecraft.world.entity.LivingEntity.hurt(LivingEntity.java:1567) ~[?:?]
        at net.minecraft.world.entity.player.Player.hurt(Player.java:1006) ~[?:?]
        at net.minecraft.server.level.ServerPlayer.hurt(ServerPlayer.java:1166) ~[?:?]
        at net.minecraft.world.entity.player.Player.attack(Player.java:1359) ~[?:?]
        at net.minecraft.server.level.ServerPlayer.attack(ServerPlayer.java:2302) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl$5.a(ServerGamePacketListenerImpl.java:3010) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket$1.dispatch(ServerboundInteractPacket.java:24) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.dispatch(ServerboundInteractPacket.java:80) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleInteract(ServerGamePacketListenerImpl.java:2932) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:67) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundInteractPacket.handle(ServerboundInteractPacket.java:12) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1365) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1342) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1335) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1313) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1201) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[purpur-1.20.1.jar:git-Purpur-2060]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

[BUG] NullPointerException in EntityDamageByEntityEvent

Errors:
https://mclo.gs/bI9HOLH

Server version & software:
Please include the name of your spigot or paper fork if you are using one.

  • LightSpigot 1.8.8

StrikePractice version:

  • 3.8.1

Additional context
It also gives errors when I change its says its not that one however if I stay the default one that error comes up when one dies in addition to creating double messages of the death and respawn timer

Error when a bot heals

I don't know if this error is from the plugin or from Panda Spigot, but since the plugin name came out in the error I assumed that
[12:25:48 ERROR]: Could not pass event EntityDamageByEntityEvent to StrikeDeathMessages v0.1.3
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:564) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:549) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:87) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:557) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:470) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:589) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityLiving.d(EntityLiving.java:1117) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityHuman.d(EntityHuman.java:860) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityLiving.damageEntity(EntityLiving.java:739) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityHuman.damageEntity(EntityHuman.java:801) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityPlayer.damageEntity(EntityPlayer.java:512) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityHuman.attack(EntityHuman.java:1002) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.EntityPlayer.attack(EntityPlayer.java:1099) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.citizensnpcs.nms.v1_8_R3.util.NMSImpl.attack(NMSImpl.java:230) ~[?:?]
at net.citizensnpcs.util.NMS.attack(NMS.java:59) ~[?:?]
at net.citizensnpcs.npc.ai.MCTargetStrategy$1.handle(MCTargetStrategy.java:291) ~[?:?]
at net.citizensnpcs.npc.ai.MCTargetStrategy.update(MCTargetStrategy.java:138) ~[?:?]
at net.citizensnpcs.npc.ai.CitizensNavigator.run(CitizensNavigator.java:172) ~[?:?]
at net.citizensnpcs.npc.CitizensNPC.update(CitizensNPC.java:446) ~[?:?]
at net.citizensnpcs.nms.v1_8_R3.entity.EntityHumanNPC.t_(EntityHumanNPC.java:410) ~[?:?]
at net.minecraft.server.v1_8_R3.World.entityJoinedWorld(World.java:1773) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.World.g(World.java:1740) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.citizensnpcs.nms.v1_8_R3.util.NMSImpl.tick(NMSImpl.java:1147) ~[?:?]
at net.citizensnpcs.util.NMS.tick(NMS.java:630) ~[?:?]
at net.citizensnpcs.util.PlayerUpdateTask.run(PlayerUpdateTask.java:37) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:889) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:412) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:814) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:647) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$spin$0(MinecraftServer.java:133) ~[patched_1.8.8.jar:git-PandaSpigot-84]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_202]
at me.bermine.sdm.listeners.PlayerListeners.onPlayerDeath(PlayerListeners.java:36) ~[?:?]
at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_202]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[patched_1.8.8.jar:git-PandaSpigot-84]
... 35 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.