diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9c2daa3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2020 ZeroHighDef + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..fda97dc --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Hush +A plugin to monitor chat for forbidden phrases. + +## Watch Lists +Watch lists specifies phrases to monitor. Each watch list has an associated permission. In the form of +`hush.`. A user with this permission will have their chat messages checked to see if +they match the corresponding watch list. + +Watch lists contain two types of phrases, Monitored and Banned. + +### Monitored +Phrases that should be checked for context. If a user says one of these phrases, a Discord webhook is +sent out. + +### Banned +A banned phrase results in an immediate ban. If a user says a banned phrase, they are kicked and added +to the ban list. A webhook is also sent to Discord. + +## Example Config +[Config](src/main/resources/config.yml) + +## Permissions +[Permissions](src/main/resources/plugin.yml) + +## License +[MIT](LICENSE)