Skip to main content

Server Configuration

If you are a server admin, here is all the information you need to configure the Clearcheck mod!

note

This covers only serverside files and options.

Clearcheck files

Clearcheck adds files to modfiy the functionality of the mod.

info

If you do not see any files, you need to start the server with the mod installed.

clearcheck_data.json

Here are the most important settings:

lastLoginPlayerBannedModifications (not modifiable)

This shows the latest attempts by players to join the game with banned assets, which were rejected.
This wont clear until you manually inspect it and delete it. This is recored for trying to catch evaders and cheaters.

notAllowedContent (🖊️ modifiable)

Here, you can type in banned keywords or full mod names
Example:

"notAllowedContent": [
"xray"
]

Will ban any mod or texture pack file that contains "xray" in its content and is not whitelisted.

whitelistContent (🖊️ modifiable)

Will be whitelisted.

lastLoginPlayerHistory (not modifiable)

Shows last login info about player.

lastLoginPlayerModsAndPacks (not modifiable)

Shows last mods and packs recorded on last player login. Overrides every time player logs in

player_signatures.json

Contains all of the player signatures of the tokens. Server does not store any tokens, only clients do. On each join, it is hashed and compared to what the player sends using server secret.

warning

Do not share with others, modify or delete signatures unless you know what you are doing!
Server will effectivly forget the player and may reject them, or use the players token to generate new signature, this depends on your config setting.

Resetting token for player

If a player lost, leaked their clientside token, after confirming the player posseses the account, you can delete their signature, this will lead to new token generating on another join. The old token will be invalid.

server_secret.dat

It is a string that is used for the callculation and validation of the tokens. It randomly and securly generates on first start. Recommended to never open and change.

danger

Do not modify or delete this String. All tokens and signatures depend on this!

Clearcheck configs

Clearcheck has multiple configs values. They are explained in the comment in the clearcheck-server.toml