Coder Social home page Coder Social logo

deltalogger's People

Contributors

emielderckx avatar evilsquirrelguy avatar gdude2002 avatar genau6502 avatar konsolas avatar nikitacartes avatar potatopresident avatar samernieve avatar supertails avatar unsupervisednn avatar yhr0x43 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

deltalogger's Issues

Dark Mode for WebUI

Is your feature request related to a problem? Please describe.
The web UI uses a bright colour scheme, this is sometimes problematic when using it later in the day (or at all)

Describe the solution you'd like
For the colour scheme in the WebUI to be changed to a dark one, or for a toggle to be added

Describe alternatives you've considered
Modifying the css using Developer Tools

Additional context
After modifying with dev tools
image

missing library bug?

---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 2/27/21 3:22 PM
Description: Exception in server tick loop

org.jdbi.v3.core.ConnectionException: java.sql.SQLException: No suitable driver found for jdbc:sqlite:/data/starter_world/deltalogger.sqlite
at Not Enough Crashes deobfuscated stack trace.(1.16.5+build.5)
at org.jdbi.v3.core.Jdbi.open(Jdbi.java:318)
at org.jdbi.v3.core.Jdbi.withHandle(Jdbi.java:339)
at com.github.fabricservertools.deltalogger.DatabaseManager.runScript(DatabaseManager.java:187)
at com.github.fabricservertools.deltalogger.DatabaseManager.checkValidSchema(DatabaseManager.java:225)
at com.github.fabricservertools.deltalogger.DatabaseManager.connect(DatabaseManager.java:97)
at com.github.fabricservertools.deltalogger.DatabaseManager.(DatabaseManager.java:72)
at com.github.fabricservertools.deltalogger.DatabaseManager.create(DatabaseManager.java:79)
at com.github.fabricservertools.deltalogger.ModInit.onServerSetup(ModInit.java:53)
at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$0(ServerLifecycleEvents.java:37)
at net.minecraft.server.MinecraftServer.handler$zll000$beforeSetupServer(MinecraftServer:2238)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:645)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:257)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.sql.SQLException: No suitable driver found for jdbc:sqlite:/data/starter_world/deltalogger.sqlite
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:270)
at org.jdbi.v3.core.Jdbi.lambda$create$0(Jdbi.java:114)
at org.jdbi.v3.core.Jdbi.open(Jdbi.java:303)
... 12 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Linux (amd64) version 4.4.234-1.el7.elrepo.x86_64
Java Version: 1.8.0_275, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 420521360 bytes (401 MB) / 1006632960 bytes (960 MB) up to 1006632960 bytes (960 MB)
CPUs: 8
JVM Flags: 26 total; -XX:+UnlockExperimentalVMOptions -Xmx960M -Xms960M -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=64m -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -XX:+UseLargePagesInMetaspace -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=200 -XX:+DisableExplicitGC -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:MaxTenuringThreshold=1 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:SurvivorRatio=32 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15
Suspected Mods: jdbi3-core (org_jdbi_jdbi3-core), Fabric Lifecycle Events (v1) (fabric-lifecycle-events-v1), DeltaLogger (deltalogger)
Fabric Mods:
adventure-platform-fabric: adventure-platform-fabric 4.0.0-SNAPSHOT
autoconfig1u: Auto Config v1 Updated 3.3.1
cardinal-components-base: Cardinal Components API (base) 2.7.1
cardinal-components-entity: Cardinal Components API (entities) 2.7.1
carpet: Carpet Mod in Fabric 1.4.27
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v4 4.8.3
com_github_ben-manes_caffeine_caffeine: caffeine 2.8.0
com_graphql-java_graphql-java: graphql-java 16.1
com_graphql-java_java-dataloader: java-dataloader 2.2.3
com_zaxxer_hikaricp: HikariCP 3.4.2
deltalogger: DeltaLogger 1.0.0
dynmap: Dynmap 3.1-beta7
extraorigins: Extra Origins 1.16.5-1
fabric: Fabric API 0.30.0+1.16
fabric-api-base: Fabric API Base 0.2.0+daa38b3d7d
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.1+ca58154a7d
fabric-command-api-v1: Fabric Command API (v1) 1.0.10+ca58154a7d
fabric-commands-v0: Fabric Commands (v0) 0.2.2+ca58154a7d
fabric-containers-v0: Fabric Containers (v0) 0.1.10+ca58154a7d
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.1+ca58154a7d
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.3+ca58154a7d
fabric-dimensions-v1: fabric-dimensions-v1 2.0.2+ca58154a7d
fabric-entity-events-v1: Fabric Entity Events (v1) 1.0.3+ca58154a7d
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.2+ca58154a7d
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+ca58154a7d
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+ca58154a7d
fabric-item-api-v1: Fabric Item API (v1) 1.2.1+ca58154a7d
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.3+ca58154a7d
fabric-language-kotlin: Fabric Language Kotlin 1.4.21+build.1
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.1+ca58154a7d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.2+ca58154a7d
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+ca58154a7d
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.1+ca58154a7d
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.8+ca58154a7d
fabric-networking-v0: Fabric Networking (v0) 0.3.2+ca58154a7d
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.3+ca58154a7d
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.2+ca58154a7d
fabric-particles-v1: Fabric Particles (v1) 0.2.4+ca58154a7d
fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.4+ca58154a7d
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+ca58154a7d
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.2+ca58154a7d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.1+ca58154a7d
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.4+ca58154a7d
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.1+ca58154a7d
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.6+ca58154a7d
fabricloader: Fabric Loader 0.11.1
fallflyinglib: FallFlyingLib 1.1.0
fiblib: FibLib 1.0.0
invview: InvView 1.4.0-1.16.4+
io_leangen_geantyref_geantyref: geantyref 1.3.7
java: OpenJDK 64-Bit Server VM 8
lithium: Lithium 0.6.3
minecraft: Minecraft 1.16.5
mysql_mysql-connector-java: mysql-connector-java 8.0.19
net_kyori_adventure-api: adventure-api 4.4.0
net_kyori_adventure-key: adventure-key 4.4.0
net_kyori_adventure-platform-api: adventure-platform-api 4.0.0-SNAPSHOT
net_kyori_adventure-text-feature-pagination: adventure-text-feature-pagination 4.0.0-SNAPSHOT
net_kyori_adventure-text-minimessage: adventure-text-minimessage 4.1.0-SNAPSHOT
net_kyori_adventure-text-serializer-gson: adventure-text-serializer-gson 4.4.0
net_kyori_adventure-text-serializer-plain: adventure-text-serializer-plain 4.4.0
net_kyori_examination-api: examination-api 1.0.0
net_kyori_examination-string: examination-string 1.0.0
notenoughcrashes: Not Enough Crashes 3.1.7
org_antlr_antlr4-runtime: antlr4-runtime 4.8
org_jdbi_jdbi3-core: jdbi3-core 3.12.2
org_jdbi_jdbi3-sqlite: jdbi3-sqlite 3.12.2
org_jetbrains_annotations: annotations 20.0.0
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.4.21
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.4.21
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.4.21
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.4.21
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.4.2
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.4.2
org_reactivestreams_reactive-streams: reactive-streams 1.0.3
org_slf4j_slf4j-api: slf4j-api 1.8.0-beta4
org_xerial_sqlite-jdbc: sqlite-jdbc 3.32.3.2
origins: Origins 0.4.7
packet_tweaker: Packet Tweaker 0.1.1
pehkui: Pehkui 1.7.1+21w03a
phosphor: Phosphor 0.7.0+build.10
placeholder-api: Fabric Placeholder API 0.2.1
reach-entity-attributes: Reach Entity Attribute 1.0.1
sax: Simple Anti X-Ray 1.0.0
server_translations_api: Server Translations API 1.4.0
statement: Statement 4.0.0+1.16.2
styledplayerlist: Styled Player List 1.2.0
towelette: Towelette 4.1.6+1.16.2
unpatchzerotickfarm: Un-Patch Zero Tick Farms v1.0.7-1.16.3
Data Packs: vanilla (incompatible), Fabric Mods, file/VanillaTweaks_c423876.zip, file/afk display v1.1.0.zip, file/armor statues v2.8.1.zip, file/cauldron concrete v2.0.3.zip, file/custom nether portals v2.3.2.zip, file/double shulker shells v1.3.0.zip, file/durability ping v1.1.0.zip, file/gem villagers v4.3.2.zip, file/more mob heads v2.8.2.zip, file/multiplayer sleep v2.5.2.zip, file/player head drops v1.1.0.zip, file/silence mobs v1.1.0.zip, file/track raw statistics v1.4.0.zip, file/track statistics v1.1.0.zip, file/treasure gems v1.2.1.zip, file/wandering trades v1.4.0.zip, file/newvanilla-1-4-1-cegress (1).zip, file/timber v2.1.1.zip, file/Merling_Extra(3).zip, file/craftable-chainmail-datapack.zip (incompatible), file/Piglin_Turtle_Drop(2).zip
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)
Screenshots
If applicable, add screenshots to help explain your problem.

Specs:

  • Version [eg. DeltaLogger v1.0.0]
  • OS: [e.g. Linux]
  • Java version [e.g. 11]

Logs
Please attach a link to a paste site with your latest.log

Randomly getting kicked when putting items in containers

Describe the bug
Ever since I have installed DeltaLogger, me and my friends would randomly get kicked when shift clicking items into containers like kettles and furnaces.

[10:31:51] [Server thread/INFO]: (username) lost connection: Internal Exception: java.lang.IndexOutOfBoundsException: Index: 37, Size: 37

Instead of 37, it can also be 41, 39, 37, etc...

To Reproduce
Steps to reproduce the behavior:

  1. Install my mods (I guess?)
  2. Shift click an item into a furnace and it will kick you

Expected behavior
I expected to not be kicked when shift clicking something into a furnace.

Screenshots
This person has the same issue.

image

Specs:

  • Version DeltaLogger 1.1.1
  • OS: Linux (I use a server host so I don't know too much)
  • Java version: 8

Logs
https://bin.bloom.host/tegoyiqoka
https://bin.bloom.host/ogegudodud

Allow logging of certain entity types.

Is your feature request related to a problem? Please describe.
Currently, the mod logs entities killed, and this setting can only be toggled from either "named entities" or "all entities", not allowing for fine adjustment.

Describe the solution you'd like
A config option and functionality that allow the user to explicitly specify which kinds of entities should be logged regardless of being named or not (i.e. villager), and possibly a list of entities that should never be logged (i.e. creepers and bats). Basically an entity logging whitelist and blacklist.

Describe alternatives you've considered
N/A

image

Server crashes because "attacker is null" in certain entity death scenarios

Describe the bug
DeltaLogger causes a server crash because "attacker is null" in certain entity death scenarios such as when a named, summoned as part of a structure Hoglin is killed by lava.

To Reproduce
Steps to reproduce the behavior:

  1. Install Incendium datapack (https://www.planetminecraft.com/data-pack/incendium-nether-expansion/)
  2. Generate a castle with give @s jigsaw{BlockEntityTag:{joint:"rollable",name:"starmute:floor",pool:"starmute:castle/floor_l1",final_state:"minecraft:basalt",id:"minecraft:jigsaw",target:"starmute:floor"},display:{Lore:['"(+NBT)"']}}, then place it oriented to the side, set levels to 7 and hit generate.
  3. Pour lava on a hoglin

Expected behavior
The hoglin should die and the server should not crash

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

Specs:

  • Version: DeltaLogger v1.0.0 (tested with latest github actions build too)
  • OS: Linux
  • Java Version: 15

Logs
crash-2021-02-28_00.12.22-server.txt
crash-2021-02-28_00.14.48-server.txt

suggestion: not breaking things when in inspect

Problem

Now if you are in inspect mode you can still break blocks what is pretty annoying, and that you need to place a block and then right click to see the log.

Possible fix

A way to fix this would be to do the same as coreprotect on (paper/bukkit platform).

Left-click a block to see who placed that block.
Right-click a block to see what adjacent block was removed.
Right-click (place) a block in a location to see what block was removed at that location.
Right-click (place) a block in another block to see who placed it. (ex: place dirt in water to see who placed the water)
Right-click on a door,button,lever,chest,etc, to see who last used it.

BlockPos.toString() shows the intermediary name outside of a dev env

Describe the bug
On some chat messages, there isn't proper dealing with a BlockPos object, meaning that when no placements are found the intermediary name for BlockPos is shown

To Reproduce
Steps to reproduce the behaviour:
Inspect a block with no placements outside of a dev environment

Expected behavior
Coords should be properly formatted as opposed to a simple toString() call

Screenshots
Is for my own reference, need no screenshots
Specs:

  • Version: All versions
  • OS: All operating systems
  • Java version: all

rollback fire

Make it possible to rollback fire

(this is needed if someone spams fire on the server with a flint and steel)

Modded containers do not always log

Some containers provided by mods are not logged properly. They will either not be detected as containers, or they will be detected as containers but no transactions will be logged for them.

Reproduction

  1. Place down a container of choice.
  2. Do some transactions with said container.
  3. /dl inspect
  4. It will report either "No transactions found in container", or not even that message.

The expected behaviour is for the transactions to show up correctly as they would for Vanilla containers.

This issue is highly reproducible on the latest version of Delta Logger, 1.0.0.

Affected Mods

Blocks detected as containers but with transaction logging not working:

Blocks not detected as containers:

Blocks correctly logging transactions:

The lists are of course not exhaustive.

Possible Solutions

In general it would be nice if "usages" of blocks were also tracked, in cases where transaction logging would be impossible. Block Logger also has trouble detecting transactions in these containers, but because it shows the block has been used, so server administrators aren't completely left in the dark!

Killed Entities page in web UI isn't working

Describe the bug
Killed Entities page in web UI isn't working. Gives following errors in server console and graphql response.

Specs:

  • Version DeltaLogger v1.1.3
  • Java version 8

Logs
Console Log:

[13:07:41] [qtp26259480-211/INFO]: [STDERR]: [qtp26259480-211] WARN com.github.fabricservertools.deltalogger.shadow.graphql.GraphQL - Query failed to validate : 'query PaginatedKE($offset: Int = 0, $limit: Int = 100) {
  killedEntities(offset: $offset, limit: $limit) {
    id
    name
    time
    source
    killer
    dimension
    x
    y
    z
    __typename
  }
}
'

GraphQL error response:

{"errors":[{"message":"Validation error of type FieldUndefined: Field 'name' in type 'KilledEntity' is undefined @ 'killedEntities/name'","locations":[{"line":4,"column":5}],"extensions":{"classification":"ValidationError"}}]}

WebUI broken on MySQL

All interactions are logged, but the web interface does not show the interactions. Happens on MySQL, and I've confirmed it myself. No errors shown in server console

Suggestion: more Logs and rollback

I was founding so much things not logged that I will puth everything in 1 issue for now :0 <3

  1. Make it possible to log & rollback creeper/ghasts explosions. maybe make it possible to see what stupid guy made the creeper angry.

  2. Log and rollback vine growth

  3. Water can break a lot of things (plants etc) it would be nice if that could be logged and rollbacked

  4. Falling sand/gravel/concrete can not be rollbacked/logged

  5. Log/rollback natural block breakage (ex: if a sign pops off a dirt block that was broken)

This is everything I tested but there is prob more missing :)
This would be a good list to follow, it contains the most things you can even log in minecraft: https://mcpaste.io/7fcea3c336cac6d8

Broken on build

--
  | java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'deltalogger'!
  | at Not Enough Crashes deobfuscated stack trace.(1.16.4+build.7) ~[?:?]
  | at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) ~[fabric-server-launch.jar:?]
  | at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) ~[fabric-server-launch.jar:?]
  | at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:32) ~[fabric-server-launch.jar:?]
  | at net.minecraft.server.Main.main(Main:92) [intermediary-server.jar:?]
  | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
  | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[?:?]
  | at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
  | at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
  | at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-server-launch.jar:?]
  | at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139) [fabric-server-launch.jar:?]
  | at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:27) [fabric-server-launch.jar:?]
  | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
  | at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[?:?]
  | at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
  | at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
  | at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:62) [fabric-server-launch.jar:?]
  | at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:106) [fabric-server-launch.jar:?]
  | at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:50) [fabric-server-launch.jar:?]
  | Caused by: java.lang.NoClassDefFoundError: com/github/fabricservertools/deltalogger/shadow/com/google/common/io/MoreFiles
  | at com.github.fabricservertools.deltalogger.ModInit.loadConfig(ModInit.java:45) ~[deltalogger-1.16.4-1.0.0.jar:?]
  | at com.github.fabricservertools.deltalogger.ModInit.onModInit(ModInit.java:63) ~[deltalogger-1.16.4-1.0.0.jar:?]
  | at com.github.fabricservertools.deltalogger.ModInit.onInitialize(ModInit.java:116) ~[deltalogger-1.16.4-1.0.0.jar:?]
  | at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
  | ... 17 more
  | Caused by: java.lang.ClassNotFoundException: com.github.fabricservertools.deltalogger.shadow.com.google.common.io.MoreFiles
  | at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606) ~[?:?]
  | at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168) ~[?:?]
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
  | at net.fabricmc.loader.launch.server.InjectingURLClassLoader.loadClass(InjectingURLClassLoader.java:56) ~[fabric-server-launch.jar:?]
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
  | at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168) ~[fabric-server-launch.jar:?]
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
  | at com.github.fabricservertools.deltalogger.ModInit.loadConfig(ModInit.java:45) ~[deltalogger-1.16.4-1.0.0.jar:?]
  | at com.github.fabricservertools.deltalogger.ModInit.onModInit(ModInit.java:63) ~[deltalogger-1.16.4-1.0.0.jar:?]
  | at com.github.fabricservertools.deltalogger.ModInit.onInitialize(ModInit.java:116) ~[deltalogger-1.16.4-1.0.0.jar:?]
  | at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
  | ... 17 more

[Feature] Add co-ordinates to transactions

Describe the solution you'd like
If someone takes something out of a chest, it should say the co-ordinates of the chest that the items were taken out of.

Describe alternatives you've considered
Possibly also make it show the username of the person who actually placed the chest down. This could be used to identify people's chests.

Players kicked when interacting with containers

Describe the bug
When players interact with a specific container they are kicked/disconnected by the server. They are not able to interact/break the container. multiple players are unable to interact with the same container.

To Reproduce
Steps to reproduce the behavior: Not sure, has happened multiple times and we are not sure why.

Expected behavior
Players not have to be kicked by the server

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

Specs:

  • Version [eg. DeltaLogger v1.1.2]
  • OS: [Linux]
  • Java version [8]
  • Mods:
  • Fabric API 0.32.0
  • Fabric Per player spawns 1.0.0
  • Lithium 1.16.5-0.6.4
  • Phosphor 1.16.3-0.7.1

Logs
[2021-03-30 13:12:42] [Server thread/INFO]: Divercat42 lost connection: Internal Exception: io.netty.handler.codec.EncoderException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $

Add blockstate/data and NBT logging

Is your feature request related to a problem? Please describe.
When rolling back areas that are griefed, block data and NBT gets reset to the default, such as stuff stored in chests, stair orientation, etc. After rolling back areas, all chests are empty and slabs are reset.

