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

Setting for forbidden items #20

Closed
AlexanderRitter02 opened this issue Jun 5, 2020 · 0 comments
Closed

Setting for forbidden items #20

AlexanderRitter02 opened this issue Jun 5, 2020 · 0 comments
Labels
config.yml Everything about configuration files Enhancement Suggest a new feature or change
Milestone

Comments

@AlexanderRitter02
Copy link
Owner

AlexanderRitter02 commented Jun 5, 2020

Is your request related to a problem?
Disallowed items like for example enchanted golden apples are hard-coded, meaning they can only be changed by compiling the plugin yourself.

The suggestion
An option in config.yml where you can specify a list of forbidden items.
The name of the items corresponds to the standar Bukkit Material and item durability should just be a number behind the name.

disallowed-items:
  - GOLDEN_APPLE 1
  - HOPPER_MINECART
  - EYE_OF_ENDER

Potions are going to be implemented as a seperate option, as they work differently

Alternatives
An ingame command to add the items. Sounds like too much effort.

@AlexanderRitter02 AlexanderRitter02 added Enhancement Suggest a new feature or change config.yml Everything about configuration files labels Jun 5, 2020
@AlexanderRitter02 AlexanderRitter02 changed the title Einstellung für nicht erlaubte Items Setting for forbidden items Jun 8, 2020
@AlexanderRitter02 AlexanderRitter02 added this to the 2.2 milestone Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config.yml Everything about configuration files Enhancement Suggest a new feature or change
Projects
None yet
Development

No branches or pull requests

1 participant