|
| 1 | +# OverwatchLogger |
| 2 | +[](https://www.donationalerts.com/r/asmrmilo21) |
| 3 | +[](https://github.com/NOTIF-API/OverwatchLogger/releases) |
| 4 | + |
| 5 | +# What to do when errors are detected |
| 6 | +**If you suddenly find an error or a flaw that needs to be corrected. If you see that the plugin is missing something, you can submit a suggestion about what could be added**. |
| 7 | +1. You can contact me via [Issues](https://github.com/NOTIF-API/OverwatchLogger/issues). |
| 8 | +2. You can contact me via Discord under the name `notifapi` or `NOTIF` if you are looking for connections through servers with SCP or Exiled. |
| 9 | + |
| 10 | +# Configs |
| 11 | +```yaml |
| 12 | +# Will the plugin be enabled? |
| 13 | +is_enabled: true |
| 14 | +# Will debug messages be visible? |
| 15 | +debug: true |
| 16 | +# Webhook link for sending messages |
| 17 | +weeb_hook_url: '' |
| 18 | +# Overrides the webhook name (if left blank it uses the default one set in discord) |
| 19 | +weeb_hook_name: '' |
| 20 | +# Overrides the webhook avatar (if left blank it uses the default one set in discord) |
| 21 | +weeb_hook_avatar_url: '' |
| 22 | +# When the admin turns on the overmatch (any player who has been given this role) |
| 23 | +enter_message: 'Staff %player% entered to overwatch mode.' |
| 24 | +# When the admin turns off the overmatch (any player who was given this role) |
| 25 | +exit_message: 'Staff %player% exited from overwatch mode.' |
| 26 | +# Top message, displayed for the total (1 line) |
| 27 | +round_end_summary: 'Round ended. Staff''s who used overwatch' |
| 28 | +# Message constructor for each player who turned on overmatch in the round |
| 29 | +staff_summary: '[%player%] used overwatch %hours% %minutes% %seconds%' |
| 30 | +# message replacement for %hours%, where %h% is the total number of hours (if = 0 then the message will not be output) |
| 31 | +hhours: '%h% hours' |
| 32 | +# message replacement for %minutes%, where %m% is the total number of minutes (if = 0 then the message will not appear) |
| 33 | +mminutes: '%m% minutes' |
| 34 | +# message replacement for %seconds%, where %s% is the final number of seconds (if = 0 then the message will not be output) |
| 35 | +sseconds: '%s% seconds' |
| 36 | +``` |
| 37 | +
|
| 38 | +## How edit |
| 39 | +**Attention in standard configs all places where the words listed below were mentioned for rearrangement can be used only in the same places but in a different order, do not use words where they were not intended to be used!** |
| 40 | +| effect_line | description | |
| 41 | +| ------------ | ----- | |
| 42 | +| %player% | Replace to player display nickname | |
| 43 | +| %s% | Number of seconds | |
| 44 | +| %m% | Number of minuts | |
| 45 | +| %h% | Number of hours | |
| 46 | +| %hours% | Replaced by hhours line | |
| 47 | +| %minutes% | Replaced by mminutes line | |
| 48 | +| %seconds% | Replaced by sseconds line | |
0 commit comments