forked from Elikill58/Negativity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bungee_config.yml
141 lines (136 loc) · 4.52 KB
/
bungee_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
###################################################################
# #
# Negativity #
# AntiCheat by Elikill58 #
# #
# If you have a problem or a suggestion, #
# You can contact me on: #
# - Discord: @Elikill58#0743 #
# - my Discord server: https://discord.gg/KHRVTX2 #
# - Mail: [email protected] #
# - SpigotMC: Elikill58 #
# - Minecraft.fr: Elikill #
# #
###################################################################
# Database for storing info, if applicable
# Disabled by default
Database:
# Enable database
isActive: false
# Info is stored by player ID, not username.
# This plugin doesn't edit the database.
# The database credentials and IP are never accessable by us.
url: "127.0.0.1/myDb"
user: "root"
password: "myPassword"
# Configuration of the permissions subsystem. For more information
# see https://github.com/Elikill58/Negativity/wiki/Permissions
Permissions:
# The checker is used to see if a player has the correct permissions
# By default only 'platform' is available
# 'platform' means Negativity will use supported permissions plugins
checker: platform
showAlert:
# Allow viewing sent alerts
default: "negativity.alert"
admin:
# Admin permissions
default: "negativity.admin"
showReport:
# See reports sent with /report
default: "negativity.seereport"
notBanned:
# Bypass bans
default: "negativity.notbanned"
Translation:
active: false # enable or disable per-player translation with /nlang
lang_available:
- ar_EG
- cs_CZ
- de_DE
- en_GB
- en_US
- es_ES
- fr_FR
- hu_HU
- it_IT
- nl_NL
- no_NO
- pl_PL
- pt_BR
- ro_RO
- ru_RU
- sq_SQ
- sv_SV
- th_TH
- vi_VN
- zh_CN
- zh_TW
# Default language for players
default: en_US
# The provider used to get translated messages, useful if you want to customize the way Negativity gets its messages.
# The only one available out-of-the-box is "platform".
provider: platform
# Configuration of the bans subsystem. For more information
# see https://github.com/Elikill58/Negativity/wiki/Bans
ban:
active: false
# Processors manage how bans are stored. Only one processor can be used at the time.
# Available processors :
# - file : Save bans in a folder
# - database : Saves bans in a database. Needs a configured database (see the Database config)
# - command : Runs another plugin's commands to ban or unban
#
# The following plugins are also supported :
# - dkbans
# - advancedban
# - litebans
# Defaults to "file"
processor: "file"
# Commands to execute when using the "command" processor
# You can execute as many commands as you want. Order is respected.
#
# Available placeholders:
# %uuid% : uuid of banned player
# %name% : name of banned player
# %ip% : ip of the banned player
# %reason% : detected cheat
# %alert% : number of alerts for the detected cheat that triggered the ban
# %all_alert% : all alerts for the detected cheat since you added Negativity on your server
command:
ban:
- "ban %uuid% %reason%"
unban:
- "unban %uuid% %reason%"
# Cheats that aren't auto-banned for
cheat_disabled:
- xray
# Confidence needed to be banned
reliability_need: 95
# Alerts sent before ban
alert_need: 10
# Formula for the length of the ban
# IN MILLISECONDES
time:
# %reliability% : reliability of last alert
# %alert% : number of alerts sent
calculator: "360000000 + (%reliability% * 20 * %alert%)"
def:
# Minimum ban time
ban_time: 2
file:
# Log expired or revoked bans when using the "file" processor
log_bans: true
database:
# Log expired or revoked bans when using the "database" processor
log_bans: true
# Configure player specific info, like their language and alerts count.
accounts:
storage:
# The processor to use
# (Only used for loading account's data, saving must be handled by Negativity on the game server)
#
# The following are available out-of-the-box:
# - database : uses a database (Set above)
# Defaults to "database"
id: "database"