PurpleIRC-spigot/src/main/resources/config.yml

398 lines
18 KiB
YAML

# Global configuration for PurpleIRC
# NOTE: If you make changes to this file while the server is running use "/irc reloadconfig" to load the changes into memory.
# Automatically save configurations on shutdown or reload
save-on-shutdown: false
# Check for updates
update-checker: true
# Update checker mode: stable or dev
update-checker-mode: stable
# How often we check to see if a bot is connected to the IRC server. This is in server ticks (There 20 ticks in one sec).
conn-check-interval: 1000
# Suppress connection failure messages after this many reconnect attempts
reconnect-fail-message-count: 10
# Startup an ident server
enable-ident-server: false
# How often we check the channel user list
channel-check-interval: 100
# Alias /irc smsg to /msg
override-msg-cmd: false
# Number of ticks after join event fires to process and send to IRC
join-delay: 20
# Number of ticks after quit event fires to process and send to IRC
quit-delay: 20
# Alias for /irc smsg
smsg-alias: '/m'
# Alias for /irc smsg <prev player>
smsg-reply-alias: '/r'
# Insert zero width space into tokenized player names.
chat-ping-fix: false
# Chat messages support standard Bukkit color codes using '&#'. See http://minecraft.gamepedia.com/Formatting_codes
# The following macro tokens are also supported.
# %WORLD%
# %NAME%
# %HOST% - Host of player or IRC user
# %SERVER% - Server of IRC user
# %AWAY% - IRC user away message
# %KICKERHOST% - Host of IRC kicker
# %KICKERSERVER% - Server of IRC kicker
# %KICKERAWAY% - IRC kicker away message
# %NICKPREFIX% - IRC user's status (see nick-prefixes below)
# %CHANNELPREFIX% - Custom prefix per channel (see prefix option in SampleBot.yml)
# %DISPLAYNAME% - Player's custom name
# %PLAYERIP% - IP address of a player
# %CHANNEL%
# %MESSAGE% - Message as is (may include colors from other plugins)
# %RAWMESSAGE% - Raw message with colors stripped out.
# %KICKER% - IRC kicker name
# %OLDTOPIC%
# %TOPIC%
# %REASON%
# %GROUP% - Requires Vault if you want to use this.
# %PLAYERPREFIX% - Requires Vault if you want to use this.
# %PLAYERSUFFIX% - Requires Vault if you want to use this.
# %GROUPSUFFIX% - Requires Vault if you want to use this.
# %GROUPPREFIX% - Requires Vault if you want to use this.
# %WORLDCOLOR% - Requires Multiverse.
# %PARTY% - mcMMO party channel name
# %FACTIONMODE% - Faction chat mode (all, ally, enemy)
# %FACTIONTAG% - Faction tag name
# %HEROCHANNEL% - HeroChat channel name
# %HERONICK% - HeroChat channel nick
# %HEROCOLOR% - HeroChat channel color
# %TITANCHANNEL% - TitanChat channel name
# %TITANCOLOR% - TitanChat channel color
# %UCHATCHANNEL% - UltimateChat channel name
# %UCHATCOLOR% - UltimateChat channel color
# %WORLDALIAS% - World alias name
# ReportRTS ticket: %MESSAGE%, %MODNAME% %DISPLAYMODNAME% %RTSNAME% %RTSWORLD% %TICKETNUMBER% %MODCOMMENT%
# %TOWNYCHANNEL% - Towny channel name
# %TOWNYCHANNELTAG% - Towny channel tag name
# %TOWNYMSGCOLOR% - Towny message color
# %JOBS% - Player jobs
# %JOBSSHORT% - Player jobs
# %ATTACHMENTURLS% - Discord attachment URLs
# Prism custom tokens:
# prism-rollback:
# %COMMAND%
# %KEYWORD%
# %SORTDIRECTION%
# %PARAMWORLD%
# %ID%
# %ORIGINALBLOCK%
# %NEWBLOCK%
# %X%
# %Y%
# %Z%
# %BLOCKWORLD%
# prism-drain and prism-extinguish:
# %RADIUS%
# %ORIGINALBLOCK%
# %NEWBLOCK%
# %X%
# %Y%
# %Z%
# %BLOCKWORLD%
# prism-custom:
# %ACTION%
# %MESSAGE%
# %PLUGIN%
message-format:
# Message templates for game to IRC messages
console-chat: '[&dServer&r] %MESSAGE%'
# Cross server chatting via linked bots
cross-chat: '[&4%SERVER%&r] %MESSAGE%'
# Command sent notification. Blank this to disable this message.
command-sent: 'Command sent: %COMMAND%'
game-achievement: '[&2%WORLD%&r] %NAME% has just earned the achievement [%MESSAGE%]'
game-advancement: '[&2%WORLD%&r] %NAME% has just earned the advancement [%MESSAGE%]'
game-mode: '[&2%WORLD%&r] %NAME% has changed game mode: [%MESSAGE%]'
game-action: '[&2%WORLD%&r]***%NAME% %MESSAGE%'
game-pchat: '[&2%WORLD%] <%NAME%> %MESSAGE%'
# death-messages - http://dev.bukkit.org/bukkit-plugins/death-messages
death-messages: '[&2%WORLD%&r]%MESSAGE%'
# Notification to player when sending a private message to an IRC user
game-pchat-response: ' &6-> &7%TARGET%: %MESSAGE%'
game-chat: '[&2%WORLD%&r] <%NAME%> %MESSAGE%'
game-death: '[&2%WORLD%&r] %MESSAGE%'
game-kick: '[&2%WORLD%&r] %MESSAGE%: %REASON%'
game-join: '[&2%WORLD%&r] %NAME% joined the game.'
game-first-join: '[&2%WORLD%&r] %NAME% joined the game for the very first time.'
game-quit: '[&2%WORLD%&r] %NAME% left the game.'
fake-join: '[&2%WORLD%&r] %NAME% joined the game.'
fake-quit: '[&2%WORLD%&r] %NAME% left the game.'
game-command: '[&2%WORLD%&r] Command detected by %NAME%: %COMMAND% %PARAMS%'
# Message template for "/irc send" to IRC message
game-send: '[&2%WORLD%&r]<%NAME%> %MESSAGE%'
# Essentials messages
ess-player-afk: '[&2%WORLD%&r] %NAME% is now AFK'
ess-player-not-afk: '[&2%WORLD%&r] %NAME% is no longer AFK'
ess-helpop: '&4[HelpOp] %DISPLAYNAME%&r: %MESSAGE%'
irc-ess-helpop: '&4[HelpOp] %DISPLAYNAME%&r: %MESSAGE%'
# Message templates for IRC to game messages
irc-action: '[&4IRC&r] ***%NAME% %MESSAGE%'
irc-chat: '[&4IRC&r]<%NAME%> %MESSAGE%'
# Response message when using @chat or @ochat
irc-chat-response: ' &6-> &7Minecraft: %MESSAGE%'
irc-pchat: '&dPrivate message: [&4IRC&r]<%NAME%> %MESSAGE%'
# Notification to user when sending a private message to a player
irc-pchat-response: ' &6-> &7%TARGET%: %MESSAGE%'
# Notification to user when sending a message to a specific hero channel
irc-hchat-response: ' &6-> &7%TARGET%: %MESSAGE%'
irc-join: '[&4IRC&r] %NAME% has joined %CHANNEL%.'
irc-kick: '[&4IRC&r] %NAME% was kicked from %CHANNEL% by %KICKER%. (Reason- %REASON%)'
irc-part: '[&4IRC&r] %NAME% has left %CHANNEL%.'
irc-quit: '[&4IRC&r] %NAME% has left %CHANNEL%. (Reason: %REASON%)'
irc-topic: '[&4IRC&r] Topic changed by %NAME%: %TOPIC%.'
irc-nickchange: '[&4IRC&r] %OLDNICK% is now known as %NEWNICK%.'
irc-mode: '[&4IRC&r] %NAME% %MODE% on %CHANNEL%'
irc-console-chat: '&f[&5IRC&f]&r<%NAME%> %MESSAGE%'
irc-notice: '[&4IRC&r] [notice(%CHANNEL%)] %NOTICE% '
# AdminPrivateChat response message in IRC. Set to '' to disable.
irc-a-response: ' &6-> &7[AdminChat]: %MESSAGE%'
# AdminPrivateChat message from game to IRC
game-a-chat: '[%WORLD%] <%NAME%> -> [AdminChat]: %MESSAGE%'
# AdminPrivateChat message from IRC to game
irc-a-chat: '[AdminChat] [&4IRC&r] %MESSAGE%'
# Messages from Discord (Valid tokens: %NAME%, %NICKNAME%, %EFFNAME%, %COLOR%, %CHANNEL%, %MESSAGE%, %RAWMESSAGE%)
discord-chat: '[Discord]<%NAME%> %MESSAGE% %ATTACHMENTURLS%'
# Messages from IRC to Discord
irc-discord-chat: '[IRC]<%NAME%> %MESSAGE%'
# Actions from IRC to Discord
irc-discord-action: '[IRC] ***%NAME% %MESSAGE%'
# Message template for Clevernotch bot to IRC messages
clever-send: '[&4BOT]<%NAME%> %MESSAGE%'
# Message templates for mcMMO to IRC messages
mcmmo-admin-chat: '[admin:%WORLD%]<%NAME%> %MESSAGE%'
mcmmo-party-chat: '[party:%PARTY%]<%NAME%> %MESSAGE%'
mcmmo-chat: '[mcMMO]<%NAME%> %MESSAGE%'
# Message templates for IRC to mcMMO
irc-mcmmo-admin-chat: '[&4IRC&r]<%NAME%> %MESSAGE%'
irc-mcmmo-party-chat: '[&4IRC&r]<%NAME%> %MESSAGE%'
# Message templates for FactionChat to IRC messages
faction-public-chat: '[%FACTIONMODE%&r][%FACTIONTAG%]<%NAME%> %MESSAGE%'
faction-ally-chat: '[%FACTIONMODE%&r][%FACTIONTAG%]<%NAME%> %MESSAGE%'
faction-enemy-chat: '[%FACTIONMODE%&r][%FACTIONTAG%]<%NAME%> %MESSAGE%'
# Message template for Herochat to IRC messages
hero-chat: '[%CHANNEL%]<%NAME%> %MESSAGE%'
hero-action: '[&2%CHANNEL%&r]***%NAME% %MESSAGE%'
# Message templates for IRC to Herochat messages
irc-hero-action: '[&3IRC&r] ***%NAME% %MESSAGE%'
irc-hero-chat: '[&3IRC&r]<%NAME%> %MESSAGE%'
irc-hero-join: '[&3IRC&r] %NAME% has joined %CHANNEL%.'
irc-hero-kick: '[&3IRC&r] %NAME% was kicked from %CHANNEL% by %KICKER%. (Reason- %REASON%)'
irc-hero-part: '[&3IRC&r] %NAME% has left %CHANNEL%.'
irc-hero-quit: '[&3IRC&r] %NAME% has left %CHANNEL%.'
irc-hero-topic: '[&3IRC&r] Topic changed by %NAME%: %TOPIC%.'
# Message templates for IRC to VentureChat messages
irc-venture-action: '[&3IRC&r] ***%NAME% %MESSAGE%'
irc-venture-chat: '[&3IRC&r]<%NAME%> %MESSAGE%'
irc-venture-join: '[&3IRC&r] %NAME% has joined %CHANNEL%.'
irc-venture-kick: '[&3IRC&r] %NAME% was kicked from %CHANNEL% by %KICKER%. (Reason- %REASON%)'
irc-venture-part: '[&3IRC&r] %NAME% has left %CHANNEL%.'
irc-venture-quit: '[&3IRC&r] %NAME% has left %CHANNEL%.'
irc-venture-topic: '[&3IRC&r] Topic changed by %NAME%: %TOPIC%.'
# Message template for TitanChat to IRC messages
titan-chat: '[%CHANNEL%]<%NAME%> %MESSAGE%'
# Message templates for IRC to TitanChat messages
irc-titan-chat: '[&3IRC&r]<%NAME%> %MESSAGE%'
# Message template for TitanChat to IRC messages
ultimatechat-chat: '[%CHANNEL%]<%NAME%> %MESSAGE%'
# Message templates for IRC to TitanChat messages
irc-ultimatechat-chat: '[&3IRC&r]<%NAME%> %MESSAGE%'
# Help reply message
valid-irc-commands: 'Valid commands: %COMMANDS%'
# Invalid IRC command message
invalid-irc-command: "I'm sorry '%NICK%' I can't do that. Type '%CMDPREFIX%help' for a list of commands I might respond to."
no-perm-for-irc-command: "I'm sorry '%NICK%' you are not authorized to do that. Type '%CMDPREFIX%help' for a list of commands I might respond to."
# ReportRTS tempates
rts-notify: '[RTS:New] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
rts-complete: '[RTS:Complete] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
rts-claim: '[RTS:Claim] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
rts-unclaim: '[RTS:Unclaim] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
rts-held: '[RTS:Held] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
rts-assign: '[RTS:Assign] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
rts-reopen: '[RTS:Reopen] #%TICKETNUMBER% <%NAME%> %MESSAGE%'
# SimpleTicketManager
stm-create: '[STM] Ticket #%TICKETNUMBER% created by %NAME%: %REASON% %MESSAGE%'
stm-claim: '[STM] Ticket #%TICKETNUMBER% claim by %MODNAME%: %REASON% %MESSAGE%'
stm-close: '[STM] Ticket #%TICKETNUMBER% closed by %MODNAME%: %REASON% %MESSAGE%'
stm-comment: '[STM] Ticket #%TICKETNUMBER% new comment by %MODNAME%: %REASON% %MESSAGE%'
# Dynmap Web Chat to IRC
dynmap-web-chat: '[Dynmap] <%NAME%> %MESSAGE%'
# IRC to Dynmap Chat
irc-dynmap-web-chat: '[IRC] %MESSAGE%'
# IRC acion to Dynmap Chat (/me)
irc-action-dynmap-web-chat: '[IRC] ***%NAME% %MESSAGE%'
# IRC to dynmap nick template
irc-dynmap-nick: '[IRC] %NICK%'
# IRC to dynmap action nick template
irc-dynmap-action-nick: '[IRC] ***%NICK%'
# OreBroadcast message
ore-broadcast: '[OreBroadcast] &l%NAME%&c has found &6&l%COUNT%&c block%PLURAL% of [&l&k%ORECOLOR%%ORE%&c]'
# Jobs seperator
jobs-separator: ', '
# Message format per hero channel. From IRC to game.
irc-hero-channels:
Global: '[G][IRC]%PLAYERPREFIX%%NAME% %MESSAGE%'
# Message format per hero channel. From IRC actions to game.
irc-hero-action-channels:
Global: '[G][IRC]***%PLAYERPREFIX%%NAME% %MESSAGE%'
# Message format per hero channel. From game to IRC. Overrides hero-chat template.
hero-channels:
Global: '[%CHANNEL%]<%NAME%> %MESSAGE%'
# Emote message format per HeroChat channel. From game to IRC. Overrides hero-action template.
hero-action-channels:
Global: '[&2%CHANNEL%&r]***%NAME% %MESSAGE%'
# Message format per VentureChat channel. From IRC to game. Overrides venture-chat template.
irc-venture-channels:
Global: '&f[&2Global&f] [&4IRC&f] <%NAME%>&2: %MESSAGE%'
Staff: '&f[&aStaff&f] [&4IRC&f] <%NAME%>&a: %MESSAGE%'
Admin: '&f[&cAdmin&f] [&4IRC&f] <%NAME%>&c: %MESSAGE%'
Donator: '&f[&dDonator&f] [&4IRC&f] <%NAME%>&d: %MESSAGE%'
Help: '&f[&bHelp&f] [&4IRC&f] <%NAME%>&b: %MESSAGE%'
Trade: '&f[&3Trade&f] [&4IRC&f] <%NAME%>&3: %MESSAGE%'
Local: '&f[&eLocal&f] [&4IRC&f] <%NAME%>&e: %MESSAGE%'
Network: '&f[&6Network&f] [&4IRC&f] <%NAME%>&6: %MESSAGE%'
# Emote message format per VentureChat channel. From IRC to game. Overrides venture-action template.
irc-venture-action-channels:
Global: '&f[&2Global&f] [&4IRC&f]***%NAME%&2: %MESSAGE%'
Staff: '&f[&aStaff&f] [&4IRC&f]***%NAME%&a: %MESSAGE%'
Admin: '&f[&cAdmin&f] [&4IRC&f]***%NAME%&c: %MESSAGE%'
Donator: '&f[&dDonator&f] [&4IRC&f]***%NAME%&d: %MESSAGE%'
Help: '&f[&bHelp&f] [&4IRC&f]***%NAME%&b: %MESSAGE%'
Trade: '&f[&3Trade&f] [&4IRC&f]***%NAME%&3: %MESSAGE%'
Local: '&f[&eLocal&f] [&4IRC&f]***%NAME%&e: %MESSAGE%'
Network: '&f[&6Network&f] [&4IRC&f]***%NAME%&6: %MESSAGE%'
# Message format per VentureChat channel. From game to IRC. Overrides venture-chat template.
venture-channels:
Global: '&f[&2Global&f] <%NAME%>&2: %MESSAGE%'
Staff: '&f[&aStaff&f] <%NAME%>&a: %MESSAGE%'
Admin: '&f[&cAdmin&f] <%NAME%>&c: %MESSAGE%'
Donator: '&f[&dDonator&f] <%NAME%>&d: %MESSAGE%'
Help: '&f[&bHelp&f] <%NAME%>&b: %MESSAGE%'
Trade: '&f[&3Trade&f] <%NAME%>&3: %MESSAGE%'
Local: '&f[&eLocal&f] <%NAME%>&e: %MESSAGE%'
Network: '&f[&6Network&f] <%NAME%>&6: %MESSAGE%'
# Emote message format per VentureChat channel. From game to IRC. Overrides venture-action template.
venture-action-channels:
Global: '&f[&2Global&f]***%NAME%&2: %MESSAGE%'
Staff: '&f[&aStaff&f]***%NAME%&a: %MESSAGE%'
Admin: '&f[&cAdmin&f]***%NAME%&c: %MESSAGE%'
Donator: '&f[&dDonator&f]***%NAME%&d: %MESSAGE%'
Help: '&f[&bHelp&f]***%NAME%&b: %MESSAGE%'
Trade: '&f[&3Trade&f]***%NAME%&3: %MESSAGE%'
Local: '&f[&eLocal&f]***%NAME%&e: %MESSAGE%'
Network: '&f[&6Network&f]***%NAME%&6: %MESSAGE%'
# Message templates for Towny to IRC messages
towny-channel-chat: '%TOWNYCHANNELTAG%[%TOWNYCHANNEL%]<%NAME%> %MESSAGE%'
# Message templates for IRC to Towny messages
irc-towny-chat: '[&3IRC&r]<%NAME%> %MESSAGE%'
# Message format per towny channel. From IRC to game.
irc-towny-channels:
irc: '[IRC]%PLAYERPREFIX%%NAME% %MESSAGE%'
broadcast-message: '[Broadcast] <%NAME%> %MESSAGE%'
broadcast-console-message: '[Broadcast] <Console> %MESSAGE%'
# Prism templates. See above for token names.
prism-rollback: '[PrismRollback] [Player: %NAME%] [Radius: %RADIUS%] [Command: %COMMAND%] [Keyword: %KEYWORD%] [X,Y,Z: %X%,%Y%,%Z%] [World: %PARAMWORLD%]'
prism-drain: '[PrismDrain] [Player: %NAME%] [Radius: %RADIUS%] [OrigBlock: %ORIGINALBLOCK%] [NewBlock: %NEWBLOCK%] [X,Y,Z: %X%,%Y%,%Z%] [World: %BLOCKWORLD%]'
prism-extinguish: '[PrismExtinguish] [Player: %NAME%] [Radius%: %RADIUS] [OrigBlock: %ORIGINALBLOCK%] [NewBlock: %NEWBLOCK%] [X,Y,Z: %X%,%Y%,%Z%] [World: %BLOCKWORLD%]'
prism-custom: '[PrismCustom] [Player: %NAME%] [Action: %ACTION%] [Message: %MESSAGE%] [Plugin: %PLUGIN%]'
# RedditStream
reddit-messages: '[R] %MESSAGE%'
# NTheEndAgain
ntheendagain-hard: '[NTheEndAgain] %MESSAGE%'
ntheendagain-soft: '[NTheEndAgain] %MESSAGE%'
ntheendagain-crystal: '[NTheEndAgain] %MESSAGE%'
# Defaults below take effect when user joins IRC and matching player is offline
default-player-suffix: ''
default-player-prefix: ''
default-group-suffix: ''
default-group-prefix: ''
default-player-world: 'world'
default-player-group: ''
# Flood control
game-flood-warning: '&3Message not sent to IRC due to spamming. &rCooldown: %COOLDOWN%s'
irc-flood-warning: '&3Message not sent to game due to spamming. &rCooldown: %COOLDOWN%s'
# Log tailer format
log-tailer: '[LOG: %FILE%] %LINE%'
# Format for the @list command in IRC
list-format: '[&9Minecraft&r] &2Online &r(%COUNT%/%MAX%): %PLAYERS%'
list-separator: ', '
list-player: '%GROUPPREFIX%%NAME%'
# Sort playerlist by %NAME% and not by list-player format
list-sort-by-name: true
# Prevent game colors from appearing in IRC
strip-game-colors: false
# Prevent IRC colors from appearing in game
strip-irc-colors: false
# Strip IRC background colors (recommend leaving this as true)
strip-irc-bg-colors: true
# Strip game color codes from IRC to game chat. (Removes §)
strip-game-colors-from-irc: true
# Add IRC names to in-game tab list
custom-tab-list: false
# Nothing to see here
custom-tab-prefix: '[I] '
# IRC user gamemode in the tab list: ADVENTURE, CREATIVE, NOT_SET, SPECTATOR, SURVIVAL
custom-tab-gamemode: SPECTATOR
# IRC nick must be an exact match to a player name for token expanding
nick-exact-match: true
# IRC nick prefixes (can include & color codes)
nick-prefixes:
ircop: '&4~'
owner: '&5@'
ircsuperop: '&6&&'
op: '&c@'
halfop: '&3%'
voice: '&2+'
# See http://thelq.github.io/pircbotx/latest/apidocs/org/pircbotx/Colors.html#field.summary for IRC color names
# See https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html#enum_constant_summary for game color names
# Game to IRC color map: Game Color Code => IRC Color Code
irc-color-map:
AQUA: CYAN
BLACK: BLACK
BLUE: BLUE
BOLD: BOLD
DARK_AQUA: TEAL
DARK_BLUE: DARK_BLUE
DARK_GRAY: DARK_GRAY
DARK_GREEN: DARK_GREEN
DARK_PURPLE: PURPLE
DARK_RED: RED
GOLD: OLIVE
GRAY: LIGHT_GRAY
GREEN: GREEN
LIGHT_PURPLE: MAGENTA
RED: RED
UNDERLINE: UNDERLINE
YELLOW: YELLOW
WHITE: WHITE
RESET: NORMAL
ITALIC: ITALIC
# IRC to game color map: IRC Color Code => Game Color Code
game-color-map:
BLACK: BLACK
BLUE: BLUE
BOLD: BOLD
BROWN: GRAY
CYAN: AQUA
DARK_BLUE: DARK_BLUE
DARK_GRAY: DARK_GRAY
DARK_GREEN: DARK_GREEN
GREEN: GREEN
LIGHT_GRAY: GRAY
MAGENTA: LIGHT_PURPLE
NORMAL: RESET
OLIVE: GOLD
PURPLE: DARK_PURPLE
RED: RED
TEAL: DARK_AQUA
UNDERLINE: UNDERLINE
WHITE: WHITE
YELLOW: YELLOW
ITALIC: ITALIC
Debug: false
# Ignore chat cancellation.
ignore-chat-cancel: false
# Broadcast IRC chat to console
broadcast-chat-to-console: true