
Config wipes itself on server start, thus doesn't filter messages (1.12.2)
ControlCoreAngel opened this issue ยท 3 comments
We recently picked up this mod to filter out Multicraft's "There are 0/84 players online:" message, but on working with the config, it appears to completely wipe strings from itself after the server is started (via stop/start and restart both). On startup, the mod displays in console: "0 message(s) to be filtered."
I'm specifically trying to filter the string "players online" (without the ", of course).
Am I inputting strings incorrectly, or is this just an odd error?
The config field expects a list of strings, so you need to surround players online with quotes, like "players online".
The config field expects a list of strings, so you need to surround players online with quotes, like "players online".
So, I've put quotes around the string like you told me to, however, the config once again wiped itself after the server was started. It saved properly, it just seems to be deleting strings from itself when the server is started. In console, it still gives the "0 message(s) to filter" message.
This is my config file prior to server starting:
Post-server start, it appears identical to the empty version of the config in my original post.
Let me know if I can give you any information at all that could help you. I don't know what's up, the mod gives me no errors.
EDIT: It also has appeared to have cloned a corrupted version of itself in our configs folder. It's not readable.