Open Shepelzz opened 7 months ago
Here is how my config looks like:
# for details on configuration, see https://github.com/MinecraftWars/Gringotts/blob/master/doc/configuration.md
# supported languages: "custom" (default, english), "de" (german), "fr" (french), and "pt-BR" (brazilian portuguese).
language: custom
# regex that create a vault if matches with a sign
# subpattern 1 denotes the type of the vault.
vault_pattern: '[^\[]*\[(\w*) ?vault\]'
# If this is set to true, when the user receives an amount of money
# exceeding the inventory capacity, drop items that didn't fit.
drop-overflowing-item: false
# currency name and value config
currency:
# currency name to use in messages
name:
singular: Монета
plural: Монет
# number of decimal digits supported by currency value (0 for whole numbers only)
digits: 0
# Display account balances with individual denomination names
named-denominations: false
# value of individual denominations. default: emerald: 1, emerald block: 9
denominations:
- material: copper_ingot
value: 1
unit-name: Медная монета
unit-name-plural: Медные монеты
displayname: '&6$ Медная монета $'
lore:
- '&7Номинал 1'
- '&7-=-Банк Beehive-=-'
- material: iron_ingot
value: 10
unit-name: Серебряная монета
unit-name-plural: Серебряные монеты
displayname: '&f$ Серебряная монета $'
lore:
- '&7Номинал 10'
- '&7-=-Банк Beehive-=-'
- material: gold_ingot
value: 100
unit-name: Золотая монета
unit-name-plural: Золотые монеты
displayname: '&e$ Золотая монета $'
# damage: 10
# custom_model_data: 1
lore:
- '&7Номинал 100'
- '&7-=-Банк Beehive-=-'
# tax on /money pay transactions
transactiontax:
flat: 0.0
rate: 0.0
# balance to start an account with (purely virtual)
startingbalance:
player: 0
# globally (dis)allow use of vault types
usevault:
container: true
enderchest: true
# if true, denomination items located in shulker boxes, in the above enabled inventories, will be included to the denomination finding process
include-shulker-boxes: true
# whether money/balance commands show vault and inventory balance separately
balance:
show-vault: true
show-inventory: true
show-enderchest: true
Can not reproduce this by some specific steps.. but this guy tried to withdraw his money and got NPE. Money was withdrawed but not received by user. Sometimes this happened when user tries to selkl smth to shop, but shops vault is empty. Gringotts throws NPE and shop plugin got stucked.
Also it would better to add mysql support for logging.