Channel setup

Setting up a channel

This is the channel configuration, you'll have to change the plugins/MonsterIRC/Channels content in order to have your plugin working fine.
Those files are still YAML ones, here are some links to help you :
This is an example of the correct YAML syntax
This is an online YAML parser to check your files




First of all, you must rename the .channel file to your IRC's channel name. If you are using a channel named #irc, this file will be renamed #irc.channel



Configuration :

CHANNEL:

SETTINGS:

AUTOJOIN: true or false
Set this to true if you want the bot to join the channel on connection; otherwise you will have to type /irc connect in order to join this channel.
DEFAULT: true or false
If set to true the messages from the irc channel will be transmitted to all ingame channels. If set to false the messages will only been seen by the channel its linked to.
PASSWORD: ''
If your IRC channel needs a password to join, enter this here, after you have removed the ' '.
BLOCKED_EVENTS:A string list containing all events that this channel should block from being passed. View below for a list of events
CHATTYPE:
This will define the plugin your InGame channel comes from. Only one of these must be enabled! GLOBAL:
ENABLED: true or false
Global is the vanilla chat system

MCMMO:

ADMINCHAT:
ENABLED: true or false
True if McMMO is your server's admin chat manager.

MONSTER_TICKETS:

ADMINCHAT:
ENABLED: true or false
True if MonsterTickets is your server's admin chat manager.

HEROCHAT:

ENABLED: true or false
True if HeroChat is your server's chat manager.
CHANNEL: IRC
Write the HeroChat channel you want to connect to this channel.This name is the same as the name.channel saved in your HeroChat/channels folders.
LISTEN:
- Global
- Overworld

Write here the HeroChat channels you want to be reported on this channel. (Game to IRC only)

TOWNY

ENABLED: true or false
True if TOWNY is your server's chat manager.
CHANNEL: IRC
Write the Tonwy channel you want to connect to this channel.
COMMANDS:
OP:
- '*'
HOP:
- '*'
ADMIN:
- 'list'
VOICE:
- give
USERS:
- help

Here you can choose which InGame commands IRC users will be allowed to execute depending on their mode.
Just add the - command_name under the mode. '*' means every commands are allowed.
For more info about IRC modes see : IRC channel and user modes on wikipedia


Events

  • irc_message
  • irc_join
  • irc_part
  • irc_quit
  • irc_kick
  • irc_mode
  • irc_action
  • game_chat
  • game_kick
  • game_death
  • game_join
  • game_quit

Comments

Posts Quoted:
Reply
Clear All Quotes