chatgod

#15 - published a year ago

ChatGod

ChatGod

ChatGod is a plugin that allows you to ban chat types like global, area and group. You can give permissions to talk while these chat types are banned.

[Important!] Add other dll’s to library file!(If you don’t want to have uconomy add it to library too.)

Features:

  • Ban Global/Area/Group chat.
  • Players can put up advertisements on server with xp.
  • [NEW] You can change ad payment to Uconomy from configuration (IsMysql = true).
  • [NEW] You can now change the color of your add with /advertcolor (/adcol, /adcolor, /advertcolor).

Permissions,

  • allowglobal: Allows to talk in global chat while it is banned.
  • allowarea: Allows to talk in area chat while it is banned.
  • allowgroup: Allows to talk in group chat while it is banned.
  • advertise: Allows to put up advertisements.
  • [NEW] advertcolor: Allows to change the color of the ad (This changes settings for everyone so be careful).

Note:

[NEW] You can change the payment method to Uconomy from configuration file.

[NEW] You can select the color of ads /advertcolor.

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

Huge thanks to Trojaner, he helped me alot while making this plugin.

————————————————————————————————

Default Translations:

<?xml version=”1.0″ encoding=”utf-8″?>
<Translations xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<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=”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=”ad_by” Value=”Advertisement by: ” />
</Translations>

————————————————————————————————

Default Configurations:

<?xml version=”1.0″ encoding=”utf-8″?>
<ChatGodConfig xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
<PluginIsEnabled>true</PluginIsEnabled>
<DontAllowGlobalchat>false</DontAllowGlobalchat>
<DontAllowGroupchat>false</DontAllowGroupchat>
<DontAllowAreachat>false</DontAllowAreachat>
<PlayerAdCost>1000</PlayerAdCost>
</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>
  <DontAllowGlobalchat>false</DontAllowGlobalchat>
  <DontAllowGroupchat>false</DontAllowGroupchat>
  <DontAllowAreachat>false</DontAllowAreachat>
  <IsMysql>false</IsMysql>
  <PlayerAdCost>1000</PlayerAdCost>
  <adColor>
    <r>0</r>
    <g>0</g>
    <b>1</b>
    <a>1</a>
  </adColor>
</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="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="ad_by" Value="Advertisement by {0}" />
  <Translation Id="command_wrong_usage" Value="This is not how you use this command!" />
</Translations>

Commands and permissions


/advertcolor <your ad color>

Permissions: advertcolor

Select your ad's color


/advert <your ad>

Permissions: advert

Put up an advertisement


Git changelog


6722e9d7f146530 2017-05-06 13:47:19

Merge pull request #4 from Trojaner25/patch-3

  • Update ChatGod.csproj

e22ed98da18187a 2017-05-06 13:46:57

Update ChatGod.csproj

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

    Add files via upload

      7c2c70770184c34 2017-05-05 18:26:20

      Merge pull request #3 from Trojaner25/patch-2

      • Update ChatGod.csproj

      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

            68d3f864162d4cd 2017-05-05 18:18:12

            Merge pull request #2 from Trojaner25/patch-1

            • Fix libs

            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

                                                            9b3271f6c9a4956 2017-04-05 16:16:12

                                                            Merge pull request #1 from Trojaner25/master

                                                            • fix libs

                                                            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

                                                                  Download

                                                                  Build #15
                                                                  By downloading this file, you agree to our license terms.

                                                                  Repository

                                                                  github.com

                                                                  License

                                                                  MIT

                                                                  Author

                                                                  Euphrates