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

Option to change worldBlacklist into a whitelist #433

Open
simondumalski opened this issue Aug 5, 2024 · 0 comments
Open

Option to change worldBlacklist into a whitelist #433

simondumalski opened this issue Aug 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@simondumalski
Copy link

Is your feature request related to a problem? Please describe.
I only want shops to be enabled in one world. Every time I create a new world, I have to go to the config and add the new world to the blacklist.

Describe the solution you'd like
I would like a config option to toggle the worldBlacklist into a whitelist, meaning that worlds listed will be the only worlds where shops can be created

Describe alternatives you've considered
No alternative available to my knowledge

Additional context

# Add the names of worlds that you do not want shops to be able to be created in here #
worldBlacklist:
- 'resource_world'
- 'spawn'

Add an option to the config area called "blacklist-is-whitelist" or something similar, and make it just a boolean.
If true, the worldBlacklist is now a whitelist, false (default), it is a blacklist

@simondumalski simondumalski added the enhancement New feature or request label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant