Move greetings to exp_scenario and drop preset colours

The greeting reads the community name and Discord link from the new
community_details feature, which exp_legacy can not depend on, so it moves
to exp_scenario/control/greetings.lua along with its commands and
locale. The custom message still lives in PlayerData for now.

The hardcoded per-player join messages in config/join_messages.lua are
removed with their fallback, as are the preset player colours. Player
sync already restores the colour of returning players, so new players
keep the colour Factorio gives them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-10-14 22:10:22 +00:00
1 parent a6c453a88e
commit 4d3c4de5b1
15 files changed
+74 -159

No files matched your search

@@ -8,7 +8,5 @@ return {
--- Data
"modules.data.statistics",
"modules.data.player-colours",
"modules.data.greetings",
"modules.data.language",
}
@@ -1,8 +0,0 @@
return {
Cooldude2606 = "Lua lets you set metatables on numbers, did you know that? Cooldude2606 knows this.",
samy115 = "Tremble in fear as the banhammer is now here, its owner: samy115",
XenoCyber = '"Fire Fire Fire" oops wrong game, have no fear XenoCyber is here',
HunterOfGames = "Unable to support HunterOfGames. You must construct additional miners.",
ookl = 'ookl says: "Pineapples are amazing, hello everyone!"',
arty714 = "Arty\'s Potato made it!",
}
@@ -1,33 +0,0 @@
--- Preset colours that players get when they join the server, if not in the list then will be given a random colour (which isnt disallowed)
-- @config Preset-Player-Colours
return {
players = { --- @setting players list of all players and the colour in rgb256 that they will recive upon joining
PHIDIAS0303 = { r = 255, g = 255, b = 255 },
BADgamerNL = { r = 255, g = 20, b = 147 },
arty714 = { r = 150, g = 68, b = 161 },
Cooldude2606 = { r = 57, g = 192, b = 207 },
mark9064 = { r = 99, g = 0, b = 255 },
eissturm = { r = 25, g = 25, b = 112 },
Sakama = { r = 20, g = 213, b = 80 },
freek18 = { r = 50, g = 0, b = 255 },
aldldl = { r = 0, g = 131, b = 255 },
NAD4X4 = { r = 135, g = 206, b = 250 },
cydes = { r = 82, g = 249, b = 155 },
UUBlueFire = { r = 0, g = 204, b = 255 },
CmonMate497 = { r = 103, g = 224, b = 194 },
s4sh = { r = 255, g = 120, b = 0 },
ArPiiX = { r = 0, g = 255, b = 0 },
NextIdea = { r = 255, g = 255, b = 255 },
hamsterbryan = { r = 0, g = 255, b = 0 },
XenoCyber = { r = 0, g = 128, b = 255 },
},
disallow = { --- @setting disallow colours which will not given to players; the value does not matter it is only the key which is checked
black = { r = 0, g = 0, b = 0 },
white = { r = 255, g = 255, b = 255 },
success = { r = 0, g = 255, b = 0 },
warning = { r = 255, g = 255, b = 0 },
fail = { r = 255, g = 0, b = 0 },
info = { r = 255, g = 255, b = 255 },
},
}
@@ -1,11 +0,0 @@
--- Config file for the server detail
-- @config Server
return {
community_name = "Explosive Gaming",
discord = "https://discord.explosivegaming.nl",
website = "https://www.explosivegaming.nl",
status = "https://status.explosivegaming.nl",
github = "https://github.com/explosivegaming/ExpCluster",
patreon = "https://www.patreon.com/ExpGaming"
}