chatgod

#32 - published 326 years ago

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


Default english translation


Commands and permissions


Git changelog


Download

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

Repository

github.com

License

MIT

Author

Euphrates