mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-11-06 09:29:54 +01:00
1.6 KiB
1.6 KiB
Configuration
The CoreProtect configuration file can be found within the CoreProtect folder, at config.yml
.
Per-World Configuration
If you'd like to modify the logging settings for a specific world, simply do the following:
- Copy the config.yml file to the name of the world (e.g. world_nether.yml)
- In the new file, modify the logging settings as desired.
- Either restart your server, or type "/co reload" in-game.
Secondary configuration files override the value specified in config.yml. If you leave an option out of a secondary configuration file, then the option specified in config.yml will be used.
Examples
- If you'd like to disable all logging for the End, copy the
config.yml
file toworld_the_end.yml
(matching the folder name for the world). Then, simply disable all logging options within the new file. - If you just want to disable entity death logging in the Nether, but keep all other logging options the same, simply create a file named
world_nether.yml
containing the text "rollback-entities: false".
Disabling Logging
To disable logging for specific users or commands, simply do the following:
- In the CoreProtect plugin directory, create a file named
blacklist.txt
. - Enter the names of the users (or commands) you'd like to disable logging for (each username on a new line).
- 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" and for TNT explosions, the blacklist.txt file would look like this:
Notch
#tnt