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

Updating block list in config, using of material tags #57

Open
RedstoneFuture opened this issue Feb 13, 2024 · 1 comment
Open

Updating block list in config, using of material tags #57

RedstoneFuture opened this issue Feb 13, 2024 · 1 comment

Comments

@RedstoneFuture
Copy link
Contributor

RedstoneFuture commented Feb 13, 2024

Is there support for material tags (vanilla or paper)?
If not, can this be allowed so that the block lists (safe-blocks and unsafe-blocks) of the config.yml can be updated more easily?

Plugin Version

2.0-SNAPSHOT (build 103)

Config

Tested with the default config.

Environment description

PaperMC 1.20.4

Full Log

[05:01:16] [Server thread/WARN]: [RandomTeleport] Error in unsafe blocks config! No material found with name sign
[05:01:16] [Server thread/WARN]: [RandomTeleport] Error in unsafe blocks config! No material found with name wall_sign

What other programs/plugins are you running?

What is happening?

The plugin issues an error message due to the inactive default config. However, it is still being loaded afterwards.

What did you expect to happen?

Additional context

Of course, I can now enter any sign material separately in the config. But the support of material tags would be very useful for future configurations.

@Phoenix616
Copy link
Owner

Phoenix616 commented Feb 13, 2024

The plugin just uses Material#matchMaterial right now so no tags. Adding that is a nice idea though and could definitely be useful.

@Phoenix616 Phoenix616 added this to the 2.0 rewrite milestone Feb 13, 2024
@Phoenix616 Phoenix616 added this to To do in 2.0 rewrite via automation Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
2.0 rewrite
  
To do
Development

No branches or pull requests

2 participants