Closed CloudeLecaw closed 3 years ago
This is because you left the .yml extension in your config.yml. Remove it and it should recognise your new economy type.
Get Outlookhttps://aka.ms/qtex0l for iOS
From: CloudeLecaw notifications@github.com Sent: Saturday, January 16, 2021 8:01:06 AM To: LMBishop/MoneyPouch MoneyPouch@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [LMBishop/MoneyPouch] new economyvariants buggy because of same item? (#10)
i designted a test item
karottenkiste-1:
name: "&6&lEine echte Karottenkiste &r&7(Rechtsklick)"
item: "CHEST"
pricerange:
from: 2
to: 5
options:
economytype: "karottenkiste.yml"
permission-required: true # requires permission "moneypouch.pouches.karottenkiste-1"
lore:
- "&7Öffne diese Kiste, um Karotten zu erhalten!"
economy:
xp:
prefix: ""
suffix: " XP"
vault:
prefix: "$"
suffix: ""
lemonmobcoins:
prefix: ""
suffix: " Mobmünzen"
karottenkiste.yml:
prefix: ""
suffix: " Möhren"
the custom file i called karottenkiste,yml and putted it into the new custom ecoomy folder..
#
transaction-prize-command: "cmi give %player% carrot %prize%"
server was reststarted
now instead of getting some carrots i get money aggain,,, like the Moneybox - that has a normal chest as item too....
So i Asume this is a bug..
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/LMBishop/MoneyPouch/issues/10, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADJ3UKLCKHATPAIWGTVUIZ3S2FBUFANCNFSM4WFCIAGA.
i designted a test item
the custom file i called karottenkiste,yml and putted it into the new custom ecoomy folder..
little side issue: (in the example yml it sais %amount% in the command %prize% ... so one seems to be wrong here)
server was reststarted
now instead of getting some carrots i got money,, like the Moneybox - that has a normal chest as item too....
So i Asume this is a bug.. or the whole new feature does not work...?