Sad
Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

Ugh, why is Minecraft so complicated under the hood?

I thought I had the indexing of items down, but apparently there are many more that aren't simply of a certain type. Not only weapons and armor can have enchantments of a certain level. Banners, fireworks and potions are even more complicated with a variable number of modifications on multiple levels. That's going to make it a whole lot more difficult to store in the database and find the price of items when a player tries to sell them. I'm not sure if it's even possible at all at this point... 🙁
This page is a permanent link to the reply below and its nested replies. See all post replies »
The analyst in you loves the challenge, though... if there's a way, you'll find it.
@HootyTheNightOwl very true. In theory it should be possible to access every detail with enough time and effort spent on development and processing. It may slow down the server significantly, but that can be overcome with running some things in the background, if needed overnight, and patience if something isn't possible without freezing the server for a few seconds.
@NerdyPotato See... you already have the theory in place - you just need to put it into practice and see what you get.
@HootyTheNightOwl Yep, I may just need to start over from scratch, have a closer look at what information I can fetch and rethink how to save that and how to process it in other features.

Or I may put some more time into searching for better third party plugins...
@NerdyPotato Trouble with third party plugins is that they might not do exactly what you want them to do without additional coding.
@HootyTheNightOwl true, that's why I tried to create my own after not finding exactly what I needed. But with this amount of work involved in what I really want, if I can find something a little closer, I'll settle for that.