Now only checks the players economy balance if the custom item is using a commands-cost. Fixes edge case errors with users not using economy while having a registered economy plugin in a disabled state.
Players were able to join the server before the MySQL connection was established, resulting in players getting items they had already received. When the server is starting up, it will now wait for the plugin to successfully establish MySQL connection. Fixes issues with first-join and ip-limit.
This isn't needed and was very convoluted. The trim pattern is literally just the NamespaceKey name + "_ARMOR_TRIM_SMITHING_TEMPLATE". Not defining static values allows us to dynamically support new patterns.
Please see the documentation page if you need any help with these new updates! If you have any ideas or requests that you would like to see in ItemJoin's future please submit a feature request.