« Ban Management » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
m Voir aussi : maj du lien
Hiob (discussion | contributions)
mAucun résumé des modifications
Ligne 469 : Ligne 469 :
== Configuration ==
== Configuration ==
<syntaxhighlight lang="yaml">
<syntaxhighlight lang="yaml">
# Default configuration file for James' BanManagement Plugin
#  
localDatabase:
# Aliases will be found and blocked automatically, e.g. msg will block tell
     host: 'localhost'
debug: false
databases:
  local:
    enabled: true
     host: <HOST>
     port: 3306
     port: 3306
     database: 'frostcast'
     name: <DATABASE>
     username: 'root'
     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: ''
     password: ''
     bansTable: 'mb_bans'
     maxConnections: 10
    bansRecordTable: 'mb_ban_records'
    tables:
    ipBansTable: 'mb_ip_bans'
      playerBans: bm_player_ban_all
    ipBansRecordTable: 'mb_ip_records'
      playerUnbans: bm_player_unban_all
    kicksTable: 'mb_kicks'
      playerMutes: bm_player_mute_all
    mutesTable: 'mb_mutes'
      playerUnmutes: bm_player_unmute_all
    mutesRecordTable: 'mb_mutes_records'
      playerNotes: bm_player_note_all
    playerIpsTable: 'mb_player_ips'
      ipBans: bm_ip_ban_all
    warningsTable: 'mb_warnings'
      ipUnbans: bm_ip_unban_all
     banAppealsTable: 'mb_ban_appeals'
  convert:
     pinsTable: 'mb_pins'
    enabled: false
     staffTable: 'mb_staff'
    host: <HOST>
 
    port: 3306
# Enable for foreign characters
    name: <DATABASE>
useUTF8: false
    user: <USER>
 
    password: <PASSWORD>
# Enable to log player IPs to allow for offline player ip banning and ip duplicate check of banned players on player join
    maxConnections: 10
logIPs: true
    tables:
 
      bansTable: bm_bans
# Only fill in if you are syncing bans across servers
      bansRecordTable: bm_ban_records
serverName: ''
      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
checkForUpdates: true
logKicks: false
offlineAutoComplete: true
 
punishAlts: false
# Keep records for number of days, use 0 to never delete
cleanUp:
cleanUp:
    kicks: 30
  kicks: 30
    banRecords: 0
  banRecords: 0
    ipBanRecords: 0
  ipBanRecords: 0
    muteRecords: 0
  ipMuteRecords: 0
    playerIPs: 30
  muteRecords: 0
    warnings: 0
  readWarnings: 0
 
  unreadWarnings: 0
# Scheduler intervals in seconds, recommended to leave as default values.
maxOnlinePerIp: 0
# Only change if you know what you are doing!
checkOnJoin: false
scheduler:
onlineMode: true
    expiresCheck: 300
</syntaxhighlight>
    bukkitUnban: 3
    newMutes: 8
    newBans: 8
    newIPBans: 8


# Blacklist commands for muted players
=== messages.yml ===
mutedCommandBlacklist:
<syntaxhighlight lang"Yaml">
    - msg
# Variables
 
# [reason] = Ban/Mute reason
# Leave false, this is for Tekkit Classic servers
# [player] = The name of the player
useSyncChat: false
# [ip] = The banned ip
 
# [actor] = Who banned/muted
# Simply give the permission bm.timelimit.mutes.X or bm.timelimit.bans.X to apply the time limits
# [expires] = How long until the ban/mute ends
# replace X with the group defined here, can be anything you like.
timeLimits:
    mutes:
        Moderator: 1h
    bans:
        Moderator: 1d
 
# If set to true, allows you to use partial player names in commands for online players
# If set to false, you must specify the entire name of the player
use-partial-names: true
 
# Bans the players and IP's within banned-players.txt & banned-ips.txt
# Only set this to false if you have a very stable MySQL connection
# If the database fails whilst this is false, banned players can join.
bukkit-ban: true


