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

"Unable to get blocked-strings" when using multiple filter strings #56

Open
Skapes7 opened this issue Nov 11, 2023 · 1 comment
Open

Comments

@Skapes7
Copy link

Skapes7 commented Nov 11, 2023

When using paper-plugin build 3.0.6 with paper-server build 280 for 1.20.2, I get the following error.

[19:16:04] [Server thread/INFO]: [LogFilter] Loading server plugin LogFilter v3.0.6
[19:16:04] [Server thread/INFO]: [LogFilter] Loading filter
[19:16:04] [Server thread/ERROR]: [LogFilter] Unable to get blocked-strings

This issue is not present in bukkit-plugin build 3.0.5 (paper-plugin build 3.0.5 has separate solved issue), and using a single string has correct functionality in 3.0.6

Config used for both builds:

# Sets the strings to be blocked
blocked-strings=[
    "logged in with entity",
    "/msg"
]

# Sets whether a regex detection will be performed.
# If this option is set to false it will check
# if the console messages contain any string
# specified in blocked-strings, otherwise
# it will do regex checks according to
# blocked-strings to each console message.
use-regex=false

edit: clarification of bukkit/paper build

@4drian3d
Copy link
Owner

Use the bukkit version for the moment, this bug is originated because Paper updated to a development version of the configuration library that I use in several of my plugins, probably the problem will be solved in the next Paper build, but for the moment use the bukkit version

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

No branches or pull requests

2 participants