Ban Management
Ban Management | ||||
---|---|---|---|---|
![]() | ||||
Plugin | ||||
Catégorie | Modération [edit] | |||
Développeur(s) | confuserr | |||
Bukkit | ban-management | |||
Nefald | ||||
Status | installé [edit] | |||
Grade requis | Officier | |||
Article | ||||
Dernière révision | 28/09/2017 |

Ban Management est le plugin qui gère sur Nefald les bannissements, kick, etc. Tout aussi efficace que MCBans, BM est quand à lui en local et utilise MySQL, ce qui permet d'avoir une banlist php ou de partager sa base de données. Mais aussi d'avoir plusieurs serveurs. Un régal.
Commandes et permissions
- Traduit depuis la documentation originelle
Commande | Description | Flag(s) | Permission |
---|---|---|---|
/ban <pseudo> <raison> | Bannir un joueur | -s | bm.command.ban |
/tempban <pseudo> <temps> <raison> | Bannir temporairement un joueur | -s | bm.command.tempban |
/unban <pseudo> | Débannir un joueur | -s | bm.command.unban |
/mute <pseudo> <raison> | Mute un joueur | bm.command.mute | |
/tempmute <pseudo> <temps> <raison> | Mute temporairement un joueur | -s | bm.command.tempmute |
/unmute <pseudo> | Unmute un joueur | bm.command.unmute | |
/banip <pseudo || IP> <raison> | Bannir une IP et son pseudo | -s | bm.command.banip |
/tempbanip <pseudo || IP> <temps> <raison> | Bannir temporairement une IP | -s | bm.command.tempbanip |
/unbanip <ip> | Débannir une IP | -s | bm.command.unbanip |
/baniprange <cidr || wildcard> <raison> | Bannir définitivement un cidr ou une wildcard d'une plage d'IPs ex.: 192.168.0.1/16 ou 192.168.*.*
|
-s | bm.command.baniprange |
/tempbaniprange <cidr || wildcard> <temps> <raison> | Bannir temporairement un cidr ou une wildcard d'une plage d'IPs | -s | bm.command.tempbaniprange |
/unbaniprange <cidr ||/ wildcard || player> | Unban une plage d'IPs | bm.command.unbaniprange | |
/warn <pseudo> <raison> | Mettre un warn à un joueur | -s | bm.command.warn |
/dwarn <pseudo> | Supprimer le dernier warn enregistré d'un joueur | -s | bm.command.dwarn |
/addnote <joueur> <message> | Ajouter une note concernant un joueur | -s | bm.command.addnote |
/notes <joueur> | Voir les notes concernant tous les joueurs en ligne ou d'un joueur en particulier | bm.command.notes
| |
/kick <pseudo> <raison (optionnel)> | Kicker un joueur | bm.command.kick | |
/nlkick <pseudo> <raison (optionnel)> | Kicker un joueur (si kickloging est activé) | bm.command.kick | |
/bminfo <pseudo> | Obtenir des informations à propos d'un joueur | -bans, -kicks, -mutes, -notes, -time, -warns | bm.command.bminfo.ipstats |
/bmimport <pseudo ||alias || ip> <raison> | Importer de banned-players.txt un joueur banni | bm.command.import | |
/bmexport <pseudo ||alias || ip> <raison> | Exporter de banned-players.txt un joueur banni | bm.command.export | |
/bmreload | Recharger la configuration | bm.command.reload | |
/bmsync <local || external> | Forcer le serveur à se synchroniser avec la base de données | bm.command.sync | |
/bmclear <joueur> <banrecords || kicks || muterecords || notes || warnings> | Supprimer toutes les données concernant un joueur | bm.command.clear | |
/bmdelete <banrecords || kicks || muterecords || notes || warnings> <ids> | Supprimer un enregistrement défini de la base de donnée, concernant un joueur selon l'ID (/bminfo) | bm.command.delete | |
/bmactivity <temps> <pseudo> | Voir les activités récentes concernant un staff ou un joueur | bm.command.activity | |
/alts <pseudo> | Obtenir des informations à propos d'un joueur, dont les pseudonymes/comptes alternatifs | bm.command.bminfo.alts |
Flags
Option (Flag) | Alias | Description | Permission | Exemple |
---|---|---|---|---|
-silent | -s | Exécuter la commande silencieusement, sans broadcast | bm.command.<commande>.silent ex.: bm.command.tempban.silent |
/ban -s confuser Test |
-bans | -b | Lister les bans connus d'un joueur avec /bminfo | bm.command.bminfo.history.bans
|
/bminfo confuser -b |
-kicks | -w | Lister les kicks connus d'un joueur via /bminfo | bm.command.bminfo.history.kicks
|
/bminfo confuser -k |
-mutes | -m | Lister les mutes connus d'un joueur via /bminfo | bm.command.bminfo.history.mutes
|
/bminfo confuser -m |
-notes | -n | Lister les notes connus d'un joueur via /bminfo | bm.command.bminfo.history.notes
|
/bminfo confuser -n |
-warns | -w | Lister les warns connus d'un joueur via /bminfo | bm.command.bminfo.history.warnings
|
/bminfo confuser -w |
-time | -t | Limiter les données affichées dans le temps | /bminfo confuser -t 23w |
Permissions détaillées
Permission | Description |
---|---|
bm.command.ban
|
Permet de bannir façon permanente quelqu'un |
bm.command.ban.offline
|
Permet de bannir façon permanente quelqu'un hors-ligne |
bm.command.ban.override
|
Permet d'outrepasser un ban existant |
bm.command.tempban
|
Permet de bannir temporairement quelqu'un |
bm.command.tempban.offline
|
Permet de bannir façon temporaire quelqu'un hors-ligne |
bm.command.tempban.override
|
Permet d'outrepasser un ban temporaire existant |
bm.command.unban
|
Permet de débannir quelqu'un |
bm.command.unban.own
|
Permet de débannir uniquement quelqu'un qu'il aurait lui-même banni |
bm.command.warn
|
Permet d'avertir quelqu'un |
bm.command.warn.offline
|
Permet d'avertir quelqu'un hors-ligne qui sera prévenu lors de sa prochaine connexion |
bm.command.sync
|
Permet de faire une synchronisation forcée |
bm.command.baniprange
|
Permet de bannir de façon permanente une plage IP |
bm.command.tempbaniprange
|
Permet de bannir de façon temporaire une plage IP |
bm.command.unbaniprange
|
Permet de débannir une plage IP |
bm.command.banlist
|
Permet de vous les sanctions en cours |
bm.command.banlist.players
|
Permet de voir les joueurs actuellement bannis |
bm.command.banlist.ips
|
Permet de voir les IPs actuellement bannies |
bm.command.banlist.ipranges
|
Permet de voir les plages IPs actuellement bannies |
bm.command.bmactivity
|
Permet de voir les sanctions récentes |
bm.command.clear
|
Permet de supprimer les enregistrements concernant un joueur |
bm.command.clear.banrecords
|
Permet de supprimer les bans enregistrés concernant un joueur |
bm.command.clear.kicks
|
APermet de supprimer les kicks enregistrés concernant un joueur |
bm.command.clear.muterecords
|
Permet de supprimer les mutes enregistrés concernant un joueur |
bm.command.clear.notes
|
Permet de supprimer les notes enregistrées concernant un joueur |
bm.command.clear.warnings
|
Permet de supprimer les avertissements enregistrées concernant un joueur |
bm.command.addnote
|
Permet d'ajouter une note à un joueur |
bm.command.notes
|
Permet de voir toutes les notes concernant un joueur |
bm.command.notes.online
|
Permet de voir les notes concernant tous les joueurs actuellement en ligne |
bm.command.bminfo
|
Allows use of /bminfo which shows your current ban info |
bm.command.bminfo.playerstats
|
Allows seeing player statistics, amount of bans, mutes etc |
bm.command.bminfo.connection
|
Allows seeing player's logged ip address |
bm.command.bminfo.ipstats
|
Allows seeing ip statistics such as amount of bans |
bm.command.bminfo.alts
|
Allows seeing possible alts, same output as /alts |
bm.command.bminfo.website
|
Displays link to players ban page, requires configuring within messages.yml |
bm.command.bminfo.others
|
Allows viewing other players information |
bm.command.banip
|
Allows you to ban an ip |
bm.command.banip.override
|
Allows overriding an existing ip ban |
bm.command.tempbanip
|
Allows you to tempban an ip |
bm.command.tempbanip.override
|
Allows overriding an existing ip ban |
bm.command.unbanip
|
Allows you to unban an ip |
bm.command.import
|
Allows importing of banned players and ips from banned-players.json and banned-ips.json files |
bm.command.kick
|
Allows you to kick another player |
bm.command.nlkick
|
Allows you to kick another player without logging it |
bm.command.mute
|
Allows you to mute a player |
bm.command.mute.offline
|
Required to façon permanente mute an offline player |
bm.command.mute.override
|
Allows you to override an existing mute |
bm.command.tempmute
|
Allows you to temp mute a player |
bm.command.tempmute.offline
|
Required to temporary mute an offline player |
bm.command.tempmute.override
|
Allows you to override an existing mute |
bm.command.unmute
|
Allows you to unmute a player |
bm.command.unmute.own
|
Permet de only unmute a player they muted |
bm.command.reload
|
Allows you to reload from the config |
bm.exempt.kick
|
Online players with this permission cannot be kicked, highly recommended for admins |
bm.exempt.ban
|
Online players with this permission cannot be banned, highly recommended for admins |
bm.exempt.ban.override
|
Permet de ban an exempt player |
bm.exempt.tempban
|
Online players with this permission cannot be temporarily banned,highly recommended for admins |
bm.exempt.tempban.override
|
Permet de tempban an exempt player |
bm.exempt.mute
|
Online players with this permission cannot be muted, highly recommended for admins |
bm.exempt.mute.override
|
Permet de mute an exempt player |
bm.exempt.tempmute
|
Online players with this permission cannot be temporarily muted, highly recommended for admins |
bm.exempt.tempmute.override
|
Permet de tempmute an exempt player |
bm.exempt.banip
|
Online players with this permission cannot be ip banned, highly recommended for admins |
bm.exempt.banip.override
|
Permet de ip ban an exempt player |
bm.exempt.tempbanip
|
Online players with this permission cannot be temporarily banned, highly recommended for admins |
bm.exempt.tempbanip
|
Permet de ip ban an exempt player |
bm.notify.ban
|
Notified when a player is façon permanente banned |
bm.notify.tempban
|
Notified when a player is temporarily banned |
bm.notify.unban
|
Notified when a player is unbanned |
bm.notify.banip
|
Notified when an ip is façon permanente banned |
bm.notify.tempbanip
|
Notified when an ip is temporarily banned |
bm.notify.unipban
|
Notified when an ip is unbanned |
bm.notify.mute
|
Notified when a player is façon permanente muted |
bm.notify.tempmute
|
Notified when a player is temporarily muted |
bm.notify.unmute
|
Notified when a player is unmuted |
bm.notify.baniprange
|
Notified when an ip range is façon permanente banned |
bm.notify.tempbaniprange
|
Notified when an ip range is temporarily banned |
bm.notify.unbaniprange
|
Notified when an ip range is unbanned |
bm.notify.kick
|
Notified when a player is kicked |
bm.notify.warn
|
Notified when a player is warned |
bm.notify.duplicateips
|
Notified when a player with the same ip address of a banned player joins |
bm.notify.notes
|
Notified when a note is created for a player |
bm.notify.notes.join
|
Displays all notes associated with a player who joined the server |
bm.notify.denied.player
|
Notified when a banned player attempts to join |
bm.notify.denied.ip
|
Notified when a player attempts to join from a banned ip address |
bm.timelimit.bans.bypass
|
Permet de bypass any group limitations on temporary ban lengths |
bm.timelimit.mutes.bypass
|
Permet de bypass any group limitations on temporary mute lengths |
Configuration
#
# Aliases will be found and blocked automatically, e.g. msg will block tell
debug: false
databases:
local:
enabled: true
host: <HOST>
port: 3306
name: <DATABASE>
user: <USER>
password: <PASSWORD>
maxConnections: 10
tables:
players: banman_players
playerBans: banman_player_bans
playerBanRecords: banman_player_ban_records
playerMutes: banman_player_mutes
playerMuteRecords: banman_player_mute_records
playerKicks: banman_player_kicks
playerNotes: bm_player_notes
playerReports: bm_player_reports
playerReportLocations: bm_player_report_locations
playerWarnings: banman_player_warnings
ipBans: banman_ip_bans
ipBanRecords: banman_ip_ban_records
ipMutes: bm_ip_mutes
ipMuteRecords: bm_ip_mute_records
ipRangeBans: bm_ip_range_bans
ipRangeBanRecords: bm_ip_range_ban_records
external:
enabled: false
host: 127.0.0.1
port: 3306
name: external_bans
user: root
password: ''
maxConnections: 10
tables:
playerBans: bm_player_ban_all
playerUnbans: bm_player_unban_all
playerMutes: bm_player_mute_all
playerUnmutes: bm_player_unmute_all
playerNotes: bm_player_note_all
ipBans: bm_ip_ban_all
ipUnbans: bm_ip_unban_all
convert:
enabled: false
host: <HOST>
port: 3306
name: <DATABASE>
user: <USER>
password: <PASSWORD>
maxConnections: 10
tables:
bansTable: bm_bans
bansRecordTable: bm_ban_records
ipBansTable: bm_ip_bans
ipBansRecordTable: bm_ip_records
kicksTable: bm_kicks
mutesTable: bm_mutes
mutesRecordTable: bm_mutes_records
playerIpsTable: bm_player_ips
warningsTable: bm_warnings
mutedCommandBlacklist:
- msg
softMutedCommandBlacklist:
- msg
duplicateIpCheck: true
bypassDuplicateChecks:
- 0.0.0.0
logKicks: true
displayNotifications: true
broadcastOnSync: false
timeLimits:
playerMutes:
Moderator: 1h
playerBans:
Moderator: 1d
ipBans:
Moderator: 1d
reportCooldown: 10
warningCooldown: 10
warningActions:
enabled: false
actions:
'10': ban [player] [reason]
hooks:
enabled: false
checkForUpdates: true
offlineAutoComplete: true
punishAlts: false
cleanUp:
kicks: 30
banRecords: 0
ipBanRecords: 0
ipMuteRecords: 0
muteRecords: 0
readWarnings: 0
unreadWarnings: 0
maxOnlinePerIp: 0
checkOnJoin: false
onlineMode: true
messages.yml
# Variables
# [reason] = Ban/Mute reason
# [player] = The name of the player
# [ip] = The banned ip
# [actor] = Who banned/muted
# [expires] = How long until the ban/mute ends
messages:
duplicateIP: '&cWarning: [player] a la même ip que les joueurs bannis suivants :\n&6[players]'
configReloaded: '&aConfiguration rechargée avec succès!'
deniedNotify:
player: '&cWarning: [player] a tenté de rejoindre le serveur mais cela lui a été refusé pour la raison suivante: [reason]'
ip: '&cWarning: [player] a tenté de rejoindre le serveur mais cela lui a été refusé pour la raison suivante: [reason]'
deniedMaxIp: '&cTrop de joueurs ayant la même adresse IP que vous sont déjà sur le serveur'
deniedCountry: '&cYou may not connect from your region'
time:
now: maintenant
year: année
years: années
month: mois
months: mois
day: jour
days: jours
hour: heure
hours: heures
minute: minute
minutes: minutes
second: seconde
seconds: secondes
never: jamais
error:
invalid: '&cVotre longueur de temps est invalide'
limit: '&cVous ne pouvez pas effectuer cette action pour cette durée de temps'
none: none
sender:
error:
notFound: '&c[player] non trouvé, êtes-vous sûr qu’il existe?'
offline: '&c[player] est hors ligne'
noSelf: '&cVous ne pouvez pas effectuer cette action sur vous-même!'
exception: '& une erreur s’est produite en essayant d’effectuer cette commande.
Vérifiez la console pour l’erreur.'
invalidIp: '&cAdresse IP invalide, format w.x.y.z attendu'
offlinePermission: '&cVous ne devriez pas effectuer cette action sur un joueur
hors ligne'
exempt: '&c[player] est exempté de cette action'
noPermission: '&cVous n‘avez pas la permission de faire ça'
alts:
header: 'Possibles aliases trouvés:'
export:
error:
inProgress: '&cUn export est déjà en cours, veuillez patienter'
player:
started: '&aUn export des joueurs bannis est en cours'
finished: '&aL‘export des joueurs bannis est terminé, le fichier [file] a été créé'
ip:
started: '&aUn export des IPs bannies est en cours'
finished: '&aL‘export des IPs bannies est terminé, le fichier [file] a été créé'
import:
error:
inProgress: '&cUne importation est déjà en cours, veuillez patienter s’il vous
plaît'
player:
started: '&aImportation ban joueur commencée'
finished: '&aImportation ban joueur terminée'
ip:
started: '&aImportation ban ip commencée'
finished: '&aImportation ban ip terminée'
info:
error:
incorrectFlagUsage: '&cA flag has been incorrectly used'
stats:
player: '[player] a été banni [bans] fois, mute [mutes] fois and averti [warns]
fois'
ip: Cette ip a été banni [bans] fois
connection: Leur dernière connexion était avec [ip] sur [lastSeen]
geoip: 'Country: [country] City: [city]'
ban:
permanent: Actuellement banni pour [reason] par [actor] à [created]
temporary: Actuellement banni pour [reason] par [actor] à [created] qui expire dans [expires]
dateTimeFormat: dd-MM-yyyy HH:mm:ss
mute:
permanent: Actuellement mute pour [reason] par [actor] à [created]
temporary: Actuellement mute pour [reason] par [actor] à [created] qui expire dans [expires]
dateTimeFormat: dd-MM-yyyy HH:mm:ss
website:
player: http://yourdomain.com/index.php?action=viewplayer&player=[player]&server=0
ip: http://yourdomain.com/index.php?action=viewip&ip=[ip]&server=0
history:
row: '&7#[id] &a[&f[type]&a] &6[actor]&f [reason] - &e[created]'
dateTimeFormat: dd-MM-yyyy HH:mm:ss
noResults: '&cAucun résultat'
kick:
player:
noReason: Vous avez été kické
reason: Vous avez été kické [reason]
notify: '[player] a été kické par [actor] pour [reason]'
ban:
player:
disallowed: Vous avez été banni pour [reason]
kick: Vous avez été banni définitivement de ce serveur pour [reason]
notify: '[player] a été définitivement banni par [actor] pour [reason]'
error:
exists: '&c[player] est déjà banni'
banall:
notify: '[player] est définitivement banni par [actor] pour [reason]'
tempban:
player:
disallowed: Vous avez été banni de ce serveur pour [reason] \nIt pour une durée de [expires]
kick: Vous avez été banni temporairement pour [reason]
notify: '[player] a été banni temporairement pour une duréer de [expires] par
[actor]. Raison : [reason]'
tempbanall:
notify: '[player] est banni temporairement pour une durée de [expires] par [actor].
Raison : [reason]'
unban:
notify: '[player] a été débanni par [actor]'
error:
noExists: '&c[player] n‘est pas banni'
notOwn: '&c[player] n‘a pas été banni par vous-même, vous ne pouvez pas le débannir'
unbanall:
notify: '[player] a été débanni par [actor]'
mute:
player:
blocked: '&cVous ne pouvez pas utiliser [command] commande tandis que vous êtes
mute!'
disallowed: Vous avez été mute de façon permanente car [reason] par [actor]
notify: '[player] a été mute de façon permanente par [actor] car [reason]'
error:
exists: '&c[player] est déjà mute'
muteip:
ip:
disallowed: '&6Vous avez été banni pour &4[reason]'
notify: '&6[ip] ([players]) ont été définitivement mute par [actor] pour &4[reason]'
error:
exists: '&c[ip] est déjà mute'
muteall:
notify: '[player] vont être mute de façon permanente par [actor] car [reason]'
tempmute:
player:
disallowed: Vous avez été mute de façon permanente car [reason] par [actor] qui expire dans [expires]
notify: '&c[player] a été temporairement mute pour [expires] par [actor] car [reason]'
error:
exists: '&c[player] est déjà mute!'
tempmuteip:
ip:
disallowed: '&6Vous avez été temporairement mute pour &4[reason] &6par [actor] durant [expires]'
notify: '&6[ip] ([players]) été temporairement mute durant [expires] par [actor]
for &4[reason]'
error:
exists: '&c[ip] est déjà mute'
tempmuteall:
notify: '&c[player] va être temporairement mute pour [expires] par [actor] car
[reason]'
unmute:
notify: '[player] a été démute par [actor]'
error:
noExists: '&c[player] n’est pas mute!'
notOwn: '&c[player] n’a pas été mute par vous, impossible de démute'
unmuteall:
notify: '[player] ba être démute par [actor]'
banip:
ip:
disallowed: Vous avez été banni de ce serveur car [reason]
kick: Vous avez été banni de façon permanente pour [reason]
notify: '[ip] a été banni de façon permanente par [actor] car [reason]'
error:
exists: '&c[ip] est déjà banni'
baniprange:
error:
invalid: '&cPlage IP invalide, utilisez un cidr du type 192.168.0.1/16 ou un wildcard
192.168.*.*'
minMax: '&cRange must be lowest to higest'
exists: '&cA Des bannissements comprenant ces plages IP existent déjà'
ip:
disallowed: Vous avez été banni pour [reason]
kick: Vous avez été définitivement banni pour [reason]
notify: 'Les IPs [from] - [to] ont été bannies par [actor]'
tempbaniprange:
notify: 'Les IPs [from] - [to] ont été temporairement bannies durant [expires] par [actor]'
ip:
disallowed: Vous avez été banni pour [reason] \nIt durant [expires]
kick: Vous avez été temporairement banni durant [expires] par [actor] pour [reason]
unbaniprange:
notify: 'Les IPs [from] - [to] ont été débannies par [actor]'
banipall:
notify: 'L‘IPs [ip] va être banni de façon permanente par [actor] car [reason]'
tempbanip:
ip:
disallowed: Vous avez été banni de ce serveur car [reason] \nCela expirera dans [expires]
kick: Vous avez été banni temporairement car [reason]
notify: '[player] a été banni temporairement pour [expires] par [actor] car [reason]'
tempbanipall:
notify: '[player] va être banni temporairement pour [expires] par [actor] car
[reason]'
unbanip:
notify: '[ip] a été débanni par [actor]'
error:
noExists: '&c[ip] n’est pas banni'
unbanipall:
notify: '[ip] a été débanni par [actor]'
warn:
player:
warned: '&cVous avez été averti par [actor] car [reason]'
notify: '[player] a été averti par [actor] car [reason]'
error:
cooldown: '&cCe joueur a été averti trop récemment, veuillez réessayer plus
tard'
tempwarn:
player:
warned: '&cVous avez été averti pour une durée de [expires] par [actor] avec la raison: [reason]'
notify: '[player] a été averti pour une durée de [expires] par [actor] avec la raison: [reason]'
dwarn:
player:
notify: '&6Votre avertissement le plus récent a été supprimé par &4[actor]'
notify: 'L’avertissement le plus récent pour [player] a été effacé'
error:
noWarnings: '&c[player] n’a pas d’avertissement à effacer'
bmclear:
notify: '[player] a eu sa [type] effacé'
error:
invalid: '&cType invalide, veuillez choisir entre banrecords, muterecords, kicks
ou warnings'
sync:
player:
started: '&aDémarrage de la synchronisation [type] forcé'
finished: '&aSynchronisation [type] forcée compléte'
update:
notify: '&a[BanManager] une mise à jour est disponible'
notes:
header: '&6[player] a les notes suivantes:'
note: '&6[[player]] &e[message]'
playerNote: '&a[[player]] &6[[actor]] &e[message]'
dateTimeFormat: dd-MM-yyyy
notify: '[player] a reçu une nouvelle note de [actor]: [message]'
error:
noNotes: '&c[player] n‘a pas de note'
noOnlineNotes: '&cAucun joueur actuellement en ligne n‘a de notes'
report:
notify: '&6[player] a été reporté par [actor] pour la raison: &4[reason]'
error:
cooldown: '&cCe joueur a été reporté trop récemment, essayez plus tard'
adnoteall:
notify: '[player] a reçu une nouvelle note de [actor]: [message]'
banlist:
header: '&6Il y a [bans] bans [type] :'
bmactivity:
row:
all: '&a[&f[type]&a] &6[player]&f - &6[actor]&f - &e[created]'
player: '&a[&f[type]&a] &6[player]&f - &e[created]'
dateTimeFormat: dd-MM-yyyy HH:mm:ss
noResults: '&cAucun résultat'
bmdelete:
notify: '&a[rows] lignes supprimées'
error:
invalid: '&cType invalide, choisissez entre banrecords, muterecords, kicks, notes ou avertissements'
invalidId: '&c[id] n‘est pas un nombre valide'