mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Chat history prototype (#10278)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
36231619db
commit
09bb0e61b3
@@ -712,3 +712,12 @@
|
||||
/// Controls whether simple mobs may recolour themselves once/spawn by giving them the recolour verb
|
||||
/// Admins may manually give them the verb even if disabled
|
||||
/datum/config_entry/flag/allow_simple_mob_recolor
|
||||
|
||||
/// Chatlogs are now saved by calling the chatlogging library instead of letting the clients handle it
|
||||
/// REQUIRES an database
|
||||
/datum/config_entry/flag/chatlog_database_backend
|
||||
default = FALSE
|
||||
|
||||
/// The endpoint for the chat to fetch the chatlogs from (for example, the last 2500 messages on init for the history)
|
||||
/// REQUIRES chatlog_database_backend to be enabled
|
||||
/datum/config_entry/string/chatlog_database_api_endpoint
|
||||
|
||||
@@ -16,7 +16,7 @@ SUBSYSTEM_DEF(inactivity)
|
||||
var/client/C = client_list[client_list.len]
|
||||
client_list.len--
|
||||
if(C.is_afk(CONFIG_GET(number/kick_inactive) MINUTES) && can_kick(C))
|
||||
to_chat_immediate(C, world.time, span_warning("You have been inactive for more than [CONFIG_GET(number/kick_inactive)] minute\s and have been disconnected."))
|
||||
to_chat_immediate(C, span_warning("You have been inactive for more than [CONFIG_GET(number/kick_inactive)] minute\s and have been disconnected."))
|
||||
|
||||
var/information
|
||||
if(C.mob)
|
||||
|
||||
Reference in New Issue
Block a user