GithubHelp home page GithubHelp logo

chatcensor's Introduction

start2

ChatCensor

Chat Censor plugin for PocketMine-MP

Category

PocketMine-MP plugins

Requirements

PocketMine-MP Alpha_1.4 API 1.9.0

Overview

ChatCensor allows you to block swam words, limit characters and mute players in chat

EvolSoft Website: http://www.evolsoft.tk

To prevent bugs, delete all old plugin data if you are updating ChatCensor.

This Plugin uses the New API. You can't install it on old versions of PocketMine.

With ChatCensor you can block swam words, you can limit characters in chat and you can mute players. (read documentation)
You can also easily set actions for each word.

Commands:

/chatcensor - ChatCensor commands
/addword - Add a denied-word
/removeword - Remove a denied-word
/mute - Mute player
/unmute - Unmute player

To-Do:

- Bug fix (if bugs will be found)
- Block spam
- Add ban time

Documentation

Add and configure a denied word:

  1. Run the command "/addword "
  2. Go to "ChatCensor/denied-words" directory and open the word file
    This is a word config file:
---
#Delete the message
delete-message: false
#Enable word replace
enable-replace: true
#Word that will be replaced (only if enable-replace is set to true)
replace-word: "****"
#Sender settings
sender:
#Kick player (if ban is set to true, action will be cancelled)
kick: false
#Ban player (if kick is set to true, action will be cancelled)
ban: false
#Kick settings
kick:
#Kick message
message: "Kicked for swearing!"
#Ban settings (ban duration will be implemented in next version)
ban:
#Ban message
message: "Banned for swearing!"
...

Configuration (config.yml):

---
#Censor settings (Censor blocks swear words from chat, it can be bypassed with the permission: chatcensor.bypass.censor)
censor:
#Enable Censor
enabled: true
#if you enable allow-bypassing, players can bypass Censor with the permission: chatcensor.bypass.censor
allow-bypassing: false
#Log "No swearing" message to player
log-to-player: true
#Mute
mute:
#Log message to player when it is muted
log-to-player: true
#Log message to player when it is unmuted
log-unmute: true
#Keep player muted when it relog in the server
keep-on-relogin: true
#CharCheck (CharCheck limits characters in chat)
char-check:
#Enable CharCheck
enabled: true
#if you enable allow-bypassing, players can bypass CharCheck with the permission: chatcensor.bypass.char-check
allow-bypassing: false
#Log message to player
log-to-player: true
#Allow players to use "\" in chat messages
allow-backslash: false
# List of allowed characters (Don't forget to add the character in quotes)
allowed-chars:
- "Q"
- "W"
- "E"
- "R"
- "T"
- "Y"
- "U"
- "I"
- "O"
- "P"
- "A"
- "S"
- "D"
- "F"
- "G"
- "H"
- "J"
- "K"
- "L"
- "Z"
- "X"
- "C"
- "V"
- "B"
- "N"
- "M"
- "q"
- "w"
- "e"
- "r"
- "t"
- "y"
- "u"
- "i"
- "o"
- "p"
- "a"
- "s"
- "d"
- "f"
- "g"
- "h"
- "j"
- "k"
- "l"
- "z"
- "x"
- "c"
- "v"
- "b"
- "n"
- "m"
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"
- "0"
- "."
- ":"
- ","
- ";"
- "-"
- "_"
- "|"
- "!"
- "/"
- "?"
...

Commands:

/chatcensor - ChatCensor commands (aliases: [cc, chatc, censor])
/addword <word> - Add a denied-word
/removeword <word> - Remove a denied-word
/mute <player> - Mute player
/unmute <player> - Unmute player

**Permissions:**
  • chatcensor.* - ChatCensor permissions.
  • chatcensor.bypass.* - Bypass ChatCensor permissions.
  • chatcensor.bypass.char-check - Bypass ChatCensor CharCheck permissions.
  • chatcensor.bypass.censor - Bypass ChatCensor Censor permissions.
  • chatcensor.commands.* - ChatCensor commands permissions.
  • chatcensor.commands.help - ChatCensor command Help permission.
  • chatcensor.commands.info - ChatCensor command Info permission.
  • chatcensor.commands.reload - ChatCensor command Reload permission.
  • chatcensor.commands.addword - ChatCensor command AddWord permission.
  • chatcensor.commands.removeword - ChatCensor command RemoveWord permission.
  • chatcensor.commands.mute - ChatCensor command Mute permission.
  • chatcensor.commands.unmute - ChatCensor command Unmute permission.

chatcensor's People

Contributors

sarhatabaot avatar letsplaydev avatar

Watchers

James Cloos avatar DegenApeDev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.