configuration

Configuration

configuration file is automatically created the first time.

config.yml

global:
  # Message Format
  # Available Tags
  # {channelno} - Channel No
  # {channel} - Channel Name
  # {prefix} - Player Prefix
  # {suffix} - Player Suffix
  # {player} - Player Name
  # {message} - Message
  # {world} - World Name
  message-format: '[{channelno}{channel}] [{prefix}{player}{suffix}&f] {message}'
  # Channel Message Format
  channel-format: '[{channelno}{channel}] {message}'
  # Romanization of Japanese Convert Format
  # {message} - Original Message
  # {converted} - Converted Message
  roma-to-hira-format: '{message} &f({converted})'
irc:
  # デフォルトでIRCでの発言を送信するかどうか true または false
  # trueの場合はIRCでの発言が全てforwardsに指定したチャンネルに転送されます。
  # falseの場合はIRCから.sayコマンド「.say <Message>」を使用した場合のみ転送されます。
  default-say: false
  networks:
    # Network Name
    freenode:
      # is enabled?
      enabled: false
      # IRC Hostname
      host: irc.freenode.net
      # IRC Port
      port: 6667
      # nick
      nick: ElChat
      # charset
      charset: UTF-8
      # IRC Channels
      channels:
        # IRC Channel Name
        '#YourIRCChannel':
          # Channel Title
          title: IRC
          # Message forwarding destinations
          forwards: [ global, dynmap ]

channels.yml

# Default Channel Name
default-channel: global
channels:
  # Channel Name
  global:
    # Channel Title
    title: 'Global'
    # Auto join if player connected
    auto-join: true
    # Romanization of Japanese Convert
    roma-to-hira: true
    # join/left message
    announce: false
    # forward join/left messsage
    forward-announce: true
    # Message forwarding destinations
    forwards: [ dynmap, '#YourIRCChannel' ]
  local:
    title: 'Local'
    auto-join: true
    roma-to-hira: true
    # Maximum distance for message delivery
    area: 500
    # World Local Chat
    only-world: true
    announce: false
    forwards: []
  # dynmap Virtual Channel
  dynmap:
    title: 'Dynmap'
    forwards: [ global, '#YourIRCChannel' ]

Color Codes

  • &0 - Black
  • &1 - Blue
  • &2 - Dark Aqua
  • &3 - Dark Green
  • &4 - Dark Red
  • &5 - Purple
  • &6 - Gold
  • &7 - Grey
  • &8 - Dark Grey
  • &9 - Indigo
  • &a - Lightgreen
  • &b - Aqua
  • &c - Red
  • &d - Pink
  • &e - Yellow
  • &f - White

Comments

Posts Quoted:
Reply
Clear All Quotes