Skip to content

[Bug]: After socketing a weapon and embedding a gem, both the weapon and the gem disappear and an error is reported #305

@DvidMoh

Description

@DvidMoh

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I installed Divinity by default without making any modifications.Additionally,I didn't install any other plugins.After socketing a weapon and embedding a gem, both the weapon and the gem disappear and an error is reported.

Expected Behavior

The gem should be on the weapon after a successful embedding.

Steps To Reproduce

1.Enter the command to socket the weapon.
2.Enter the command to obtain the gem.
3.Embed the gem into the weapon.
4.After a successful embedding,both the weapon and the gem disappear and an error is reported.

Environment

- Server Software: purpur-1.21.8.jar
- Divinity Version: divinity-1.0.2-R0.50-20250916.060400-1
- Codex Version: codex-1.1.1-R0.11-20250916.055615-1
- Plugins: No other plugins

latest.log

[19:25:41] [ServerMain/INFO]: [bootstrap] Running Java 21 (OpenJDK 64-Bit Server VM 21+35-jvmci-23.1-b15; GraalVM Community GraalVM CE 21+35.1) on Windows Server 2022 10.0 (amd64)
[19:25:41] [ServerMain/INFO]: [bootstrap] Loading Purpur 1.21.8-2497-HEAD@a49cdb9 (2025-09-19T01:51:04Z) for Minecraft 1.21.8
[19:25:41] [ServerMain/INFO]: [PluginInitializerManager] Initializing plugins...
[19:25:41] [ServerMain/INFO]: [PluginInitializerManager] Initialized 2 plugins
[19:25:41] [ServerMain/INFO]: [PluginInitializerManager] Paper plugins (2):

  • CodexCore (1.1.1-R0.11-SNAPSHOT), Divinity (1.0.2-R0.50-SNAPSHOT)
    [19:25:44] [ServerMain/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
    [19:25:45] [ServerMain/INFO]: Loaded 1407 recipes
    [19:25:45] [ServerMain/INFO]: Loaded 1520 advancements
    [19:25:45] [ServerMain/INFO]: [ca.spottedleaf.dataconverter.minecraft.datatypes.MCTypeRegistry] Initialising converters for DataConverter...
    [19:25:45] [ServerMain/INFO]: [ca.spottedleaf.dataconverter.minecraft.datatypes.MCTypeRegistry] Finished initialising converters for DataConverter in 192.0ms
    [19:25:45] [Server thread/INFO]: Starting minecraft server version 1.21.8
    [19:25:45] [Server thread/WARN]: ****************************
    [19:25:45] [Server thread/WARN]: YOU ARE RUNNING THIS SERVER AS AN ADMINISTRATIVE OR ROOT USER. THIS IS NOT ADVISED.
    [19:25:45] [Server thread/WARN]: YOU ARE OPENING YOURSELF UP TO POTENTIAL RISKS WHEN DOING THIS.
    [19:25:45] [Server thread/WARN]: FOR MORE INFORMATION, SEE https://madelinemiller.dev/blog/root-minecraft-server/
    [19:25:45] [Server thread/WARN]: ****************************
    [19:25:45] [Server thread/INFO]: Loading properties
    [19:25:45] [Server thread/INFO]: This server is running Purpur version 1.21.8-2497-HEAD@a49cdb9 (2025-09-19T01:51:04Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
    [19:25:45] [Server thread/INFO]: [spark] This server bundles the spark profiler. For more information please visit https://docs.papermc.io/paper/profiling
    [19:25:45] [Server thread/INFO]: Server Ping Player Sample Count: 12
    [19:25:45] [Server thread/INFO]: Using 4 threads for Netty based IO
    [19:25:46] [Server thread/INFO]: [MoonriseCommon] Paper is using 7 worker threads, 1 I/O threads
    [19:25:46] [Server thread/INFO]: [ChunkTaskScheduler] Chunk system is using population gen parallelism: true
    [19:25:46] [Server thread/INFO]: Default game type: SURVIVAL
    [19:25:46] [Server thread/INFO]: Generating keypair
    [19:25:46] [Server thread/INFO]: Starting Minecraft server on *:30020
    [19:25:46] [Server thread/INFO]: Using default channel type
    [19:25:46] [Server thread/INFO]: Paper: Using Java compression from Velocity.
    [19:25:46] [Server thread/INFO]: Paper: Using Java cipher from Velocity.
    [19:25:46] [Server thread/INFO]: [CodexCore] Loading server plugin CodexCore v1.1.1-R0.11-SNAPSHOT
    [19:25:46] [Server thread/INFO]: [Divinity] Loading server plugin Divinity v1.0.2-R0.50-SNAPSHOT
    [19:25:46] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [19:25:46] [Server thread/INFO]: [CodexCore] Enabling CodexCore v1.1.1-R0.11-SNAPSHOT
    [19:25:46] [Server thread/INFO]: [CodexCore] Using NMS implementation for version 1.21.7
    [19:25:46] [Server thread/INFO]: [CodexCore] Mapped all language data for CodexCore.
    [19:25:46] [Server thread/INFO]: [CodexCore] [ItemManager] Successfully registered provider for VANILLA items
    [19:25:46] [Server thread/INFO]: [CodexCore] [ItemManager] Successfully registered provider for ORAXEN items
    [19:25:46] [Server thread/INFO]: [CodexCore] [ItemManager] Successfully registered provider for NEXO items
    [19:25:46] [Server thread/INFO]: [CodexCore] [ItemManager] Successfully registered provider for ITEMSADDER items
    [19:25:46] [Server thread/INFO]: [CodexCore] Found 0 external module(s).
    [19:25:46] [Server thread/INFO]: [CodexCore] CodexCore has been enabled!
    [19:25:46] [Server thread/INFO]: [CodexCore] Plugin loaded in 288 ms!
    [19:25:46] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    [19:25:46] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
    [19:25:46] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    [19:25:46] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
    [19:25:46] [Server thread/INFO]: Preparing level "world"
    [19:25:47] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
    [19:25:47] [Server thread/INFO]: Preparing spawn area: 0%
    [19:25:47] [Server thread/INFO]: Preparing spawn area: 4%
    [19:25:47] [Server thread/INFO]: Time elapsed: 520 ms
    [19:25:47] [Server thread/INFO]: Preparing start region for dimension minecraft:the_nether
    [19:25:47] [Server thread/INFO]: Preparing spawn area: 0%
    [19:25:47] [Server thread/INFO]: Time elapsed: 43 ms
    [19:25:47] [Server thread/INFO]: Preparing start region for dimension minecraft:the_end
    [19:25:47] [Server thread/INFO]: Preparing spawn area: 0%
    [19:25:47] [Server thread/INFO]: Time elapsed: 32 ms
    [19:25:47] [Server thread/INFO]: [Divinity] Enabling Divinity v1.0.2-R0.50-SNAPSHOT
    [19:25:47] [Server thread/INFO]: [Divinity] Powered by: CodexCore
    [19:25:47] [Server thread/INFO]: [Divinity] Loading engine configuration...
    [19:25:47] [Server thread/INFO]: [Divinity] Using Vanilla Exp as a player level plugin.
    [19:25:47] [Server thread/INFO]: [Divinity] Using Vault Permissions as a player class plugin.
    [19:25:48] [Server thread/INFO]: [Divinity] Found 0 external module(s).
    [19:25:48] [Server thread/INFO]: [CodexCore] [Actions Engine] Replaced registered param 'ATTACKABLE' with a new one.
    [19:25:48] [Server thread/INFO]: [CodexCore] [Actions Engine] Replaced registered action executor 'DAMAGE' with a new one.
    [19:25:48] [Server thread/INFO]: [Divinity] Packets are enabled. Setup packet manager...
    [19:25:48] [Server thread/INFO]: [Divinity] Registered packet manager for version §aV1_21_R5
    [19:25:48] [Server thread/INFO]: [Divinity] Profile Manager has been enabled
    [19:25:48] [Server thread/WARN]: [Divinity] [Gems] No Vault compatible Economy plugin found. Merchant GUI will be free.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Gems v1.76 in 37 ms.
    [19:25:48] [Server thread/WARN]: [Divinity] [Essences] No Vault compatible Economy plugin found. Merchant GUI will be free.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Essences v2.0.0 in 7 ms.
    [19:25:48] [Server thread/WARN]: [Divinity] [Runes] No Vault compatible Economy plugin found. Merchant GUI will be free.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Runes v1.21 in 7 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Arrows v2.0.0 in 5 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Sets v1.62 in 6 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Item Generator v2.0.0 in 21 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Custom Items v1.0 in 2 ms.
    [19:25:48] [Server thread/ERROR]: [Divinity] [Money] Economy not found! Module will be disabled.
    [19:25:48] [Server thread/ERROR]: [Divinity] Failed module load: Money v1.0.0
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Refine v1.81 in 6 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Fortify v1.2.0 in 3 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Identify v1.2.0 in 3 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Magic Dust v1.9.0 in 7 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Soulbound v1.6.0 in 2 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Repair v1.7.0 in 4 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Dismantle v1.8.0 in 5 ms.
    [19:25:48] [Server thread/WARN]: [Divinity] [Extractor] No economy found. Extraction will be free.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Extractor v1.3.0 in 5 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Party v2.0.0 in 22 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Item Hints v1.3.0 in 1 ms.
    [19:25:48] [Server thread/ERROR]: [Divinity] [Sell] Economy not found! Module will be disabled.
    [19:25:48] [Server thread/ERROR]: [Divinity] Failed module load: Sell v1.6.0
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Combat Log v1.5.0 in 2 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Consumables v1.8.0 in 3 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Drops v2.1.0 in 4 ms.
    [19:25:48] [Server thread/INFO]: [Divinity] Loaded module: Loot v1.04 in 3 ms.
    [19:25:48] [Server thread/INFO]: [CodexCore] [ItemManager] Successfully registered provider for DIVINITY items
    [19:25:48] [Server thread/INFO]: [CodexCore] [DamageRegistry] Successfully registered provider for DIVINITY damage
    [19:25:48] [Server thread/INFO]: [Divinity] Plugin loaded in 426 ms!
    [19:25:48] [Server thread/INFO]: [spark] Starting background profiler...
    [19:25:48] [Server thread/INFO]: [spark] The async-profiler engine is not supported for your os/arch (windowsserver2022/amd64), so the built-in Java engine will be used instead.
    [19:25:48] [Server thread/INFO]: Done preparing level "world" (1.481s)
    [19:25:48] [Server thread/INFO]: Running delayed init tasks
    [19:25:48] [Craft Scheduler Thread - 2 - Divinity/INFO]: [Divinity] Auto-save: Saved 0 online users | 0 offline users.
    [19:25:48] [Server thread/INFO]: Done (7.669s)! For help, type "help"
    [19:25:49] [User Authenticator #0/INFO]: UUID of player Dvid_Nanx is 956503df-51a7-3f9e-afcc-900819a083ab
    [19:25:49] [Server thread/INFO]: Dvid_Nanx joined the game
    [19:25:49] [Server thread/INFO]: Dvid_Nanx[/112.11.128.168:20193] logged in with entity id 46 at ([world]0.8309569189598884, 88.0, -5.860385534851933)
    [19:25:52] [Server thread/INFO]: Dvid_Nanx issued server command: /gm 1
    [19:25:53] [Server thread/INFO]: Dvid_Nanx issued server command: /gamemode creative
    [19:25:53] [Server thread/INFO]: [Dvid_Nanx: Set own game mode to Creative Mode]
    [19:25:59] [Server thread/INFO]: Dvid_Nanx issued server command: /divinity set socket GEM common
    [19:26:04] [Server thread/INFO]: Dvid_Nanx issued server command: /gems get diamond_of_damage 1
    [19:26:05] [Server thread/INFO]: Dvid_Nanx issued server command: /gm 0
    [19:26:07] [Server thread/INFO]: Dvid_Nanx issued server command: /gamemode survival
    [19:26:07] [Server thread/INFO]: [Dvid_Nanx: Set own game mode to Survival Mode]
    [19:26:15] [Server thread/WARN]: [Divinity] Task #598 for Divinity v1.0.2-R0.50-SNAPSHOT generated an exception
    com.google.gson.JsonParseException: No key id in MapLike[{"action":"show_item","value":[{"text":"{"id":"netherite_sword","count":1,"components": {"minecraft:attribute_modifiers":[{amount:0.0d,id:"minecraft:ec9dd297-90e1-4b81-9592-02d59d6646db",operation:"add_value",type:"minecraft:movement_speed"}],"minecraft:custom_data":{PublicBukkitValues:{"codexcore:fogus_loren-item_socket_gem_common0":"§f□ <§fCommon Gem Socket>","divinity:item_socket_gem_common0":[B;0B,0B,0B,0B,0B,0B,0B,0B]}},"minecraft:lore":[{extra:[{bold:0b,color:"white",italic:0b,obfuscated:0b,strikethrough:0b,text:"□ <",underlined:0b},{color:"white",italic:0b,text:"Common Gem Socket>"}],text:""}],"minecraft:tooltip_display":{hidden_components:["minecraft:attribute_modifiers","minecraft:enchantments"]}}}"}]}]
    at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287) ~[datafixerupper-8.0.16.jar:?]
    at org.bukkit.craftbukkit.util.CraftChatMessage.fromJSON(CraftChatMessage.java:250) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.util.CraftChatMessage.bungeeToVanilla(CraftChatMessage.java:364) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.network.protocol.game.ClientboundSystemChatPacket.(ClientboundSystemChatPacket.java:21) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.entity.CraftPlayer$2.sendMessage(CraftPlayer.java:3427) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.entity.CraftPlayer$2.sendMessage(CraftPlayer.java:3415) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.entity.CraftPlayer$2.sendMessage(CraftPlayer.java:3395) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at codex-1.1.1-R0.11-20250916.055615-1.jar/studio.magemonkey.codex.util.ClickText.send(ClickText.java:91) ~[codex-1.1.1-R0.11-20250916.055615-1.jar:?]
    at divinity-1.0.2-R0.50-20250916.060400-1.jar/studio.magemonkey.divinity.modules.api.socketing.ISocketGUI.lambda$getResultHandler$1(ISocketGUI.java:147) ~[divinity-1.0.2-R0.50-20250916.060400-1.jar:?]
    at divinity-1.0.2-R0.50-20250916.060400-1.jar/studio.magemonkey.divinity.manager.interactions.api.AnimatedSuccessBar$Task.lambda$action$0(AnimatedSuccessBar.java:169) ~[divinity-1.0.2-R0.50-20250916.060400-1.jar:?]
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1699) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1567) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1283) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:313) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
    [19:26:18] [Server thread/INFO]: Dvid_Nanx issued server command: /gamemode creative
    [19:26:18] [Server thread/INFO]: [Dvid_Nanx: Set own game mode to Creative Mode]
    [19:26:21] [Server thread/INFO]: Dvid_Nanx issued server command: /gems get diamond_of_damage 1
    [19:26:22] [Server thread/INFO]: Dvid_Nanx issued server command: /gm 0
    [19:26:26] [Server thread/INFO]: Dvid_Nanx issued server command: /gamemode survival
    [19:26:26] [Server thread/INFO]: [Dvid_Nanx: Set own game mode to Survival Mode]
    [19:26:34] [Server thread/INFO]: Dvid_Nanx issued server command: /divinity set socket GEM common
    [19:26:41] [Server thread/WARN]: [Divinity] Task #1103 for Divinity v1.0.2-R0.50-SNAPSHOT generated an exception
    com.google.gson.JsonParseException: No key id in MapLike[{"action":"show_item","value":[{"text":"{"id":"netherite_sword","count":1,"components": {"minecraft:attribute_modifiers":[{amount:0.0d,id:"minecraft:f443b77d-a4c7-4311-860b-b3f70662a40d",operation:"add_value",type:"minecraft:movement_speed"}],"minecraft:custom_data":{PublicBukkitValues:{"codexcore:fogus_loren-item_socket_gem_common0":"§f▣ §6Damage Diamond I §7(§fAll Dmg. +3.5%%§7)","divinity:item_socket_gem_common0":[B;0B,0B,0B,17B,100B,105B,97B,109B,111B,110B,100B,95B,111B,102B,95B,100B,97B,109B,97B,103B,101B,0B,0B,0B,1B,49B],"divinity:skills":[B;0B,0B,0B,15B,97B,98B,105B,108B,105B,116B,121B,45B,49B,58B,49B,58B,103B,101B,109B]}},"minecraft:lore":[{extra:[{bold:0b,color:"white",italic:0b,obfuscated:0b,strikethrough:0b,text:"▣ ",underlined:0b},{color:"gold",italic:0b,text:"Damage Diamond I "},{color:"gray",italic:0b,text:"("},{color:"white",italic:0b,text:"All Dmg. +3.5%%"},{color:"gray",italic:0b,text:")"}],text:""}],"minecraft:tooltip_display":{hidden_components:["minecraft:attribute_modifiers","minecraft:enchantments"]}}}"}]}]
    at com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287) ~[datafixerupper-8.0.16.jar:?]
    at org.bukkit.craftbukkit.util.CraftChatMessage.fromJSON(CraftChatMessage.java:250) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.util.CraftChatMessage.bungeeToVanilla(CraftChatMessage.java:364) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.network.protocol.game.ClientboundSystemChatPacket.(ClientboundSystemChatPacket.java:21) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.entity.CraftPlayer$2.sendMessage(CraftPlayer.java:3427) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.entity.CraftPlayer$2.sendMessage(CraftPlayer.java:3415) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.entity.CraftPlayer$2.sendMessage(CraftPlayer.java:3395) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at codex-1.1.1-R0.11-20250916.055615-1.jar/studio.magemonkey.codex.util.ClickText.send(ClickText.java:91) ~[codex-1.1.1-R0.11-20250916.055615-1.jar:?]
    at divinity-1.0.2-R0.50-20250916.060400-1.jar/studio.magemonkey.divinity.modules.api.socketing.ISocketGUI.lambda$getResultHandler$1(ISocketGUI.java:97) ~[divinity-1.0.2-R0.50-20250916.060400-1.jar:?]
    at divinity-1.0.2-R0.50-20250916.060400-1.jar/studio.magemonkey.divinity.manager.interactions.api.AnimatedSuccessBar$Task.lambda$action$0(AnimatedSuccessBar.java:169) ~[divinity-1.0.2-R0.50-20250916.060400-1.jar:?]
    at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1699) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1567) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1283) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:313) ~[purpur-1.21.8.jar:1.21.8-2497-a49cdb9]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions