chatgod

last built 2 months ago
Build #38
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Euphrates
The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

ChatGod

Features:

  • Ban Global/Area/Group chat.
  • Players can put up advertisements on server with xp.
  • Log all the chat activity on a text file.
  • Ban unwanted words from your chat.
  • Mute players.

 

Permissions:

  • allow.global: Allows player to talk in global chat while it is banned.
  • allow.area: Allows player to talk in area chat while it is banned.
  • allow.group: Allows player to talk in group chat while it is banned.
  • ignore.badwords: Allows player to use banned words on chat.
  • mute.protect: Allows player to chat while muted.
  • ChatGod.Advert: Allows player to use the commands.
  • ChatGod.Mute: Allows player to use the commands.
  • ChatGod.Unmute: Allows player to use the commands.

 

How To Use:

  • You can ban chat types from configuration file.
  • You can add allowed advert colors from configuration file. You can find a list of colors down below.
  • Add banned words to BannedWords.txt file as new lines.
  • Players can see all the allowed colors with [/<advert | ad | newad | advertise> <colors>] command.

 

Syntax:

  • /<advert | ad | newad | advertise> <[color]> <[text]>
  • /<advert | ad | newad | advertise> <colors>
  • /<mute | mu> <\”player name\”>
  • /<unmute | unmu> <\”playername\”>

 

Colors:

  • black
  • blue
  • clear
  • cyan
  • gray
  • green
  • magenta
  • red
  • white
  • yellow

 

Note:

Please report any bugs and feel free to share your opinions.

Huge thanks to Trojaner.

Default Translations

 

<Translations xmlns:xsd=\”http://www.w3.org/2001/XMLSchema\” xmlns:xsi=\”http://www.w3.org/2001/XMLSchema-instance\”>
<Translation Id=\”globalchat_not_allowed\” Value=\”Global chat is not allowed in this server!\” />
<Translation Id=\”groupchat_not_allowed\” Value=\”Group chat is not allowed in this server!\” />
<Translation Id=\”areachat_not_allowed\” Value=\”Area chat is not allowed in this server!\” />
<Translation Id=\”advertisements_not_allowed\” Value=\”You can\’t put advertisements on this server!\” />
<Translation Id=\”allowed_colors_header\” Value=\”Allowed colors in this server:\” />
<Translation Id=\”color_not_allowed\” Value=\”The color you requested is not allowed by this server!\” />
<Translation Id=\”not_enough_xp\” Value=\”You don\’t have enough XP to put an Advertisement!\” />
<Translation Id=\”ad_success\” Value=\”Your advertisement is on!\” />
<Translation Id=\”command_wrong_usage\” Value=\”This is not how you use this command!\” />
<Translation Id=\”player_dont_exist\” Value=\”No such player was found!\” />
<Translation Id=\”player_muted\” Value=\”Successfully muted {0}!\” />
<Translation Id=\”player_already_muted\” Value=\”{0} is already muted!\” />
<Translation Id=\”player_unmuted\” Value=\”Successfully unmuted {0}!\” />
<Translation Id=\”player_unmute_fail\” Value=\”Cannot unmute {0}!\” />
<Translation Id=\”on_muted_chat\” Value=\”You are muted!\” />
<Translation Id=\”on_use_banned_word\” Value=\”You can\’t use these words!\” />
</Translations>

Default Configurations

<ChatGodConfig xmlns:xsd=\”http://www.w3.org/2001/XMLSchema\” xmlns:xsi=\”http://www.w3.org/2001/XMLSchema-instance

<PluginIsEnabled>true</PluginIsEnabled>
<AllowAdvertisements>false</AllowAdvertisements>
<BanGlobalchat>false</BanGlobalchat>
<BanGroupchat>false</BanGroupchat>
<BanAreachat>false</BanAreachat>
<LogAllChat>false</LogAllChat>
<LogChatDate>false</LogChatDate>
<ChatFilter>false</ChatFilter>
<PlayerAdCost>1000</PlayerAdCost>
<AllowedAdColors>
<string>blue</string>
<string>green</string>
</AllowedAdColors>
</ChatGodConfig>

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<ChatGodConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PluginIsEnabled>true</PluginIsEnabled>
  <AllowAdvertisements>false</AllowAdvertisements>
  <BanGlobalchat>false</BanGlobalchat>
  <BanGroupchat>false</BanGroupchat>
  <BanAreachat>false</BanAreachat>
  <LogAllChat>false</LogAllChat>
  <LogChatDate>false</LogChatDate>
  <ChatFilter>false</ChatFilter>
  <PlayerAdCost>1000</PlayerAdCost>
  <AllowedAdColors>
    <string>blue</string>
    <string>green</string>
  </AllowedAdColors>
</ChatGodConfig>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="globalchat_not_allowed" Value="Global chat is not allowed in this server!" />
  <Translation Id="groupchat_not_allowed" Value="Group chat is not allowed in this server!" />
  <Translation Id="areachat_not_allowed" Value="Area chat is not allowed in this server!" />
  <Translation Id="advertisements_not_allowed" Value="You can't put advertisements on this server!" />
  <Translation Id="allowed_colors_header" Value="Allowed colors in this server:" />
  <Translation Id="color_not_allowed" Value="The color you requested is not allowed by this server!" />
  <Translation Id="not_enough_xp" Value="You don't have enough XP to put an Advertisement!" />
  <Translation Id="ad_success" Value="Your advertisement is on!" />
  <Translation Id="player_dont_exist" Value="No such player was found!" />
  <Translation Id="player_muted" Value="Successfully muted {0}!" />
  <Translation Id="player_already_muted" Value="{0} is already muted!" />
  <Translation Id="player_unmuted" Value="Successfully unmuted {0}!" />
  <Translation Id="player_unmute_fail" Value="Cannot unmute {0}!" />
  <Translation Id="on_muted_chat" Value="You are muted, you are not allowed to chat!" />
  <Translation Id="on_use_banned_word" Value="You can't use these words!" />
