RediSkript/src/main/resources/config.yml

29 lines
1.4 KiB
YAML
Raw Normal View History

2020-05-10 06:52:06 +00:00
Redis:
#a secure password that cannot be cracked, please change it!
#it is also recommended to firewall your redis server with iptables so it can only be accessed by specific IP addresses
Password: "yHy0d2zdBlRmaSPj3CiBwEv5V3XxBTLTrCsGW7ntBnzhfxPxXJS6Q1aTtR6DSfAtCZr2VxWnsungXHTcF94a4bsWEpGAvjL9XMU"
2020-05-10 06:52:06 +00:00
Host: "127.0.0.1"
#must be 2 or higher, if you set to lower, the addon will automatically use 2 as a minimum
MaxConnections: 2
#the default Redis port
2020-05-10 06:52:06 +00:00
Port: 6379
#time out in milliseconds, how long it should take before it decides that it is unable to connect when sending a message
2021-01-26 08:51:31 +00:00
#9000 = 9 seconds
TimeOut: 9000
#also known as SSL, only use this if you're running Redis 6.0.6 or higher, older versions will not work correctly
#it encrypts your traffic and makes data exchange between distant servers completely secure
useTLS: false
#may be useful if you cannot use TLS due to use of older version of Redis
#however this will not encrypt the initial authentication password, only the messages sent
#it uses AES-128 SIV encryption which is secure enough for this
2020-10-18 14:07:37 +00:00
EncryptMessages: true
2020-05-27 11:43:16 +00:00
EncryptionKey: "16CHARACTERS KEY"
2020-06-08 13:53:23 +00:00
MacKey: "16CHARACTERS KEY"
2020-05-10 06:52:06 +00:00
#the channels from which this server can receive messages
#you can always send messages to all channels!
#you can add as many channels as you wish!
2020-05-10 06:52:06 +00:00
Channels:
- "Channel1"
- "Channel2"
2020-10-18 14:07:37 +00:00
- "Channel3"