-
Notifications
You must be signed in to change notification settings - Fork 0
/
settingtypes.txt
30 lines (25 loc) · 1.44 KB
/
settingtypes.txt
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
# Changes how users from blocked IPs are handled:
# creation - Blocks users from banned IPs from creating accounts
# kick - Kicks any users that connect from a blacklist IP address
# activation - Requires all new users to login at least once from a non-blacklist IP
# none - Do nothing, let other mods handle it
# Note: "creation" is not recommanded as it blocks other server activity
block_vps_type (User block method) enum activation creation,kick,activation,none
# List of APIs for checking IP addresses against.
# Listed in the order of preference.
block_vps_datasources (Data sources) string iphub, iphub_legacy, nastyhosts
# Contact email, needed by some APIs used as data sources.
block_vps_email (Contact email) string [email protected]
# How long IP lookups are cached in memory (in-seconds).
# May be overriden by certain datasources.
block_vps_cache_time (Lookup cache time) int 30000
# How many datasources/APIs should the mod attempt to lookup before aborting.
# Higher values increase the chance of an IP being looked up even if some of the APIs fail
# but they also increase server load.
block_vps_max_try (Retry count) int 3
[APIs]
[*IP Hub]
# API key, create an account or login (https://iphub.info/login)
# then activate the free key (https://iphub.info/subscription/new
# see your email or https://iphub.info/account for the key.
iphub_api_key (API key) string YOUR_API_KEY_HERE