HTTPStanley / DivinityEconomy

A bukkit plugin that adds an economy system to minecraft for buying and selling items. The prices also scale to the availability of the items and the size of the market itself.
https://modrinth.com/plugin/divinity-economy
GNU General Public License v3.0
6 stars 1 forks source link

Unable to recognize new items updated in 1.21.* #71

Open CaesarGalahad opened 1 month ago

CaesarGalahad commented 1 month ago

Unable to recognize new items updated in 1.21.* such as“BREEZE_ROD” ‘’wind_charge"

These items cannot be traded

INFO DivinityEconomy version 3.5.3

HTTPStanley commented 1 month ago

HI @CaesarGalahad are these new items in 1.21?

I don't keep up with the game! Just this plugin :)

Can you try something for me?

Stop your server. Head to plugins > DivinityEconomy > materials.yml and add the following new entries:

BREEZE_ROD:
  ALLOWED: true
  MATERIAL_ID: BREEZE_ROD
  QUANTITY: 1696719
WIND_CHARGE:
  ALLOWED: true
  MATERIAL_ID: WIND_CHARGE
  QUANTITY: 878894

Start your server and try purchase /buy BREEZE_ROD

You can add friendly item names in materialAliases.yml in the following format: breezerod: BREEZE_ROD windcharge: WIND_CHARGE

CaesarGalahad commented 1 month ago

I did as you requested After executing the command, it displays' Invalid Material Name ' And the entries added in materialAliases.yml and materials.yml have also disappeared