fix whitelist

This commit is contained in:
Rémi Heredero 2024-05-16 10:29:41 +02:00
parent 773987ed95
commit 62a9d31703
3 changed files with 29 additions and 4 deletions

View File

@ -64,7 +64,7 @@ services:
- ./mc/mods:/mods:ro
- ./mc/icon.png:/icon.png
- ./mc/whitelist.json:/whitelist.json
- ./mc/mc2discord.toml:/data/config/mc2discord.toml
#- ./mc/mc2discord.toml:/data/config/mc2discord.toml
depends_on:
- lazytainer
network_mode: service:lazytainer

View File

@ -95,7 +95,7 @@ lang = "en_us"
# Format to rename Discord members in ("player", "member" and "global" variables are available)
discord_pseudo_format = "${member_name} (IG: ${player_name})"
# If true, players will be asked to link their account before joining the server (whitelist)
force_link = true
force_link = false
# Content of messages related to account linking
# "global" variables may be used in any field
@ -152,7 +152,7 @@ lang = "en_us"
# Presence configuration
[Style.Presence]
# Message to display under the bot in the member list on Discord ("global" variables are available)
message = "${online_players} / ${max_players} players"
message = "${online_players} players are online"
# The type of presence (PLAYING, STREAMING, LISTENING, WATCHING, COMPETING or CUSTOM)
type = "PLAYING"
# Delay between to update of the channel (in seconds, any value below 610 may cause issues)

View File

@ -1 +1,26 @@
[]
[
{
"uuid": "c8491b89-6bd9-48b9-9fcc-8c78d8025984",
"name": "Klagarge"
},
{
"uuid": "d4945f1b-90de-4296-8f83-c4c7088d654a",
"name": "Robibobo1"
},
{
"uuid": "a62e3fc2-24bb-456d-a733-21c2415f4ceb",
"name": "Terrazed"
},
{
"uuid": "57b19806-04dc-4faf-8e0f-547ef953df0d",
"name": "LordBaryhobal"
},
{
"uuid": "76281784-b877-4969-8eca-a35e428e8cea",
"name": "Ranium21"
},
{
"uuid": "3e828bde-20b5-4956-84d4-6b87c1132298",
"name": "Ranium"
}
]