Describe the solution you'd like
For blockstates and NBT data to be properly logged so it can be rolled back.

Describe alternatives you've considered
Using a backup script and copying the affected region files manually from the backup.

Additional context
N/A

Conflict with fabric-discord-link

Describe the bug
server will not start

To Reproduce
I just updated from java 8 to java 11 but that should not be a problem i think

Expected behavior
The server to startup

Specs:

  • Version [deltalogger-1.16.5-1.2.0] happens also with 1.1.1
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment 18.9 (build 11.0.10+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9, mixed mode, sharing)

Logs
https://mclo.gs/Lc3DVFW

Javalin?

Describe the bug
Strange error about Javalin. There is one in the middle of startup and one in the end

To Reproduce
Use the mod

Expected behavior
No error

Specs:

  • Version: 1.1.0
  • OS: I think Linux
  • Java version: I'm not sure, probably the most common one

Logs
I don't think the full log is necessary for this: https://pastebin.com/ziUtruuU

Rollbacks

Allows for the world to be restored to a certain state in time, triggered by command

[Feature] View more logs on the web UI

Is your feature request related to a problem? Please describe.
When using the web UI, you can only see the most recent placements and transactions. However, you can not see older logs.

Describe the solution you'd like
When you scroll down to the bottom of the placements/transactions, it loads more.

Describe alternatives you've considered
Pages for the transactions/placements maybe?

Abnormally large generated file size

Describe the bug
DeltaLogger currently weighs in at over 20MB. While this isn't too bad given that it is a server side mod, clearly something is bloating the file size.

Looking inside the jar with an archive tool, we can see that dependencies are copied into META-INF/jars in addition to being shaded and relocated, resulting in what seems to be over 13MB of compressed duplicated dependencies.

To Reproduce
Steps to reproduce the behavior:
Compile DeltaLogger

Expected behavior
The file size should be significantly smaller.

TNT set off by redstone

When TNT is set off by any Redstone input: lever, button, pressure plate, dispenser, Redstone block, Redstone wire, observer, etc. It does not log the blocks blown up, I think that this should log all blocks blown up by any TNT even if there is no "player" that set it off.

[Enhancement] Add ability to rollback entities

Is your feature request related to a problem? Please describe.
To be able to roll back entities, for example villagers or sheep, that were killed by a griefer

Describe the solution you'd like
The rollback command to be able to roll back entities as well as blocks and containers

Describe alternatives you've considered
N/A

Additional context
N/A

Delta Logger blocks AE2 autocrafting

Describe the bug
Delta Logger blocks AE2 crafting through the terminal.

To Reproduce
Instal Delta Logger along with AE2, setup a basic system and an encoded pattern, and attempt to autocraft something. The autocrafting GUI will say Crafting Plan - Calculating Please Wait.

Expected behavior
Show the crafting plan and allow it to be started.

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

Logs
https://gist.github.com/Technici4n/04edf8b18a324fd8f77ff64a26f79229

Delta Logger NPE: https://github.com/fabricservertools/DeltaLogger/blob/0409f3fe7701697f43070e2b6da8205e214f6b0c/src/main/java/com/github/fabricservertools/deltalogger/listeners/PlayerEventListener.java#L60.

Basically Delta Logger is trying to getSlot(0), but the crafting plan screen handler has no slots, thus leading to an exception which prevents the normal behavior.

suggestion: Better tnt

Three things:

  1. Make it possible to see if tnt broke something now you see the player who set the tnt on fire, but not that he did it with tnt
  2. If you light tnt it doesn't log that you deleted/lighted tnt. The tnt is gone so that should be logged.
  3. If someone lights tnt with redstone it doesn't log it and you can not rollback it.

Crash when loading with SQLite

