Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you help me please!? #17

Closed
ghost opened this issue Apr 13, 2019 · 3 comments
Closed

Can you help me please!? #17

ghost opened this issue Apr 13, 2019 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 13, 2019

If i type /enchantui i will be kicked!
Console Error:
[Server thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "plugins/EnchantUI.phar/src/UnknownOre/EnchantUI/Main" at line 79

@UnknownOre
Copy link
Owner

can you show me your config file?

@ghost
Copy link
Author

ghost commented Apr 14, 2019

Of Course: (its default config)

#Don't Change this
version: "0.5"

#send EnchantUI to the player when he interacts with the Enchanting-table
enchanting-table: true

#EnchantUI version 0.5
Title: "§cEnchantment Shop"
Button: "§3{NAME} §a{PRICE}$"
slider-title: "§5Level"
messages:
thanks: "§athank you for using Enchantment Shop"
label: "§eYou will pay {PRICE}$ per level"
not-enough-money: "§cyou don't have enough money!"
paid-success: "§aYou bought {NAME} level {LEVEL} for {PRICE}$"
hold-item: "§cPlease hold an item that can be enchanted"
no-perm: "§cYou don't have permission to use this command"
incompatible-enchantment:

#WARNING: Use only Enchantment ID at incompatible-enchantments example [1,10,13]
shop:

  • name: "Fire Protection"
    enchantment: fire_protection
    price: 100
    max-level: 2
    incompatible-enchantments: []
  • name: "Protection"
    enchantment: 1
    price: 100
    max-level: 3
    incompatible-enchantments: []
    ...

@UnknownOre
Copy link
Owner

i can't reproduce this issue i'll close it for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant