Removed words still being filteredFixed

I edited the .json file.

bran

I edited the .json file.

Did you edit it while the plugin was unloaded?
tSygwdbuaawan24.jpg Wulf

How did you remove the word? I removed using the provided commands and it was no longer being filtered. Can't really fix what seems to work just fine.

I edited oxide\data\UFilter.json

I removed the words I don't want filtered.

It was still filtering them.

I then edited the .cs and removed the words I didn't want. This worked but what's the point of the .json file if it's not read?

Thanks.

P2GtVCskuOnKiN5.jpg Wulf
Did you edit it while the plugin was unloaded?

The json file was edited before the plugin was loaded.

bran

I edited oxide\data\UFilter.json

I removed the words I don't want filtered.

It was still filtering them.

I then edited the .cs and removed the words I didn't want. This worked but what's the point of the .json file if it's not read?

Thanks.

Did you edit the data file while the plugin was unloaded or not? Editing while it is loading will not work, as Oxide stores plugin data in memory and will write to file when saved. That data file is only loaded when the plugin loads.
eP2RgkqsRa3s1Rb.jpg Wulf
Did you edit the data file while the plugin was unloaded or not? Editing while it is loading will not work, as Oxide stores plugin data in memory and will write to file when saved. That data file is only loaded when the plugin loads.
Procedure:
  1. I deleted existing Ufilter.cs
  2. I edited data/Ufilter.json and removed words I did not want to filter
  3. I installed the latest Ufilter.cs
  4. I typed a word in game that is not in data/Ufilter.json file. The word is blocked (my config action is set to block).
  5. I have tried reloading Ufilter.cs. Same thing happens, words that are not in data/Ufilter.json are blocked.
I hope this helps and thank you.

I'm just going to remove the default list from it, as it doesn't really need to be in there and had intended to (and do) with the re-write of it.

Thanks it is working now as expected.

Locked automatically