Gringotts

Gringotts

53.6k Downloads

Allow Emerald With Different Names

quiquelhappy opened this issue · 13 comments

commented

Hi.
I want that gringotts actually count the emerald item with the name "&a&l$ Emerald" and with the lore "&ewww.guardianmc.net", only normal emeralds are counted.

commented

Have you configured it as described in the config instructions? Please check if your config is correct, and paste it verbatim if you can't figure it out.

commented
# for details on configuration, see https://github.com/MinecraftWars/Gringotts/blob/master/doc/configuration.md

# supported languages: "custom" (default, english) and "de" (german)
language: custom

# currency name and value config
currency:
  # currency name to use in messages
  name:
    singular: Emerald
    plural: Emeralds

  # number of decimal digits supported by currency value (0 for whole numbers only)
  digits: 2

  # Display account balances with individual denomination names
  named-denominations: false

  # value of individual denominations. default: emerald: 1, emerald block: 9
  denominations:
    - material: emerald
      value: 1
      displayname: '&a&l1$ Emerald'
      lore: '&6www.guardianmc.net'
    - material: emerald_block
      displayname: '&a&l9$ Emerald'
      lore: '&6www.guardianmc.net'
      value: 9

# tax on /money pay transactions
transactiontax:
  flat: 0.0
  rate: 0.0

# balance to start an account with (purely virtual)
startingbalance:
  player: 0
  faction: 0
  town: 0
  nation: 0

# globally (dis)allow use of vault types
usevault:
  container: true
  enderchest: true

# whether money/balance commands show vault and inventory balance separately
balance:
  show-vault: true
  show-inventory: true

commented

I also used &a&l9$ Emerald instead of '&a&l9$ Emerald', but it's happening the same

commented

have you tried § instead of &?

commented

The config works for me. Are you using the current version of Gringotts? 2.8 or 2.9

commented

no, it isn't for me! I'm ussing 2.8.

Can you send me a config and a jar file so I can try them? please

commented

Are you sure you don't have a second, older Gringotts jar in your plugins dir?

commented
commented

Then please try setting up a basic installation with only Gringotts and your config, see if that works.

commented

The plugin is detecting emeralds with default names, so the plugin is working, but when I use the config a sent, it actually doesn't detect the named emeralds

commented

I understand, but the config you sent works as intended for me, so I assume
there is something else wrong with your setup. All I can think of right now
is trying the above.

On Sun, May 8, 2016 at 2:06 PM QUIQUELHAPPY [email protected]
wrote:

The plugin is detecting emeralds with default names, so the plugin is
working, but when I use the config a sent, it actually doesn't detect the
named emeralds


You are receiving this because you commented.

Reply to this email directly or view it on GitHub
#147 (comment)

commented

ups, It was a very stupid fail. The emerald is $1 Emerald instead of 1$ Emerald,
I'm very sorry :(! Nice plugin

commented

Glad it works!