Skip to content

Commit

Permalink
Updated documentation for blacklist.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelli committed Jan 5, 2024
1 parent 7c61a33 commit 4308d4a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ Secondary configuration files override the value specified in config.yml. If you

## 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`.
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.

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
Notch
#tnt
/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".*

0 comments on commit 4308d4a

Please sign in to comment.