messages:
messages:
     ban: '[name] has been banned for [reason]'
  duplicateIP: '&cWarning: [player] a la même ip que les joueurs bannis suivants :\n&6[players]'
     banKick: 'You have been banned for [reason]'
  configReloaded: '&aConfiguration rechargée avec succès!'
     tempBan: '[name] has been banned for [expires] for [reason] by [by]'
  deniedNotify:
     tempBanKick: 'You have been temporarily banned for [reason]'
     player: '&cWarning: [player] a tenté de rejoindre le serveur mais cela lui a été refusé pour la raison suivante: [reason]'
     ipBan: '&c[ip] has been banned for [reason]'
     ip: '&cWarning: [player] a tenté de rejoindre le serveur mais cela lui a été refusé pour la raison suivante: [reason]'
     ipTempBan: '[ip] has been temporarily banned for [reason] by [by]'
  deniedMaxIp: '&cTrop de joueurs ayant la même adresse IP que vous sont déjà sur le serveur'
     ipBanKick: 'Your IP has been banned for [reason]'
  deniedCountry: '&cYou may not connect from your region'
     kicked: '[name] has been kicked by [by] for [reason]'
  time:
     kickedNo: '[name] has been kicked by [by]'
    now: maintenant
     kickReason: 'You have been kicked for [reason]'
    year: année
    kickNoReason: 'You have been kicked'
    years: années
     disconnectBan: 'You have been banned from this server for [reason]'
    month: mois
     disconnectTempBan: 'Your ban expires in [expires] Reason: [reason]'
    months: mois
     disconnectIpBan: 'Your IP has been banned from this server for [reason]'
    day: jour
     disconnectTempIpBan: 'Your ban expires in [expires] Reason: [reason]'
    days: jours
     mute: '[name] has been muted for [reason] by [by]'
    hour: heure
     muted: 'You have been permanently muted for [reason] by [by]'
    hours: heures
     tempMute: '[name] has been muted for [reason] by [by] which expires in [expires]'
    minute: minute
     tempMuted: 'You have been temporarily muted for [reason] by [by] which expires in [expires]'
    minutes: minutes
     commandPermissionError: '&cYou do not have permission to use this command'
    second: seconde
     banSelfError: '&cYou can''t ban yourself fool!'
    seconds: secondes
    banExemptError: '&cYou do not have permission to ban this player'
    never: jamais
    alreadyBannedError: '&c[name] is already banned'
    error:
     playerBanned: '[name] has been banned'
      invalid: '&cVotre longueur de temps est invalide'
     multiplePlayersFoundError: '&cmultiple players found, please be more specific'
      limit: '&cVous ne pouvez pas effectuer cette action pour cette durée de temps'
    importInProgressError: '&cAn import is already in progress'
  none: none
     beginingPlayerImport: '&6Beginning banned player import'
  sender:
     scanningDatabase: '&6'
     error:
    scanPlayersFound: '&6Players found: [found]'
      notFound: '&c[player] non trouvé, êtes-vous sûr qu’il existe?'
     noPlayersImport: '&cNo players need importing, yay less work for me!'
      offline: '&c[player] est hors ligne'
     percentagePlayersImported: '&6[percent]% of players imported'
      noSelf: '&cVous ne pouvez pas effectuer cette action sur vous-même!'
     playerImportComplete: '&6Player import complete!'
      exception: '& une erreur s’est produite en essayant d’effectuer cette commande.
     beginingIpImport: '&6Beginning banned ip import'
        Vérifiez la console pour l’erreur.'
     scanIpsFound: '&6Players found: [found]'
      invalidIp: '&cAdresse IP invalide, format w.x.y.z attendu'
     noIpsImport: '&cNo IPs need importing, yay less work for me!'
      offlinePermission: '&cVous ne devriez pas effectuer cette action sur un joueur
     percentageIPsImported: '&6[percent]% of IPs imported'
        hors ligne'
     ipImportComplete: '&6IP import complete!'
      exempt: '&c[player] est exempté de cette action'
     bmInfo: '&cName: &6[name]\n&cCurrent Ban: [currentBan]\n&cPrevious Bans: [previousBans]\n&cCurrent Mute: [currentMute]\n&cPrevious Mutes: [previousMutes]\n&cWarnings: [warningsCount]'
      noPermission: '&cVous n‘avez pas la permission de faire ça'
     ipBanned: '[ip] has been banned'
  alts:
     ipTempBanned: '[ip] has been banned temporarily'
    header: 'Possibles aliases trouvés:'
     ipSelfError: '&cYou can''t ip ban yourself fool!'
  export:
    ipPlayerOfflineError: '&c[name] is offline, unable to retrieve IP'
    error:
     ipTempBanKick: 'You have been temporarily banned for [reason]'
      inProgress: '&cUn export est déjà en cours, veuillez patienter'
     kickSelfError: '&cYou can''t kick yourself fool!'
    player:
     kickExemptError: '&cYou do not have permission to kick this player'
      started: '&aUn export des joueurs bannis est en cours'
     playerKicked: '[name] has been kicked'
      finished: '&aL‘export des joueurs bannis est terminé, le fichier [file] a été créé'
     playerNotOnline: '&cPlayer not found, are they online?'
     ip:
    muteSelfError: '&cYou can''t mute yourself fool!'
      started: '&aUn export des IPs bannies est en cours'
     muteExemptError: '&cYou do not have permission to mute this player'
      finished: '&aL‘export des IPs bannies est terminé, le fichier [file] a été créé'
     alreadyMutedError: '&c[name] is already muted'
  import:
     playerMuted: '[name] has been muted'
     error:
     illegalDateError: '&cIllegal Date Format'
      inProgress: '&cUne importation est déjà en cours, veuillez patienter s’il vous
     playerTempBanned: '[name] has been temporarily banned'
        plaît'
     playerTempMuted: '[name] has been temporarily muted'
    player:
     unbanError: '&cYou can''t unban someone who isn''t banned!'
      started: '&aImportation ban joueur commencée'
     playerUnbanned: '[name] has been unbanned'
      finished: '&aImportation ban joueur terminée'
     ipUnbanned: '[ip] has been unbanned'
    ip:
     ipNotBannedError: '&c[ip] is not currently banned. You can''t unban someone who isn''t banned!'
      started: '&aImportation ban ip commencée'
     invalidIp: '&cInvalid IP!'
      finished: '&aImportation ban ip terminée'
     invalidPlayer: '&cInvalid Player!'
  info:
     playerUnmuted: '[name] has been unmuted'
    error:
     playerNotMutedError: '&cYou can''t unmute someone who isn''t muted!'
      incorrectFlagUsage: '&cA flag has been incorrectly used'
     updateAvailable: '&A[version] update available'
    stats:
     banTimeLimitError: '&cYou cannot ban for that length of time'
      player: '[player] a été banni [bans] fois, mute [mutes] fois and averti [warns]
     muteTimeLimitError: '&cYou cannot mute for that length of time'
        fois'
     warnSelfError: '&cYou can''t warn yourself fool!'
      ip: Cette ip a été banni [bans] fois
     warnExemptError: '&cYou do not have permission to warn this player'
     connection: Leur dernière connexion était avec [ip] sur [lastSeen]
     playerWarned: '[name] has been warned'
    geoip: 'Country: [country] City: [city]'
     warned: '&cYou have been warned by [by] for the following:\n[reason]'
     ban:
     duplicateIP: '&cWarning: [player] has the same IP as the following banned players:\n&6[players]'
      permanent: Actuellement banni pour [reason] par [actor] à [created]
     consoleName: 'Console'
      temporary: Actuellement banni pour [reason] par [actor] à [created] qui expire dans [expires]
     timeNow: 'now'
      dateTimeFormat: dd-MM-yyyy HH:mm:ss
     timeYear: 'year'
     mute:
    timeYears: 'years'
      permanent: Actuellement mute pour [reason] par [actor] à [created]
     timeMonth: 'month'
      temporary: Actuellement mute pour [reason] par [actor] à [created] qui expire dans [expires]
     timeMonths: 'months'
      dateTimeFormat: dd-MM-yyyy HH:mm:ss
     timeDay: 'day'
     website:
     timeDays: 'days'
      player: http://yourdomain.com/index.php?action=viewplayer&player=[player]&server=0
     timeHour: 'hour'
      ip: http://yourdomain.com/index.php?action=viewip&ip=[ip]&server=0
    timeHours: 'hours'
     history:
     timeMinute: 'minute'
      row: '&7#[id] &a[&f[type]&a] &6[actor]&f [reason] - &e[created]'
     timeMinutes: 'minutes'
      dateTimeFormat: dd-MM-yyyy HH:mm:ss
     timeSecond: 'second'
      noResults: '&cAucun résultat'
    timeSeconds: 'seconds'
  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'
