An in-game TextChat plugin for SCP:SL.
EXILED 1.9.8+
LiteDB 5.0.5+
Put TextChat.dll inside %appdata%\Plugins
if you're on Windows or ~/.config/Plugins
on Linux.
Put EXILED_Permissions.dll inside %appdata%\Plugins
if you're on Windows or ~/.config/Plugins
on Linux.
Put LiteDB.dll inside %appdata%\Plugins\dependencies
folder if you're using Windows or ~/.config/Plugins/dependencies
if you're on Linux.
Press ò or ` on your keyboard to open the in-game console, with that, you'll be able to execute commands to chat with other players.
First method
- Fork my repository.
- Copy
Localizations\Language.resx
into theLocalization
folder and rename it toLocalizations\Language.XX.resx
where XX are the language code letters. - For example: I want to add the french language into the game, then I'll have to rename the file to
Language.fr.resx
. - Translate the file with any text editor or C# IDE and push it into your forked repository.
- Open a pull request on my repository with the language you added, if everything is correct, I'll accept it and add it into the plugin.
Second method
- Download Language.resx, translate it in your language and send it to me on Discord: iopietro#1717, if everything is correct, I'll add it into te plugin.
Command | Description | Arguments | Example |
---|---|---|---|
.chat | Sends a chat message to everyone in the server. | [Message] | .chat Hi all! |
.chat_team | Sends a chat message to your team. | [Message] | .chat_team I love being SCP! |
.chat_private | Sends a private chat message to a player. | [Nickname/UserID/PlayerID] [Message] | .chat_private iopietro Hello! |
.help | Gets the list of commands or the description of a single command. | [Command Name (optional)] | .help/.help chat_team |
Command | Description | Arguments | Permission | Example |
---|---|---|---|---|
chat_mute | Mutes a player from the chat. | [Nickname/UserID/PlayerID] [Duration (Minutes)] [Reason] | tc.mute | chat_mute iopietro 600 Spamming |
chat_unmute | Unmutes a player from the chat. | [Nickname/UserID/PlayerID] | tc.unmute | chat_unmute iopietro |
chat_show_mutes | Shows all mutes stored in the database or mutes of a specific player. | None/[Nickname/UserID/PlayerID] | tc.showmutes | chat_show_mutes/chat_show_mutes iopietro |
chat_delete_mutes | Deletes all mutes stored in the database or mutes of a specific player. | None/[Nickname/UserID/PlayerID] | tc.deletemutes | chat_delete_mutes/chat_delete_mutes iopietro |
Name | Type | Default Value | Description |
---|---|---|---|
tc_enabled | Boolean | True | Enable/Disable the plugin. |
tc_language | String | en | The language of the plugin. |
tc_database_name | String | TextChat | The name of the Database. |
tc_general_chat_color | String | cyan | The color of the general chat. |
tc_private_message_color | String | magenta | The color of private messages. |
tc_max_message_length | Integer | 75 | The maximum length of a message. |
tc_censor_bad_words | Boolean | False | If enabled, every message will be censored, by picking words from the bad words list. |
tc_censor_bad_words_char | Char | * | The character used to censor messages. |
tc_bad_words | String List | Empty | The list of words that will be censored in every message. |
tc_save_chat_to_database | Boolean | True | If enabled, every message sent by players, will be saved into the database. |
tc_can_spectator_send_messages_to_alive | Boolean | False | If enabled, spectators will be able to send messages to alive players. |
tc_show_chat_muted_broadcast | Boolean | True | If enabled, a broadcast will alert the muted player. |
tc_chat_muted_broadcast_duration | Unsigned Integer | 10 | The duration of the muted broadcast. |
tc_chat_muted_broadcast | String | You have been muted from the chat for {0} minutes, reason: {1} | The broadcast message that will be shown to the muted player ({0} and {1} are placeholders for the duration and the reasion of the mute). |
tc_show_private_message_notification_broadcast | Boolean | False | If enabled, a broadcast is shown to players that receive private messages. |
tc_private_message_notification_broadcast_duration | Unsigned Integer | 6 | The duration of the private message notification broadcast. |
tc_private_message_notification_broadcast | String | You received a private message! | The broadcast message that will be shown to the notified player. |
tc_is_slow_mode_enabled | Boolean | True | If enabled, a player will be able to send another message, only after a certain amount of time. |
tc_slow_mode_interval | Float | 0.75 | The number of seconds that will have to pass before a player can send another message. |
Name | Config Value |
---|---|
English | en |
Italian | it |
Portuguese | pt |
Korean | ko |
German | de |
Name |
---|
yellow |
green |
cyan |
red |
magenta |
black |
white |
blue |
grey |