Name |
Default |
Description |
lanuage |
English |
Here you can define the language you want to use. Currently supported are English and German, translations are welcome! |
welcome-message |
true |
If set to true, a welcome-message will be displayed to a joining player, displaying his current violation-level. |
broadcast-warning |
false |
If set to true, a message will be broadcasted on the whole server including, who received a warning and why. |
join-prevent |
true |
If set to true, all users with a warning-level higher than prevent-level will not be able to join your server. |
prevent-level |
10 |
The warning-level, after which the players are not able to join your server anymore. joinprevent has to be set to true. |
run-command |
true |
If set to true, the command specified under 'command' will be ran if the player exceeds the warnings-level defined under 'command-level' |
command |
jail [PLAYER] r:"You got a warning-level of at least 5" |
The command that is executed when the player exceeds the warning-level |
command-level |
5 |
After which violation-level the player is affected by the command |
run-timeout-command |
true |
If set to true, another command is executed, when warning-level drops below the command-level again |
timeout-command |
unjail [PLAYER] |
The command to be executed upon the warning-level dropping below the command-level |
timeout |
96 |
A warning will be disabled after some time. After how long this will happen is controlled by you. The default-value is 96 hours. That means, that a warning with warning-level 1 will time out after 96 hours. The timeout-value is multiplied by the violation-level, that means, worse things stay longer active! :D |
backend |
file |
Here you can set, where your warnings will be saved. Valid inputs are file and sql. If you enter no valid backend, file will be used. If you want to use SQL, you have to set up an SQL-Server and have to configure it in the SQL-section. |
sql |
none |
Here you have to enter the login-credentials for your SQL-Server. If you enter the wrong credentials, the plugin will tell you |
violations |
catalogue |
Here you can create your own violation-catalogue with texts and violation-levels. The advantage of this method is, that you don't have to write the same warn-reason over and over again. |
Comments