Default configuration

Not all options work yet.
# Default TalkMoar configuration file.
#
# Format for various messages.
# Available variables for replacement:
# <Channel:Name> - name of the channel
# <Player:Name> - real name of the player
# <Player:Prefix> - prefix (see groups section)
# <Player:Suffix> - suffix (see groups section)
# <Chat:Message> - the message
# Not all variables apply to all types of messages.
# Non-channel messages have a limited subset of these variables,
# which usually just includes the player name.
#
# Settings for the ingame reporting system:
# enabled - enables or disables the system entirely.
# ingame.enabled - enables reporting to users with the specified
#                - permission node.
# ingame.permission - sets the permission node. Used with
#                   - ingame.enabled.
# remote.enabled - Enables reporting via POST over HTTP to remote.url.
# POST parameters sent for remote reporting:
#   id - The unique message ID number.
#   channel - The name of the channel.
#   timestamp - The UNIX timestamp of the message.
#   player - The player who said the message.
#   message - Should be self-explanatory.
#   reporter - The name of the player who reported the message.
#
# IRC settings:
# TalkMoar can integrate with CraftIRC.
# It will assign IRC users to the "irc" group.
#
# Group settings:
# You can define the prefix and suffix for groups here.
# To assign someone to a group, give them the permission node:
#   talkmoar.group.groupname
# ...where groupname is the name of the group.
# By default, both a user's prefix and suffix will be set to '&f'.
#
# Channel settings:
# buffer-size defines how many chat messages are saved in a channel's history.
# By default, this is set to 50.
# Increasing this value can really cause a lot of lag if you don't have a good
# server. Likewise, decreasing it can lessen some lag.
format:
  message: '[<Channel:Name>] <Player:Prefix><Player:Name><Player:Suffix>: <Chat:Message>'
  join: '&e<Player:Name>&e has joined <Channel:Name>.'
  part: '&e<Player:Name>&e has left <Channel:Name>.'
  report: '&e<Player:Name>&e reported a message in <Channel:Name>:'
  invited: '&e<Player:Name>&e was invited to <Channel:Name>.'
  uninvited: '&e<Player:Name>&e was uninvited from <Channel:Name>.'
  opped: '&e<Player:Name>&e was opped in <Channel:Name>.'
  deopped: '&e<Player:Name>&e was deopped in <Channel:Name>.'
  privacy-change: '&e<Channel:Name>&e was changed to be a <Chat:Message> channel.'
  ban: '&e<Player:Name>&e was banned from <Channel:Name>.'
  unban: '&e<Player:Name>&e was unbanned from <Channel:Name>.'
  create: '&e<Channel:Name>&e was created by <Player:Name>.'
  delete: '&e<Channel:Name>&e was deleted by <Player:Name>.'
filter:
  enabled: false
  censor: '&c*'
  phrases:
  - fuck
  - shit
irc:
  enabled: false
  prefix: 'IRC &3'
  suffix: '&f'
report:
  enabled: true
  ingame:
    enabled: true
    permission: talkmoar.mod
  remote:
    enabled: false
    url: 'http://api.example.com/ingame/report.php'
channel:
  buffer-size: 50
regions:
  enabled: true
groups:
  user:
    prefix: '&3'
    suffix: '&f'
mysql:
  enabled: false
  hostname: localhost
  username: root
  password: seekrit
  database: games_chat

Comments

Posts Quoted:
Reply
Clear All Quotes