elBukkit / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
10 stars 10 forks source link

Revamp storing of Materials of Fields #78

Open xtomyserrax opened 4 years ago

xtomyserrax commented 4 years ago

Actually in the DB we are using the deprecated MaterialID to store them. It would be amazing if we move to Material Type (downside is that we will need to make a migration system for old DB)

Also we could use XMaterial API so we can future proof Material Type name changes. https://www.spigotmc.org/threads/xseries-xmaterial-xparticle-xsound-xpotion-titles-actionbar-etc.378136/

Whenever the DB revamp is done, this would be amazing! #74

xtomyserrax commented 3 years ago

If we add support to XMaterial I think that we wont need any longer to block support to latest release. Sad thing is that this would need to recode a lot of stuff :(