`---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 04/01/2021, 10:12
Description: Watching Server

java.lang.Error: Watchdog
at net.minecraft.server.dedicated.DedicatedServerWatchdog.run(DedicatedServerWatchdog.java:43)
at java.base/java.lang.Thread.run(Thread.java:834)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Thread Dump --
Details:
Threads: "Reference Handler" daemon prio=10 Id=2 RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:241)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)

"Finalizer" daemon prio=8 Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@3450d1ce
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@3450d1ce
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)

"Signal Dispatcher" daemon prio=9 Id=4 RUNNABLE

"Attach Listener" daemon prio=5 Id=5 RUNNABLE

"JDWP Transport Listener: dt_socket" daemon prio=10 Id=11 RUNNABLE

"JDWP Event Helper Thread" daemon prio=10 Id=12 RUNNABLE

"JDWP Command Reader" daemon prio=10 Id=13 RUNNABLE

"Common-Cleaner" daemon prio=8 Id=15 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@3a973934
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@3a973934
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148)
at [email protected]/java.lang.Thread.run(Thread.java:834)
at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)

"Worker-Bootstrap-2" daemon prio=5 Id=29 WAITING on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Bootstrap-3" daemon prio=5 Id=30 WAITING on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Bootstrap-4" daemon prio=5 Id=31 WAITING on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Bootstrap-5" daemon prio=5 Id=32 WAITING on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Bootstrap-6" daemon prio=5 Id=33 TIMED_WAITING on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1619)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Bootstrap-7" daemon prio=5 Id=34 WAITING on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@3ea8babe
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Timer hack thread" daemon prio=5 Id=35 TIMED_WAITING
at [email protected]/java.lang.Thread.sleep(Native Method)
at net.minecraft.util.Util$6.run(Util.java:519)

"Worker-Main-8" daemon prio=5 Id=36 WAITING on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Main-9" daemon prio=5 Id=37 WAITING on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Main-10" daemon prio=5 Id=38 WAITING on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Main-12" daemon prio=5 Id=40 WAITING on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Main-13" daemon prio=5 Id=41 WAITING on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Worker-Main-14" daemon prio=5 Id=42 TIMED_WAITING on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@7baa330f
at [email protected]/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1619)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

"Snooper Timer" daemon prio=5 Id=44 WAITING on java.util.TaskQueue@49464315
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@49464315
at [email protected]/java.lang.Object.wait(Object.java:328)
at [email protected]/java.util.TimerThread.mainLoop(Timer.java:527)
at [email protected]/java.util.TimerThread.run(Timer.java:506)

"Java2D Disposer" daemon prio=10 Id=45 WAITING on java.lang.ref.ReferenceQueue$Lock@4a9b8d90
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@4a9b8d90
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/sun.java2d.Disposer.run(Disposer.java:144)
at [email protected]/java.lang.Thread.run(Thread.java:834)

"AWT-Windows" daemon prio=6 Id=47 RUNNABLE (in native)
at [email protected]/sun.awt.windows.WToolkit.eventLoop(Native Method)
at [email protected]/sun.awt.windows.WToolkit.run(WToolkit.java:305)
at [email protected]/java.lang.Thread.run(Thread.java:834)

"TimerQueue" daemon prio=5 Id=51 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1b85cc40
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1b85cc40
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
at [email protected]/java.util.concurrent.DelayQueue.take(DelayQueue.java:217)
at [email protected]/javax.swing.TimerQueue.run(TimerQueue.java:171)
at [email protected]/java.lang.Thread.run(Thread.java:834)

Number of locked synchronizers = 1
- java.util.concurrent.locks.ReentrantLock$NonfairSync@319da337

"Thread-1" daemon prio=5 Id=50 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@60a06ace
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@60a06ace
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
at [email protected]/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433)
at app//com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77)
at net.minecraft.server.dedicated.gui.DedicatedServerGui.method_13972(DedicatedServerGui.java:130)
at net.minecraft.server.dedicated.gui.DedicatedServerGui$$Lambda$3617/0x0000000100a5ec40.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:834)

"DestroyJavaVM" prio=5 Id=55 RUNNABLE

"Server console handler" daemon prio=5 Id=54 RUNNABLE (in native)
at [email protected]/java.io.FileInputStream.readBytes(Native Method)
at [email protected]/java.io.FileInputStream.read(FileInputStream.java:279)
at [email protected]/java.io.BufferedInputStream.read1(BufferedInputStream.java:290)
at [email protected]/java.io.BufferedInputStream.read(BufferedInputStream.java:351)
- locked java.io.BufferedInputStream@76418c47
at [email protected]/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at [email protected]/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at [email protected]/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
- locked java.io.InputStreamReader@2a990da3
at [email protected]/java.io.InputStreamReader.read(InputStreamReader.java:185)
...

"ObjectCleanerThread" daemon prio=1 Id=56 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@1fcb337c
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1fcb337c
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at app//io.netty.util.internal.ObjectCleaner$1.run(ObjectCleaner.java:54)
at app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at [email protected]/java.lang.Thread.run(Thread.java:834)

"Netty Server IO #0" daemon prio=5 Id=57 RUNNABLE
at [email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at [email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:357)
at [email protected]/sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:182)
at [email protected]/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:124)
- locked sun.nio.ch.Util$2@7cdedc51
- locked sun.nio.ch.WindowsSelectorImpl@6075439
at [email protected]/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:136)
at app//io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756)
at app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:411)
at app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
...

"IO-Worker-15" prio=5 Id=58 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@6491b54f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@6491b54f
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
at [email protected]/java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:462)
at [email protected]/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
at [email protected]/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1053)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
...

"IO-Worker-17" prio=5 Id=60 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@6491b54f
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.SynchronousQueue$TransferStack@6491b54f
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
at [email protected]/java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:462)
at [email protected]/java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:361)
at [email protected]/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:937)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1053)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
...

"Server Watchdog" daemon prio=5 Id=61 RUNNABLE
at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
at net.minecraft.server.dedicated.DedicatedServerWatchdog.run(DedicatedServerWatchdog.java:41)
at [email protected]/java.lang.Thread.run(Thread.java:834)

"mysql-cj-abandoned-connection-cleanup" daemon prio=5 Id=62 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@22873a72
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@22873a72
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at app//com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:85)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at [email protected]/java.lang.Thread.run(Thread.java:834)

Number of locked synchronizers = 1
- java.util.concurrent.ThreadPoolExecutor$Worker@65c2399a

"HikariPool-1 housekeeper" daemon prio=5 Id=63 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@28b15627
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@28b15627
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
...

"AWT-Shutdown" prio=5 Id=66 WAITING on java.lang.Object@142b6994
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@142b6994
at [email protected]/java.lang.Object.wait(Object.java:328)
at [email protected]/sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:291)
at [email protected]/java.lang.Thread.run(Thread.java:834)

"AWT-EventQueue-0" prio=6 Id=65 RUNNABLE

-- Performance stats --
Details:
Random tick rate: 3
Level stats: ResourceKey[minecraft:dimension / minecraft:overworld]: players: 0, entities: 79 [minecraft:pig:28,minecraft:cow:24,minecraft:sheep:16,minecraft:chicken:10,minecraft:donkey:1], block_entities: 3 [minecraft:mob_spawner:1,minecraft:beehive:1,minecraft:chest:1], block_ticks: 159844, fluid_ticks: 165, chunk_source: ServerChunkCache: 2025,
ResourceKey[minecraft:dimension / minecraft:the_nether]: players: 0, entities: 0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: ServerChunkCache: 0,
ResourceKey[minecraft:dimension / minecraft:the_end]: players: 0, entities: 0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: ServerChunkCache: 0
Stacktrace:
at net.minecraft.server.dedicated.DedicatedServerWatchdog.run(DedicatedServerWatchdog.java:43)
at java.base/java.lang.Thread.run(Thread.java:834)

-- System Details --
Details:
Minecraft Version: 1.16.4
Minecraft Version ID: 1.16.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 11.0.9.1, AdoptOpenJDK
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK
Memory: 486695440 bytes (464 MB) / 1630535680 bytes (1555 MB) up to 2088763392 bytes (1992 MB)
CPUs: 8
JVM Flags: 3 total; -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=localhost:52114,server=n,suspend=y
Fabric Mods:
deltalogger: DeltaLogger ${version}
fabric: Fabric API 0.26.3+1.16
fabric-api-base: Fabric API Base 0.2.0+ab87788d3a
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.0+2e23b97c3a
fabric-command-api-v1: Fabric Command API (v1) 1.0.9+6a2618f53a
fabric-commands-v0: Fabric Commands (v0) 0.2.0+6a2618f53a
fabric-containers-v0: Fabric Containers (v0) 0.1.8+6a2618f53a
fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.9+6a2618f53a
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d3a
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.1+6a2618f53a
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+6a2618f53a
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.3+a4467d2a3a
fabric-item-api-v1: Fabric Item API (v1) 1.2.0+6a2618f53a
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.1+6a2618f53a
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.0+6a2618f53a
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.1+6a2618f53a
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+6a2618f53a
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.0+4358fbc63a
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+6a2618f53a
fabric-networking-v0: Fabric Networking (v0) 0.3.1+2a4333d33a
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.2+6a2618f53a
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.1+6a2618f53a
fabric-particles-v1: fabric-particles-v1 0.2.2+6a2618f53a
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.1+285766753a
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.4+6a2618f53a
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.0+552549d53a
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+6a2618f53a
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.1+f1d8af063a
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.0+e77439c73a
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.5+6a2618f53a
fabricloader: Fabric Loader 0.10.8
minecraft: Minecraft 1.16.4
Player Count: 0 / 20; []
Data Packs: vanilla, Fabric Mods
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)`
@unsupervisednn

