promotional bannermobile promotional banner

Local Chat + OOC + Shout

Local chat, global 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

optiondescriptiondefault
defaultThis will mark this chatmode as the default chat. You can only have own default per worldfalse
radiusThe distance in which other players can hear each other0
tagThe tag to insert into the message, if no tag is provided it will not insert one.
formatThe 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
payHow much it costs to use this chat mode, requires VAULT
commandsA list of commands to use this chatmode with
globalIf set to true everyone in the server can hear you when using this modefalse
read_permissionThe permission to read messages from this chatmode, no permission is required by default.
write_permissionThe permission to write messages to a chatmode, no permission is required by default.
suffixUsed with format to add a suffix to the message
prefixUsed 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

The Local Chat + OOC + Shout Team

profile avatar
  • 1
    Projects
  • 12.9K
    Downloads