</syntaxhighlight>
</syntaxhighlight>
== Voir aussi ==
== Voir aussi ==
* [https://nefald.fr/bans/ Banlist de Nefald]
* [https://nefald.fr/bans/ Banlist de Nefald]

Version du 27 janvier 2016 à 12:34


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 27/01/2016


Aperçu d'une Banlist.

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


bm.command.notes.online

/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 {en}
bm.command.ban Allows a player to permanently ban someone
bm.command.ban.offline Required to permanently ban an offline player
bm.command.ban.override Allows overriding an existing ban
bm.command.tempban Allows a player to tempban someone
bm.command.tempban.offline Required to temporary ban an offline player
bm.command.tempban.override Allows overriding of an existing ban
bm.command.unban Allows a player to unban someone
bm.command.unban.own Allows a player to only unban a player they banned
bm.command.warn Allows you to warn a player
bm.command.warn.offline Allows you to warn an offline player who will be shown the message when they next join
bm.command.sync Allows you to forcefully sync database changes
bm.command.baniprange Allows you to permanently ban an ip range
bm.command.tempbaniprange Allows you to temporary ban an ip range
bm.command.unbaniprange Allows you to unban an ip range
bm.command.banlist Allows you to see active punishments stored in memory
bm.command.banlist.players Allows you to see active player bans stored in memory
bm.command.banlist.ips Allows you to see active ip bans stored in memory
bm.command.banlist.ipranges Allows you to see active ip range bans stored in memory
bm.command.bmactivity Allows you to see recent punishment activity
bm.command.clear Allows clearing of a players records
bm.command.clear.banrecords Allows clearing of a player's ban records
bm.command.clear.kicks Allows clearing of a player's kick records
bm.command.clear.muterecords Allows clearing of a player's mute records
bm.command.clear.notes Allows clearing of a player's notes
bm.command.clear.warnings Allows clearing of a player's warnings
bm.command.addnote Allows adding a note to a player
bm.command.notes Allows viewing all notes of a player
bm.command.notes.online Allows viewing all notes of players currently online
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 permanently 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 Allows a player to 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 Allows a player to ban an exempt player
bm.exempt.tempban Online players with this permission cannot be temporarily banned,highly recommended for admins
bm.exempt.tempban.override Allows a player to tempban an exempt player
bm.exempt.mute Online players with this permission cannot be muted, highly recommended for admins
bm.exempt.mute.override Allows a player to mute an exempt player
bm.exempt.tempmute Online players with this permission cannot be temporarily muted, highly recommended for admins
bm.exempt.tempmute.override Allows a player to tempmute an exempt player
bm.exempt.banip Online players with this permission cannot be ip banned, highly recommended for admins
bm.exempt.banip.override Allows a player to ip ban an exempt player
bm.exempt.tempbanip Online players with this permission cannot be temporarily banned, highly recommended for admins
bm.exempt.tempbanip Allows a player to ip ban an exempt player
bm.notify.ban Notified when a player is permanently 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 permanently 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 permanently 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 permanently 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 Allows a player to bypass any group limitations on temporary ban lengths
bm.timelimit.mutes.bypass Allows a player to 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'

Voir aussi