Code (YAML):
debug
: false
# See: https://timezonedb.com/time-zones
ZoneId
: 'Europe/Paris'
nopermission
: '&cYou don''t have permission to use this command'
spacers
:
[' ', ', ', ' and '
]
date:
format:
plural
:
['years', 'months', 'days', 'hours', 'minutes', 'seconds'
]
singular
:
['year', 'month', 'day', 'hour', 'minute', 'second'
]
updater:
enabled
: true
staff-message:
cooldown
: 3
# seconds after connection to send the message, -1 to not send
message
: '&2&l
[&a&lDeltaManager&2&l
]&4A new version of the plugin is available for download.'
reminder-versions
: true
show-link
: true
logs:
login:
enabled
: true
message
: '&8
[&a+&8
]&f
%player%'
switch:
enabled
: true
message
: '&8
[&e●&8
]&f
%player%§7 switched §f%from%&7 &m--➔&f %to%'
disconnect:
enabled
: true
message
: '&8
[&c-&8
]&f
%player%'
nomoreplayers:
enabled
: true
message
: 'There are
no more players online'
webhook
:
# Is used when you leave the default url or you were "none"
default-url
: 'https://discord.com/api/webhooks/****/****'
login:
enabled
: false
url
: 'https://discord.com/api/webhooks/****/****'
show-ip
: false
switch:
enabled
: false
url
: 'https://discord.com/api/webhooks/****/****'
disconnect:
enabled
: false
url
: 'https://discord.com/api/webhooks/****/****'
nomoreplayers:
enabled
: false
url
: 'https://discord.com/api/webhooks/****/****'
content
: 'There are
no more players online'
save-connexion:
enabled
: false
reason
: 'server closed'
list
:
- lobby
- lobby01
- lobby02
message
:
- '&7&m
---------------------------------------------'
- '&cThe server you were on is now closed or restarting.'
- '&cSo you have been teleported to the Lobby.'
- '&7&m
---------------------------------------------'
# Kick message (if there is no Lobby available or present on a Lobby)
kick-message
:
- '&7&m
---------------------------------------------'
- ''
- '&cThe server you were on is now closed'
- ''
- '&6No Lobby available for the connection'
- ''
- '&ePlease try again later'
- ''
- '&7&m
---------------------------------------------'
# ! NEW !
reconnect:
enabled
: true
require-permission
: false
# permission: deltamanager.reconnect
logs
: true
timeout
: 180
period
: 10
# The 1st try (ping) will be only at 20 seconds, otherwise the server could answer when it should not
servers-list:
type
: 'blacklist'
# Types available : none, blacklist, whitelist
list
:
- survival
messages:
chat:
added
: '&aYou have been added to the queue to join the server you were on, click on this message to leave the queue.'
removed
: '&6You have been removed from the queue.'
enabled
: false
# Even if you enable this, if you leave a message blank or deleted, it will not be displayed (does not concern "added" and "removed" message)
available
: '&5&l
[&d&lReconnect&5&l
]&a Server available, connection in a few seconds
...'
unavailable
: '&5&l
[&d&lReconnect&5&l
]&c Server unreachable
(queued for
%server%)...'
success
: '&5&l
[&d&lReconnect&5&l
]&a Connecting to the server
...'
timeout
: '&5&l
[&d&lReconnect&5&l
]&c Server inaccessible for more than
%seconds% seconds, canceled queue.'
action-bar:
enabled
: true
# Even if you enable this, if you leave a message blank or deleted, it will not be displayed
available
: '&2✔&a Server available, connection in
%timeout% seconds...'
unavailable
: '&4✘&c Server unreachable
(queued for
%server%)...'
success
: '&2✔&a Connecting to the server
...'
timeout
: '&4✘&c Server inaccessible for more than
%seconds% seconds, canceled queue.'
monitor:
enabled
: true
interval
: 120
#seconds
# The server must be detected x times offline before being notified (to avoid simple restarts)
detected-offline
: 2
# If this option is enabled, server-list does not need to be completed
check-all-servers
: true
server-list
:
- lobby01
- lobby02
- lobby03
- practice
- bedwars
notify
:
# permission: deltamanager.monitor.alerts
show-seconds
: false
no-seconds
: 'less than one minute'
on-join:
enabled
: true
message
: '&2&l
[&a&lDeltaManager&2&l
]&c Offline servers :
%servers%'
servers
:
"\n&c- &4%server%&c since %duration%"
offline:
log:
enabled
: true
log
: '&4
%server%&c server is now offline'
staff-message
: '&2&l
[&a&lDeltaManager&2&l
]&4
%server%&c server is now offline'
webhook:
enabled
: false
url
: 'https://discord.com/api/webhooks/****/****'
author
: 'Server monitoring'
authoricon
: 'https://deltamc.fr/storage/img/server.png'
title
: '**
%server%** server is now offline'
back-online:
log:
enabled
: true
log
: '&2
%server%&a server is back online after %duration%'
staff-message
: '&2&l
[&a&lDeltaManager&2&l
]&2
%server%&a server is back online after %duration%'
webhook:
enabled
: false
url
: 'https://discord.com/api/webhooks/****/****'
author
: 'Server monitoring'
authoricon
: 'https://deltamc.fr/storage/img/server.png'
title
: '**
%server%** server is back online after **%duration%**'
chat:
enabled
: true
command-blacklist:
enabled
: true
alert-message:
content
: '&4&lDeltaShield &8» &f
%player% &7send wrong &f%type% &7[&4%vl%&r vl&7]'
hover-message:
- '&7Player
:
&r%player%'
- '&7Command
:
&r%msg%'
- '&7Type
:
&r%type%'
- '&7Flag
:
&r%flag%'
- '&7VL
:
&r%vl%'
punishments
:
# 0 is executed when punishments are not found
'0'
:
- cancel
- msg=&cThis command is not allowed!
- alert
- cmd=tempban
%player% 5m You have executed too many blacklisted commands
- resetvl
'1'
:
- cancel
- msg=&cThis command is not allowed!
- alert
'2'
:
- cancel
- msg=&cThis command is not allowed!
(2
)
- alert
- cmd=tempban
%player% 5m You have executed too many blacklisted commands
# List of blacklisted commands using Rebex to catch wrong commands (The commands are all taken in lower case)
regex
:
- '
(calc|eval|solve
).*?
(for|while|ln
)'
- '
(bukkit:
)
(about|pl|ver|help|\?
)'
startsWith
:
# Bukkit exploits
- 'icanhasbukkit'
- 'me'
- 'about'
- 'pl'
- 'plugins'
- 'ver'
- 'version'
#- 'bukkit:about'
#- 'bukkit:pl'
#- 'bukkit:plugins'
#- 'bukkit:ver'
#- 'bukkit:version'
#- 'bukkit:help'
#- 'bukkit:?'
# WorldEdit exploits (already in Regex)
#- '/calc'
#- '/eval'
#- '/evaluate'
#- '/calculate'
#- '/solve'
# PermissionsEx exploits
- 'pex'
- 'promote'
- 'demote'
- 'execute'
# Multiverse-Core exploits
- 'mv ^'
- 'mv help <'
- 'mvhelp <'
- '$'
message-blacklist:
enabled
: true
alert-message:
content
: '&4&lDeltaShield &8» &f
%player% &7send wrong &f%type% &7[&4%vl%&r vl&7]'
hover-message:
- '&7Player
:
&r%player%'
- '&7Message
:
&r%msg%'
- '&7Type
:
&r%type%'
- '&7Flag
:
&r%flag%'
- '&7VL
:
&r%vl%'
replaced-messages
:
- 'I have fun
all the time on this server, I recommend it to everyone!'
- 'I feel so sad today, could someone please make me feel better?'
punishments
:
# 0 is executed when punishments are not found
'0'
:
- alert
- replace
'1'
:
- replace
'2'
:
- alert
- replace
# Find using Regex to catch wrong messages
blacklisted-messages
:
- '
[A-Z0-9
]
{10,
}'
# Find word with more than 3 letter in upper case
- fuck
- bitch
- pussy
domain-redirection:
enabled
: false
# types: random, availability-order, [later on : more-people, less-people]
message
: ''
# Leave empty and remove to disable
error
: '&cThe server you were trying to connect to is unavailable, please try again later.'
domains:
lobby_deltamc_fr:
enabled
: true
type
: availability-order
queue
: -1
# -1 to disable otherwise put the place of the server on which you wanted to put the players in the queue
# Example : 0 to put the 1st server in the list
servers
:
- lobby