Insert into placements table fails when block is removed by a mob (creeper explosion, enderman picking up, etc)

Describe the bug
Mod tries to insert a row in the table placements of the block removed by a mob, but fails since player_id column is not nullable.
Workaround: change a column in the table to be nullable.

Specs:

  • Version DeltaLogger v1.1.3
  • Java version 8

Logs

[12:48:41] [Thread-202/WARN]: Problem executing batches in handler
[12:48:41] [Thread-202/INFO]: [STDERR]: org.jdbi.v3.core.statement.UnableToExecuteStatementException: org.sqlite.SQLiteException: [SQLITE_CONSTRAINT_NOTNULL]  A NOT NULL constraint failed (NOT NULL constraint failed: placements.player_id) [statement:"INSERT INTO placements (date, placed, x, y, z, state, player_id, type, dimension_id) SELECT :date, :placed, :x, :y, :z, :state, (SELECT id FROM players WHERE uuid=:playeruuid), (SELECT id FROM registry WHERE name=:blockid), (SELECT id FROM registry WHERE name=:dimension_id)", arguments:{positional:{}, named:{date:2021-05-02 12:48:40,blockid:minecraft:sand,placed:false,dimension_id:minecraft:overworld,playeruuid:[REDACTED],x:-312,y:61,z:-39,state:null}, finder:[]}]
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.statement.PreparedBatch.internalBatchExecute(PreparedBatch.java:228)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.statement.PreparedBatch.execute(PreparedBatch.java:107)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at com.github.fabricservertools.deltalogger.DatabaseManager.lambda$processOps$7(DatabaseManager.java:357)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.HandleConsumer.lambda$asCallback$0(HandleConsumer.java:32)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.Jdbi.withHandle(Jdbi.java:341)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.Jdbi.useHandle(Jdbi.java:357)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at com.github.fabricservertools.deltalogger.DatabaseManager.processOps(DatabaseManager.java:331)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at com.github.fabricservertools.deltalogger.DatabaseManager.run(DatabaseManager.java:383)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at java.lang.Thread.run(Thread.java:748)
[12:48:41] [Thread-202/INFO]: [STDERR]: Caused by: org.sqlite.SQLiteException: [SQLITE_CONSTRAINT_NOTNULL]  A NOT NULL constraint failed (NOT NULL constraint failed: placements.player_id)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.sqlite.core.DB.newSQLException(DB.java:1010)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.sqlite.core.DB.newSQLException(DB.java:1022)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.sqlite.core.DB.throwex(DB.java:987)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.sqlite.core.DB.executeBatch(DB.java:812)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.sqlite.core.CorePreparedStatement.executeBatch(CorePreparedStatement.java:72)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.statement.SqlLoggerUtil.wrap(SqlLoggerUtil.java:31)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	at org.jdbi.v3.core.statement.PreparedBatch.internalBatchExecute(PreparedBatch.java:220)
[12:48:41] [Thread-202/INFO]: [STDERR]: 	... 8 more

