Aust1n46 f072821244 Fixed bug with the json algorithm
Prefixes and suffixes containing just color codes would break hex colors

Added new examples to the config and defaultconfig files
2020-07-30 17:40:03 -05:00

416 lines
12 KiB
YAML

#===============================================================
# VentureChat Config =
# Author: Aust1n46 =
#===============================================================
# - regex1,regex2
# Simple regex tips: Use \b to "cut" a section of the word or phrase. Example: \bass,donuts
# Example filtered sentence: You are an ass. Will become: You are an donuts.
# Example filtered sentence: You caught a bass. Will stay: You caught a bass.
# Example filtered sentence: You are an asshole. Will become: You are an donutshole.
# Default filters by Jabelpeeps
filters:
- (\b.?anus),donuts
- (\ba+r*(se+|ss+(?!(ass|um|oc|ign|ist)).*?|s*e*h+[o0]*[l1]+e*[sz]*)\b),donuts
- (b[i1]a?tch(es)?),puppy
- Carpet Muncher,cookie monster
- (\bc((?!ook\b)[o0]+c*|aw)k\W?(sucker|s*|he[ea]*d)\b),rooster
- (\b[ck]r+a+p+(er|s|z)?\b),poopoo
- (\bcu+m+\b),go
- (\b.?[ck](u*n+|[l1]+[i1]+)t+[sz]*\b),peach
- (\b.?d[1i](c?k(head)?|[l1]+d[o0])e?[sz]?\b),rooster
- f u c k( e r)?,nono
- (\b.?fai*g+[oei1]*t*[sz]*\b),cigar
- Fudge Packer,fine person
- (\b(m[uo]+th[ae]r?)?(f|ph)uc*k*(e[rn]|ah*|ing?|)[sz]?\b),oh dear
- (\b(j(ac|er|ur)k\W?(of+))|(ji[sz]+i*m*)\b),bake brownies
- (\b(ma+s+te?rbai?te?[rs]?|wank(er)?[sz]?)\b),bake brownies
- orafi(s|ce),rooster
- (\bp+[e3]+[ai]*n+[i1!ua]+s+),rooster
- (\bp[i1]s+(?!(ton))(flap|face|drop)?),peepee
- (\b.?sh[i1!y]t+(er?|y|head)?[sz]*),poopoo
- (\bva[1i]?[gj]+[i1]+na+\b),peach
- vu[1l]+va,peach
- planet.?minecraft,another dimension
- pmc,another dimension
- ((\d+\.){3}\d+),another dimension
# command without the /
blockablecommands:
- vote
- me
# blacklisted nicknames
nicknames:
- Notch
nickname-in-tablist: true
# {player} : player sending command
# {command} : command typed
commandspy:
format: '&6{player}: {command}'
worldeditcommands: true
antispam:
enabled: true
# number of messages to be spam
spamnumber: 5
# amount of time in seconds for it to be spam
spamtime: 10
# amount of time in minutes for the mute to last, use 0 for untimed mute
mutetime: 10
# Logging chat and commands to a mysql database
mysql:
enabled: false
user: User
port: 3306
password: Password
host: localhost
database: Database
# Login and logout messages
# Use Default for the vanilla login and logout messages
login:
enabled: true
message: Default
logout:
enabled: true
message: Default
# Loglevel feature is still in the works for adding of debug messages
# Valid loglevels:
# Info: Regular logging
# Debug: Show extra messages and caught errors for debugging
# Severe: Only show severe messages
loglevel: info
# saveinterval is in minutes
saveinterval: 30
# The time in seconds between each check to remove timed mutes
unmuteinterval: 60
# Enables or disabled BungeeCord messaging
bungeecordmessaging: false
# This will allow vanished players to be exempt from being sent private messages, and will act as if they aren't online
vanishsupport: true
# {playerto} : player receivings name
# {playerfrom} : player sendings name
# use Default for the basic formatting
tellformatto: Default
tellformatfrom: Default
tellformatspy: Default
replyformatto: Default
replyformatfrom: Default
replyformatspy: Default
# {host} : party hosts name
# {player} : player name
# use Default for the basic formatting
partyformat: Default
formatcleaner: true
# If true, /ignore will block chat from the ignored player as well as PM's
ignorechat: false
# The message shown to players alerting them no one is in the channel to hear them
emptychannelalert: "&6No one is listening to you."
messageremoverpermissions: '&cYou need additional permissions to view this message!'
messageremovertext: '&c&o<message removed>'
# The name of the group is the permissions node for the format
# Example: venturechat.json.Owner is the node for the group Owner
# A lower priority overrides a higher priority if a player has more than 1 group
# Possible options for click_name and click_prefix are suggest_command, run_command, and open_url
jsonformatting:
Default: # This default format is required! Do not delete or rename it!
priority: 2147483647 # Integer.MAX_VALUE
hover_name:
- '&6I have no rank!'
click_name: 'suggest_command'
click_name_text: '/msg {player_name}'
hover_prefix:
- '&dI am default!'
click_prefix: 'run_command'
click_prefix_text: '/help'
hover_suffix:
- '&dI am default suffix!'
click_suffix: 'suggest_command'
click_suffix_text: '/msg {player_name}'
Owner:
priority: 1 # Lowest Priority
hover_name:
- '&cOwner of the server!'
- '&bMessage me for help!'
click_name: 'suggest_command'
click_name_text: '/msg {player_name}'
hover_prefix:
- '&dServer Owner'
click_prefix: 'run_command'
click_prefix_text: '/help'
hover_suffix:
- '&dI am Owner suffix!'
click_suffix: 'suggest_command'
click_suffix_text: '/msg {player_name}'
# The icon is the block shown in the GUI
# The text is the display name of the block icon
# Include a slash (/) before the command
# Permissions are the name of the button and automatically include "venturechat."
# Example: mute equals venturechat.mute
venturegui:
mute:
icon: 'REDSTONE_BLOCK'
durability: 0
text: '&cMute {player_name}'
permission: 'mute'
command: '/mute {player_name} {channel} 10'
slot: 1
unmute:
icon: 'DIAMOND_BLOCK'
durability: 0
text: '&bUnmute {player_name}'
permission: 'mute'
command: '/unmute {player_name} {channel}'
slot: 2
removemessage:
icon: 'DIAMOND_AXE'
durability: 0
text: '&cRemove Message'
permission: 'removemessage'
command: '/removemessage {hash} {channel}'
slot: 7
guiicon: '&c [✓]'
guitext: '&cOpen Moderation GUI'
guirows: 1
# All clickable URL's will be underlined if set to true
underlineurls: true
# broadcast information
broadcast:
color: red
permissions: venturechat.adminchannel
displaytag: '[Broadcast]'
# Use $ to include arguments into the message
# Valid component types are:
# Command: Sends a message or command in chat
# Message: Sends a message to the player
# Broadcast: Sends a broadcast to all players on the server
# Permissions automatically include "venturechat."
# Example: permissions: alert equals venturechat.alert
# Use None for no permissions
# The number of arguments is the minimum number of required arguments, use 0 for no required arguments
alias:
vote:
arguments: 0
permissions: None
components:
- 'Message: &6Vote here: www.votelinkhere.com'
bane:
arguments: 2
permissions: bane
components:
- 'Command: /ban $ appeal at www.site.com'
- 'Command: /st banned $'
alert:
arguments: 1
permissions: alert
components:
- 'Broadcast: &c<Alert> $'
donate:
arguments: 0
permissions: None
components:
- 'Message: &bDonate here: www.mywebsite.com'
website:
arguments: 0
permissions: None
components:
- 'Message: &aThis is our website: www.site.net'
tell:
arguments: 0
permissions: None
components:
- 'Command: /vtell$'
whisper:
arguments: 0
permissions: None
components:
- 'Command: /vwhisper$'
w:
arguments: 0
permissions: None
components:
- 'Command: /vwhisper$'
msg:
arguments: 0
permissions: None
components:
- 'Command: /vmessage$'
message:
arguments: 0
permissions: None
components:
- 'Command: /vmessage$'
# Enables the creation of special Towny channels: Town and Nation
# To create these channels, simply name two channels below "Town" and "Nation"
# Bungeecord must be set to false for these channels!
enable_towny_channel: false
# Enables the creation of a special faction only channel using the Factions plugin
# To create this channel, simply name a channel below "Faction"
# Bungeecord must be set to false for this channel!
# WARNING: May not work for all versions of Factions!
enable_factions_channel: false
# color = [channel] color
# chatcolor = text color
# cooldown is in seconds
# bungeecord overrides distance
# channel permissions are configurable
# channels can be changed, and new channels can be created
# Permissions automatically include "venturechat."
# Example: permissions: staff equals venturechat.staff
# Use None for no permissions
# Use PlaceholderAPI placeholders are required!!!
# Use PlaceholderAPI placeholders are required!!!
# Use PlaceholderAPI placeholders are required!!!
# /papi ecloud download [plugin]
# /papi reload
# Use '' or "" around format, example: '[&2global&f] {vault_prefix} {player_displayname}&2:'
# You must have prefixes and suffixes set in a Vault compatible permissions plugin to avoid errors
# Use "" as the prefix or suffix to have none
#Set chatcolor to 'None' to have a group based chat color! Don't forget to put a suffix or other placeholder at the end of the format!
channels:
GroupChatColorExample:
color: '#706C1E'
chatcolor: 'None'
mutable: true
filter: true
autojoin: true
default: false
distance: 0
cooldown: 0
bungeecord: false
alias: ge
permissions: None
format: '&f[#706C1EGroupColorChat&f] {vault_prefix} {player_displayname}#706C1E:{vault_suffix}'
HexExample:
color: '#ff0000'
chatcolor: '#ff0000'
mutable: true
filter: true
autojoin: true
default: false
distance: 0
cooldown: 0
bungeecord: false
alias: he
permissions: None
format: '&f[#ff0000Hex&f] {vault_prefix} {player_displayname}#ff0000:'
BungeeExample:
color: gold
chatcolor: gold
mutable: true
filter: true
autojoin: true
default: false
distance: 0
cooldown: 3
bungeecord: true
alias: be
permissions: None
format: '&f[&6Network&f] {vault_prefix} {player_displayname}&6:'
Global:
color: dark_green
chatcolor: dark_green
mutable: true
filter: true
autojoin: true
default: true
distance: 0
cooldown: 0
bungeecord: false
alias: g
permissions: None
format: '&f[&2Global&f] {vault_prefix} {player_displayname}&2:'
Staff:
color: green
chatcolor: green
mutable: false
filter: false
autojoin: true
default: false
distance: 0
cooldown: 0
bungeecord: false
alias: st
permissions: staffchannel
format: '&f[&aStaff&f] {vault_prefix} {player_displayname}&a:'
Donator:
color: light_purple
chatcolor: light_purple
mutable: true
filter: true
autojoin: true
default: false
distance: 0
cooldown: 0
bungeecord: false
alias: d
permissions: donatorchannel
format: '&f[&dDonator&f] {vault_prefix} {player_displayname}&d:'
Help:
color: aqua
chatcolor: aqua
mutable: true
filter: true
autojoin: true
default: false
distance: 0
cooldown: 0
bungeecord: false
alias: h
permissions: None
format: '&f[&bHelp&f] {vault_prefix} {player_displayname}&b:'
Trade:
color: dark_aqua
chatcolor: dark_aqua
mutable: true
filter: true
autojoin: true
default: false
distance: 0
cooldown: 0
bungeecord: false
alias: t
permissions: None
format: '&f[&3Trade&f] {vault_prefix} {player_displayname}&3:'
Local:
color: yellow
chatcolor: yellow
mutable: true
filter: true
autojoin: true
default: false
distance: 230
cooldown: 0
bungeecord: false
alias: l
permissions: None
format: '&f[&eLocal&f] {vault_prefix} {player_displayname}&e:'