atferrys / ModdedIntegration

🔌⛏️ A Minecraft Plugin that auto-populates the EssentialsX's items.csv file with Forge items and blocks.
GNU General Public License v3.0
8 stars 4 forks source link

Issues with Essentials legacy items mode #3

Open RadsJog opened 2 years ago

RadsJog commented 2 years ago

I am having issue with items.csv I am using Modintrigation 1.3 latest one and after I used it all the modded items added to items.csv but from the modded items I am only able to /give some and not all how to fix it

atferrys commented 2 years ago

Hi! To help you resolve the problem I first need some extra Infos:

RadsJog commented 2 years ago

Ok so

atferrys commented 2 years ago

Ok, I'll check that tomorrow and I'll let you know ASAP.

RadsJog commented 2 years ago

So did you got smth

atferrys commented 2 years ago

I've installed the mods but there isn't any "akaza_head" even in the creative menu

atferrys commented 2 years ago

Ok, i've checked and other items present in the creative menu aren't showing up in essentials items

atferrys commented 2 years ago

Seems like some items from that mod have a numeric id equal to -1. _(Ex. kimetsunoyaiba_clothes_bamboochestplate,-1,0) The numeric ids are deprecated by 1.13 but, due to essentials items "legacy mode" (basically CSV with numeric ids instead of JSON with string ids) triggered by Magma patching, they are still needed in order to populate the file. So the problem is either on the Mod part or the Magma part.

RadsJog commented 2 years ago

So if I change the value will it be get fixed

RadsJog commented 2 years ago

Is there any chance It can be fixed or any alternative

atferrys commented 2 years ago

So if I change the value will it be get fixed

The value in the items file? I don't think so

LeStegii commented 2 years ago

What exactly would we need to change in order to NOT trigger legacy mode?

atferrys commented 2 years ago

I am not sure why the legacy mode triggers. I've tried using other hybrid server implementations and pure spigot and instead of items.csv, Essentials uses an items.json file.

It might be one of the patches applied when starting up the server ([main/INFO] [FML]: Essentials [Fixes Commands in Essentials] loaded), but i'm not entirely sure since the patch is only about commands 🤔