Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please, support custom namespace items, such as from data packs #88

Open
vgrynch opened this issue Aug 11, 2023 · 0 comments
Open

Please, support custom namespace items, such as from data packs #88

vgrynch opened this issue Aug 11, 2023 · 0 comments
Assignees

Comments

@vgrynch
Copy link

vgrynch commented Aug 11, 2023

Preconditions:
On Hybrid servers (ArcLight, Magma), you can use both mods and plugins. Also, you can use data packs and add custom items to your server.

I used 1.19.2 server. ChatItem plugin works great (while any other did not work!). However, when I try to share items from the custom namespace, I see the following:

2023-08-11_22 52 24

Custom modded/datapack items are translated for Bukkit/Spigot to {namespace}_{id}. I suspect, if something is wrong with trying to use item.minecraft.twilightforest_knightmetal_sword, need to try it without adding the minecraft, though I do not know the internals :)

All the rest "custom" stuff works great, for example:
image

Debug session:

[11Aug2023 19:54:15.394] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: TomDill2883 issued server command: /chatitem admin
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] (v1) Set placeholder to message Chat{id=2,message=[item],time=1691783665280}
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Search in S2E, id found: 2
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Failed to find translation for item.minecraft.twilightforest_knightmetal_sword
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [Console/]: <TomDill2883> twilightforest knightmetal sword x1
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Msg: <TomDill2883> S, format: <%1$s> %2$s to 1 players
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Failed to find translation for item.minecraft.twilightforest_knightmetal_sword
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Color: , text: , code: blo
[11Aug2023 19:54:25.281] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Append while fixing name twilightforest knightmetal sword x1
[11Aug2023 19:54:25.282] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Item for TomDill2883 (ver: V1_19) : {Damage:0}
[11Aug2023 19:54:31.158] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: TomDill2883 issued server command: /cir
[11Aug2023 19:54:31.162] [Server thread/INFO] [ChatItem/]: The plugin ProtocolLib has been detected. Loading Protocollib support ...
[11Aug2023 19:54:31.162] [Server thread/INFO] [ChatItem/]: Loaded 3 getter for base components.
[11Aug2023 19:54:31.162] [Server thread/INFO] [ChatItem/]: [Debug] ComponentManager: StringComponentManager, ComponentNMSManager, PCMComponentManager
[11Aug2023 19:54:31.163] [Server thread/INFO] [ChatItem/]: Manager automatically chosen: PacketEditing (packet), ChatListener (chat)
[11Aug2023 19:54:31.391] [Server thread/INFO] [ChatItem/]: Loaded translation for en_gb.
[11Aug2023 19:54:33.759] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] (v1) Set placeholder to message Chat{id=3,message=[item],time=1691783673759}
[11Aug2023 19:54:33.759] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Search in S3E, id found: 3
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Failed to find translation for item.minecraft.twilightforest_knightmetal_sword
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [Console/]: <TomDill2883> twilightforest knightmetal sword x1
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Msg: <TomDill2883> S, format: <%1$s> %2$s to 1 players
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Failed to find translation for item.minecraft.twilightforest_knightmetal_sword
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Color: , text: , code: blo
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Append while fixing name twilightforest knightmetal sword x1
[11Aug2023 19:54:33.760] [Async Chat Thread - #2/INFO] [ChatItem/]: [Debug] Item for TomDill2883 (ver: V1_19) : {Damage:0}
[11Aug2023 19:55:00.171] [Server thread/INFO] [Console/]: TPS from last 1m, 5m, 15m: *20.0, *20.0, *20.0
[11Aug2023 19:55:00.172] [Server thread/INFO] [Console/]: Current Memory Usage: 2341/4096 mb (Max: 4096 mb)
[11Aug2023 19:55:40.912] [Async Chat Thread - #3/INFO] [ChatItem/]: [Debug] (v1) Set placeholder to message Chat{id=4,message=[item],time=1691783740912}
[11Aug2023 19:55:40.912] [Async Chat Thread - #3/INFO] [ChatItem/]: [Debug] Search in S4E, id found: 4
[11Aug2023 19:55:40.912] [Async Chat Thread - #3/INFO] [Console/]: <TomDill2883> Polished Granite x64
[11Aug2023 19:55:40.913] [Async Chat Thread - #3/INFO] [ChatItem/]: [Debug] Msg: <TomDill2883> S, format: <%1$s> %2$s to 1 players
[11Aug2023 19:55:40.913] [Async Chat Thread - #3/INFO] [ChatItem/]: [Debug] Color: , text: , code: blo
[11Aug2023 19:55:40.913] [Async Chat Thread - #3/INFO] [ChatItem/]: [Debug] Append while fixing name Polished Granite x64
[11Aug2023 19:55:40.913] [Async Chat Thread - #3/INFO] [ChatItem/]: [Debug] Item for TomDill2883 (ver: V1_19) : {}
[11Aug2023 19:55:49.161] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: TomDill2883 issued server command: /chatitem admin
[11Aug2023 19:55:55.600] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl/]: TomDill2883 issued server command: /cir
@Elikill58 Elikill58 self-assigned this Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants