mmoChat

mmoMinecraft Logo

About mmoChat

mmoChat provides simple channel handling for players. Channels are controlled via filters - this means that you can easily create new channel types by combining filters such as Local + Party etc.

The mmoMinecraft suite is a collection of plugins that together attempt to create a more mmorpg-like experience in Minecraft.

Dependencies

  • mmoCore - Required by all mmoMinecraft plugins.
  • SpoutPlugin - Allows a small tab showing the current channel above the text input (optional).

Extensions

  • mmoParty - Adds a "Party" filter and adds the /party channel (use command:false).
  • mmoChatPirate - Adds a "Pirate" filter which makes you talk like a pirate.
  • mmoChatTitle - Adds a permissions based "Title" filter.

Features

  • Easy to create new channels.
  • Simple API for creating new channel filters.
  • Players select default channel simply by using the channel chat command without any args.
  • Multiple aliases for every channel.
  • Automatically add a command for each channel created (optional).
  • Show a tab above the text bar showing the current channel (requires Spout).

Commands

  • /channel <name> - Change the channel you are speaking on.
  • /channel <name> [text] - Send text to the named channel.
  • /<channel> - Change the channel you are speaking on (if it has a channel command).
  • /<channel> [text] - Send text to the named channel (if it has a channel command).
  • /me [text] - Send text as an emote rather than a message (slightly different formatting).

Config.yml

#mmoChat Configuration
default:
    channel: Chat # The default channel for people to speak in
    colour: false # Should it allow colour codes in messages
    format: "[%1$s] %2$s: %4$s"    # Channel format string (optional, see below)
    formatme: "[%1$s] * %2$s %4$s" # Channel /me format string (optional)
channel:
    Shout:            # The channel name
        alias:        # A list of aliases to use for this channel
        - Sh
        - Sho
        - Shou
        filters:      # A list of filters to use (see below)
        - Yell
        - Range 200
        command: true # Does this have a custom /Shout command
        enabled: true # Is this channel enabled
        log: true     # Does this log to the console
        format: "[%1$s] %2$s: %4$s"     # Channel format string (optional)
        formatme: "[%1$s] * %2$s %4$s"  # Channel /me format string (optional)

Filters

  • Server - everyone online.
  • World - in the same world.
  • Yell - within 300 blocks (and same world)
  • Range <range> - within <range> blocks (default 100, and same world)
  • Say - within 25 blocks (and same world)
  • Disabled - nobody can see this
  • Tell - the first word is taken as a single target
  • Reply - sends back to the last person to use Tell at you

Permissions

  • mmo.chat.* - Default - use and see channels
  • mmo.chat.*.use - Default - use channels
  • mmo.chat.*.see - Default - see channels
  • mmo.chat.<channel> - Use and see channel
  • mmo.chat.<channel>.use - Use channel
  • mmo.chat.<channel>.see - See channel Permissions will search from the most specific permission back to the default permission until it finds a specific true or false.

Format Strings

  • "%1$s" - Channel name
  • "%2$s" - Name of player talking
  • "%3$s" - Name of player seeing the message (every player gets their own string)
  • "%4$s" - Message
  • You can use normal Minecraft colour codes in the format string, however both the player names will be coloured automatically.

Future

  • Private channels created by players.
  • Channel control commands.

Changelog

Commit log


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit