Skip to content
This repository has been archived by the owner on Jun 21, 2020. It is now read-only.
/ TextChat Public archive
forked from EliteSCP/TextChat

An in-game TextChat plugin for SCP:SL

Notifications You must be signed in to change notification settings

AruMoon/TextChat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TextChat

An in-game TextChat plugin for SCP:SL.

Minimum requirements

EXILED 1.9.8+

LiteDB 5.0.5+

How to install

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.

How to use it

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.

How to submit a new language

First method

  • Fork my repository.
  • Copy Localizations\Language.resx into the Localization folder and rename it to Localizations\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.

Player Commands

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

Administrator Commands

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

Configs

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.

List of available languages

Name Config Value
English en
Italian it
Portuguese pt
Korean ko
German de

List of available colors

Name
yellow
green
cyan
red
magenta
black
white
blue
grey

About

An in-game TextChat plugin for SCP:SL

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%