Local Chat + OOC + Shout
Sorry about not updating this in a while, ive been busy. I have remade Local Chat, it is now more flexible, easier to update and offers more options
Features
- Economy support with vault (not required)
- Ability to add as many chat modes as you want
- More options for a chat mode
- Global config options
- Permissions support
- Formatting options
Usage
To add a chat mode to a world, create a config file in your plugins/localchat directory (if this directory doesnt exist, start the server and the plugin should create the folder). The file name has to match the name of the world you want the modes to be active on. So if you had a world called localchat_world, you would call the config file localchat_world.yml
The file must end in yml!
You now need to add each mode you want to the world configs, like this:
1 2 3 4 5 6 7 8 9 | local: default: true radius: 20 tag: "[Local]" format: "&4<tag> &2<name>:&f <text>" pay: 10 commands: - "local" - "l" |
Available Chat Mode Options
| option | description | default |
|---|---|---|
| default | This will mark this chatmode as the default chat. You can only have own default per world | false |
| radius | The distance in which other players can hear each other | 0 |
| tag | The tag to insert into the message, if no tag is provided it will not insert one. | |
| format | The format of the message, if this is provided it may override other plugins. Options include: <tag>, <name>, <text>, <suffix>, <prefix> and &1-9/a-f for colour | |
| pay | How much it costs to use this chat mode, requires VAULT | |
| commands | A list of commands to use this chatmode with | |
| global | If set to true everyone in the server can hear you when using this mode | false |
| read_permission | The permission to read messages from this chatmode, no permission is required by default. | |
| write_permission | The permission to write messages to a chatmode, no permission is required by default. | |
| suffix | Used with format to add a suffix to the message | |
| prefix | Used with format to add a prefix to the message |
Commands
Default commands that are included are:
- /lc reload - reloads the config files; require permission node localchat.admin.reload
- /lc spy - allows you to see anything that is said, even if outside the radius; requires permission node localchat.admin.spy
- /toggle <chatmode> - toggles a chatmode so that everything you say is in that mode (ie /toggle shout will always make you shouting if you have a shout mode)
- /toggle - clears your toggle
- /c - toggle alias
- /chat - toggle alias
- /tg - toggle alias
- /to - toggle alias
-
View User Profile
-
Send Message
Posted Jan 2, 2012Yes, Towny support would be nice.
-
View User Profile
-
Send Message
Posted Dec 21, 2011Doesn't seem to work well with any of the chat format plugins i've tested.. :/
-
View User Profile
-
Send Message
Posted Dec 18, 2011YEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSS
-
View User Profile
-
Send Message
Posted Nov 13, 2011@Netu
thanks! the issues should be fixed now.
-
View User Profile
-
Send Message
Posted Nov 12, 2011http://pastebin.com/ZwZm9Y0H
Seems this is broken on Bukkit #1337 and your 1337 version of the plugin. When trying the command /ooc this is what rendered. Also, the config file and localchat directory was not created on reload, so I created them manually, and it still didn't work.
Thanks for any help. I would love to see this working.