Coder Social home page Coder Social logo

gravestonesplus's Issues

Grave break problem

If a non-player entity breaks the gravestone, it just returns and doesn't even drop the loot.
Some datapacks have mobs which can do this, which is problematic because now if a player dies to this mob, it will break their grave and the items will all be deleted.
so I think you should just add a check for if it's not a player but a grave just cancel event

Nasty Case: Waterfall and Gravestones

I found a nasty case where when one of my players "out ran" the water fall and died from falling damage. Then the waterfall "washed" the grave's head away. Making the grave invalid and the player losing their items.

Washing the grave away: The head pops off from the flowing water. Invalidating the grave.

Death Message not displaying v1.6.6

It looks like in the latest release on Spigot (v1.6.6) grave messages are not displaying when a player dies. It looks like you have it fixed in this commit (524152d) however it has not been released out yet to Spigot.

Figured I would log this issue as a reminder to compile/release a version with this fix included :D

Thank you for all your hard work!!!

Duplication glitch

Upon breaking grave in 1.20.4, it duplicates everything on the body, usually 2x or even 3x of everything you had when you died.

Duplication Glitch

I was recently playing on a minecraft server until thousands of duped shulkers appeared on the server. One person let me in on the secret, and here it is:

Step 1:
Obtain a player head
a: Put a waterlogged slab next to a grave

Step 2:
Obtain multiple player heads by repeatedly doing the method mentioned above.

Step 3:

  • Die
  • Break the grave
  • Place a head on top of the grave
  • Break the head
  • Profit

Video of the glitch:
https://github.com/BenCodez/GraveStonesPlus/assets/169857399/9388527b-cf5c-426a-9f47-a4a42e5b2e54

I hope this can help! 😁

Disappear in Lava

Hello, i really like this plugin. But i had a bug(or you know this will happen?)

i have the Geyser plugin in my server, and i also need to join the server with 1.16.5, so i can't use display entity. But, the head will disappear in lava that place by player and sth else. Would u like to add a listener(or sth like this idk) that if it is destroyed by non-player things, place the head back, or just give the item back to the player, or place it to another safe place, or ..idk.

Hope u can fix this.
Thx from HungryHenry

Information armor stands don't go away.

When a player receives their items, i noticed that the information armor stands will not go away. I have to kill them with /minecraft:kill @e[type=minecraft:armor_stand]
2021-12-17_22 27 22
]

Nether Beds

When you place a bed in the nether and sleep in it it kills you and destroys your grave

Head is missing (How do I recover)

Hello again!

I got another bug. The grave spawned and saved itself to the config file, but the head is missing. Because of that, the grave could not be broken. Here is a screenshot:
Screenshot 2023-10-18 191438

Is there anyway to recover the items? They are in the config file, but it would be difficult to remake them all by hand. If I view the grave with the command and click on a item, the inventory closes instantly.

I am a big fan of your plugin! Thank you for your help!
Nikogenia

btw, I am on the latest version of the spigot page ...

Multiple errors.

I running this plugin on a 1.19 minecrafts server and see multiple error messages in the logfile.

The first was, as a player died in the nether:

[06:51:23 WARN]: Exception in thread "Timer-9" java.lang.IllegalArgumentException: Cannot measure distance between Sushi Cafe and Sushi Cafe_nether
[06:51:23 WARN]:        at org.bukkit.Location.distanceSquared(Location.java:510)
[06:51:23 WARN]:        at org.bukkit.Location.distance(Location.java:493)
[06:51:23 WARN]:        at GraveStonesPlus.jar//com.bencodez.gravestonesplus.graves.Grave.checkGlowing(Grave.java:257)
[06:51:23 WARN]:        at GraveStonesPlus.jar//com.bencodez.gravestonesplus.GraveStonesPlus$1.run(GraveStonesPlus.java:146)
[06:51:23 WARN]:        at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
[06:51:23 WARN]:        at java.base/java.util.TimerThread.run(Timer.java:516)

grafik

As the player trys to get his stuff back, this error occured:

 [06:56:09 ERROR]: Could not pass event BlockBreakEvent to GraveStonesPlus v1.3.2
java.lang.NullPointerException: Cannot invoke "org.bukkit.inventory.ItemStack.getAmount()" because "item" is null
        at com.bencodez.gravestonesplus.advancedcore.api.user.AdvancedCoreUser.giveItem(AdvancedCoreUser.java:495) ~[GraveStonesPlus.jar:?]
        at com.bencodez.gravestonesplus.graves.Grave.claim(Grave.java:401) ~[GraveStonesPlus.jar:?]
        at com.bencodez.gravestonesplus.listeners.PlayerBreakBlock.onBlockBreak(PlayerBreakBlock.java:98) ~[GraveStonesPlus.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor71.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.19-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.19-R0.1-SNAPSHOT.jar:git-Paper-58]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:664) ~[paper-api-1.19-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.level.ServerPlayerGameMode.destroyBlock(ServerPlayerGameMode.java:373) ~[?:?]
        at net.minecraft.server.level.ServerPlayerGameMode.destroyAndAck(ServerPlayerGameMode.java:332) ~[?:?]
        at net.minecraft.server.level.ServerPlayerGameMode.handleBlockBreakAction(ServerPlayerGameMode.java:296) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerAction(ServerGamePacketListenerImpl.java:1802) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.handle(ServerboundPlayerActionPacket.java:42) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundPlayerActionPacket.a(ServerboundPlayerActionPacket.java:15) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.jar:git-Paper-58]
        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:1358) ~[paper-1.19.jar:git-Paper-58]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:183) ~[paper-1.19.jar:git-Paper-58]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1335) ~[paper-1.19.jar:git-Paper-58]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1328) ~[paper-1.19.jar:git-Paper-58]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1306) ~[paper-1.19.jar:git-Paper-58]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1191) ~[paper-1.19.jar:git-Paper-58]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:302) ~[paper-1.19.jar:git-Paper-58]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

grafik

Now we have a user who lost all his stuff and i can't do anything about it at the moment.

running Paper version git-Paper-58 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT) (Git: e294802)

Random Error Message (Not Critical)

First of all, a fantastic plugin! You did a really good job here! But I get the same error message regularly in the console. Even tho I didn't notice any problems, I think it could be useful to report it. So here is the error:

[22:46:25 WARN]: Exception in thread "Timer-2" java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Entity.removeMetadata(String, org.bukkit.plugin.Plugin)" because "entity" is null
[22:46:25 WARN]: 	at GraveStonesPlus.jar//com.bencodez.gravestonesplus.advancedcore.api.misc.MiscUtils.setEntityMeta(MiscUtils.java:458)
[22:46:25 WARN]: 	at GraveStonesPlus.jar//com.bencodez.gravestonesplus.graves.Grave.checkGlowing(Grave.java:306)
[22:46:25 WARN]: 	at GraveStonesPlus.jar//com.bencodez.gravestonesplus.GraveStonesPlus$1.run(GraveStonesPlus.java:182)
[22:46:25 WARN]: 	at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
[22:46:25 WARN]: 	at java.base/java.util.TimerThread.run(Timer.java:516)

Maybe it could be useful for you! Greetings Nikogenia

Bug Report: Graves Can Be Claimed In Other Worlds

Players can claim their grave while in another world. For example: if a player dies in the end, they can claim the grave in the overworld with /gravestonesplus ClaimGrave but to make matters worse, they can claim the grave from anywhere (not the configured distance you need to be within the grave)
So now players are abusing the bug and have no stakes when they die, because they know they can jump in a nether portal and just claim it instantly. Please fix or tell me what I might be doing wrong. Thanks!

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.