FUBS Random Teleport

FUBS Random Teleport

9.5k Downloads

Updating block list in config, using of material tags

RedstoneFuture opened this issue ยท 1 comments

commented

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.

commented

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