[Feature] Search bar

Describe the solution you'd like
A search bar to search for a player name, container ID, item type, ID, time, etc...

crash due to BLOB/TEXT column 'state' used in key

Describe the bug
Crash using mysql [13:35:41] [Server thread/ERROR]: Encountered an unexpected exception
org.jdbi.v3.core.statement.UnableToExecuteStatementException: java.sql.BatchUpdateException: BLOB/TEXT column 'state' used in key

To Reproduce
Start server with MYSQL and deltalogger

Expected behavior
no crash

Specs:

  • Version DeltaLogger v1.1.0
  • OS: Ubuntu
  • Java version 8

Logs
https://pastebin.com/wTj2xP69

Licensing Clarifications

This project doesn't use a standard OSI approved license.

  • Does my server have to be AGPL if this mod is included?
  • Does my modpack have to be AGPL if this mod is included?
  • Does my mod have to be AGPL if it implements compatibility with this mod?

Soft overriding AbstractBlock.AbstractBlockState#onUse

Describe the bug
Your mixin is a soft override that doesn't let any other mixins in that method run after it.

To Reproduce
It can be noticed with Carrier installed, you are not able to pickup anything with DeltaLogger.

Expected behavior
Don't override the method.

Screenshots

Specs:

  • Version DeltaLogger v1.0.0-1.16.5

You should just return instead of setting the return value here. Also, tiny nitpick, that's also duplicated code.

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.