Updated documentation for blacklist.txt

This commit is contained in:
Intelli 2024-01-04 18:09:20 -07:00
parent 7c61a33571
commit 4308d4afca

View File

@ -18,15 +18,18 @@ Secondary configuration files override the value specified in config.yml. If you
## Disabling Logging ## Disabling Logging
To disable logging for specific users or commands, simply do the following: To disable logging for specific users, blocks or commands, simply do the following:
1. In the CoreProtect plugin directory, create a file named `blacklist.txt`. 1. In the CoreProtect plugin directory, create a file named `blacklist.txt`.
2. Enter the names of the users (or commands) you'd like to disable logging for (each username on a new line). 2. Enter the names of the users (or commands) you'd like to disable logging for (each username on a new line).
3. Either restart your server, or type "/co reload" in-game. 3. Either restart your server, or type "/co reload" in-game.
This can be used to disable logging for non-player users, such as "#tnt". For example, if you'd like to disable logging for the user "Notch", TNT explosions, and the "/help" command, the blacklist.txt file would look like this: This can be used to disable logging for non-player users, such as "#creeper". For example, if you'd like to disable logging for the user "Notch", TNT explosions, stone blocks, and the "/help" command, the blacklist.txt file would look like this:
```text ```text
Notch Notch
#tnt #tnt
/help /help
minecraft:stone
``` ```
*Please note that to disable logging for blocks, you must include the namespace. For example, to disable logging for dirt, you must add it as "minecraft:dirt".*