# ChatEdit Source Code
## This plugin will allow users to view chat globally, nearby them, or not at all.
### This is a simple plugin made by me that I decided to make after someone said that they would rather have the chat turned off completely. With this plugin they are able to turn off the chat client side while everyone else is still able to view all the messages. They will also be able to set their chat to 'nearby' which will allow them to talk to those near them in a specified radius set by them using the commands below.
### Typing someones name in your chat message you are able to target someone so that they see your message if need be.
### Typing in a color surrounded in brackets will color your text! The currently allowed colors are:
- Aqua
- Black
- Blue
- Darkaqua
- Darkblue
- DarkGray
- DarkGreen
- Darkpurple
- Darkred
- Gold
- Gray
- Green
- lightpurple
- Red
- White
- Yellow
**Commands:**
```/ChatType <value> : Sets what type of chat you'd like to use either being global, nearby, or off.```
```/ChatR <value> : Sets the radius for when chat is set to nearby. The default is set to 200.```
```/ChatF <player> <value> : Forces the specified player's chat type.```
```/ChatAdmin : Allows the user to see all chat types.```
```/ChatL : Lists current chat types available.```
```/ChatEditReload : Reloads the plugin configuration and user data.```
**Permissions:**
ChatEdit.forceType
ChatEdit.Colors
ChatEdit.ChatAdmin
ChatEdit.reload
**Plugin Download:**
https://www.mediafire.com/folder/9o86uqob06m7a/ChatEdit%20Folder
# ChatEdit Config
# You must have atleast one chat type set
# The first chat type will be the default chat type that is set
ChatEdit:
ChatType:
- global
Default:
Radius: 200
name: ChatEdit
version: 1.0
author: Scott
description: Allows the user to view chat globally, nearby, not at all or in other predefined chat types.
main: me.scotth0828.ChatEdit.Main.Main
commands:
ChatType:
description: Sets what type of chat you'd like to use from the current chat types available.
usage: /<command> <value>
aliases: [ct]
ChatR:
description: Sets the radius for when chat is set to nearby. The default is set to 200.
usage: /<command> <value>
aliases: [cr]
ChatF:
description: Forces the specified player's chat type.
usage: /<command> <player> <value>
aliases: [cf]
permission: ChatEdit.forceType
ChatAdmin:
description: Allows the user to see all chat types.
usage: /<command>
aliases: [ca]
permission: ChatEdit.ChatAdmin
ChatL:
description: Lists current chat types available.
usage: /<command>
aliases: [cl]
ChatEditReload:
description: Reloads the plugin configuration and user data.
usage: /<command>
permission: ChatEdit.reload
src
>