</Translations>

Commands and permissions


/advert /ad <color | colors> <text>

Permissions: advert

Put up an advertisement


/mute /mute <"player name">

Permissions: mute

Mute players.


/unmute /unmute <"player name">

Permissions: unmute

Unmute players.


Git changelog


d5d321cafe690e5 2019-03-24 07:13:26

Update

  • Added 2 new commands, chat filter and changed configurations

f70000a2c61d600 2019-03-21 11:03:29

Bug Fix

    58ecdce5e081bd7 2019-03-21 11:00:43

    bf

      6b225795786b9af 2019-03-21 10:56:27

      bf

        f338331169a40ae 2019-03-21 10:55:15

        Delete packages.config

          56ed4414dc90023 2019-03-21 10:47:42

          Chatgod.csproj file bug fix

            ef43794f63cc927 2019-03-21 10:42:06

            Bug Fix

              0f2d516eff4969e 2019-03-21 10:04:16

              Bug Fix

                5c077c6e1f83a95 2019-03-17 14:21:08

                Update ChatGod.csproj

                  d60ab2078f32e0b 2019-03-17 14:07:26

                  Update

                    f6530ac70534cb7 2019-03-17 14:05:24

                    Update

                      c6724af40e5a0bf 2019-03-17 13:54:55

                      Bug Fix

                      • Deleted some files

                      4aca63d7a07b747 2019-03-17 10:40:11

                      Bug fix

                      • last 5 builds had bugs this patch fixes them

                      86d3b2e6fd3ff14 2019-03-17 10:02:02

                      Bug Fix

                      • Fixed the bugs that came with the latest update.

                      6d8a2148cd31fbb 2019-03-17 09:16:53

                      Update

                      • Chaged color system, added new translations and optimized the code.

                      e22ed98da18187a 2017-05-06 13:46:57

                      Update ChatGod.csproj

                        32422f04e03705c 2017-05-06 13:37:36

                        Add files via upload

                          a672f0d6ccce70e 2017-05-05 18:23:46

                          Update ChatGod.csproj

                            a6eb4b66a6e2b29 2017-05-05 18:18:35

                            Delete ChatGod.pdb

                              a957d65a4076c3e 2017-05-05 18:18:29

                              Delete ChatGod.dll

                                7727d5be34a4cd6 2017-05-05 18:17:51

                                Fix libs

                                  bf4a6ba22007f18 2017-05-05 18:17:00

                                  Add files via upload

                                    10c31d2534e3941 2017-05-05 17:08:28

                                    Add files via upload

                                      de08f3865a69ca2 2017-05-05 17:01:53

                                      Delete I18N.dll

                                        373d98a630ce604 2017-05-05 17:01:47

                                        Delete MySql.Data.dll

                                          1ad683775c641de 2017-05-05 17:01:35

                                          Delete I18N.West.dll

                                            c0dcd6f92effad0 2017-05-05 16:58:20

                                            Add files via upload

                                              982ab4353f1f7ed 2017-05-05 16:57:37

                                              Add files via upload

                                                97940cd080b93bf 2017-05-05 16:56:43

                                                Delete Uconomy.dll

                                                  9aebf9088e2c04b 2017-05-05 16:56:38

                                                  Delete Rocket.Unturned.dll

                                                    8ecad28f69838d3 2017-05-05 16:56:07

                                                    Delete Rocket.Core.dll

                                                      6eae8dfee33c2ae 2017-05-05 16:56:02

                                                      Delete Rocket.API.dll

                                                        c80d7e92a1af4de 2017-05-05 16:55:57

                                                        Delete MySql.Data.dll

                                                          983b6d0670a88cc 2017-05-05 16:55:51

                                                          Delete I18N.dll

                                                            bea5fa775a70750 2017-05-05 16:55:46

                                                            Delete I18N.West.dll

                                                              7b1361608c99d30 2017-05-05 16:55:40

                                                              Delete ChatGod.pdb

                                                                d2b688ce526a0e1 2017-05-05 16:55:34

                                                                Delete ChatGod.dll

                                                                  bc218216218e643 2017-05-05 16:41:28

                                                                  Update ChatGod.csproj

                                                                    fe6f5f92e4ce273 2017-05-05 16:40:23

                                                                    Add files via upload

                                                                      6e53927c7b7e37a 2017-05-05 16:40:03

                                                                      Update ChatGodConfig.cs

                                                                        9ce7d0f918b2cec 2017-05-05 16:39:26

                                                                        Update ChatGod.cs

                                                                          365e674f7bfd1f0 2017-05-05 16:38:11

                                                                          Update AdCommand.cs

                                                                            a75bb2cf30e4151 2017-05-05 16:37:14

                                                                            Add files via upload

                                                                              5a53320e3b81347 2017-05-05 16:36:22

                                                                              Add files via upload

                                                                                494eb900d5a0095 2017-04-05 16:12:27

                                                                                fix libs

                                                                                  ab772307cd8a816 2017-04-05 16:01:40

                                                                                  Add files via upload

                                                                                    f117d6ec6ba6580 2017-04-05 15:52:34

                                                                                    Add files via upload