Current IP ban
Dyllaann opened this issue ยท 4 comments
Issue report
-
Server Software:
Spigot -
Server Version:
1.11.2 -
BanManager Version:
5.14.0 -
Online/Offline mode:
Offline
BanManager config.yml:
#
# Aliases will be found and blocked automatically, e.g. msg will block tell
debug: false
databases:
local:
enabled: true
//SQL is fine.
maxConnections: 10
leakDetection: 3000
tables:
players: bm_players
playerBans: bm_player_bans
playerBanRecords: bm_player_ban_records
playerMutes: bm_player_mutes
playerMuteRecords: bm_player_mute_records
playerKicks: bm_player_kicks
playerNotes: bm_player_notes
playerHistory: bm_player_history
playerReports: bm_player_reports
playerReportLocations: bm_player_report_locations
playerReportStates: bm_player_report_states
playerReportCommands: bm_player_report_commands
playerReportComments: bm_player_report_comments
playerWarnings: bm_player_warnings
ipBans: bm_ip_bans
ipBanRecords: bm_ip_ban_records
ipMutes: bm_ip_mutes
ipMuteRecords: bm_ip_mute_records
ipRangeBans: bm_ip_range_bans
ipRangeBanRecords: bm_ip_range_ban_records
rollbacks: bm_rollbacks
nameBans: bm_name_bans
nameBanRecords: bm_name_ban_records
global:
enabled: false
host: 127.0.0.1
port: 3306
name: global_bans
user: root
password: ''
maxConnections: 10
leakDetection: 3000
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
mutedCommandBlacklist:
- msg
- essentials:me
- tpa
- tpahere
softMutedCommandBlacklist:
- msg
duplicateIpCheck: true
bypassDuplicateChecks:
- 0.0.0.0
- 127.0.0.1
logKicks: true
logIps: true
displayNotifications: true
broadcastOnSync: false
timeLimits:
playerMutes:
helper: 1h
reportCooldown: 10
warningCooldown: 10
warningActions:
enabled: false
warningMute: false
hooks:
enabled: false
checkForUpdates: true
offlineAutoComplete: true
punishAlts: false
denyAlts: false
cleanUp:
kicks: 30
banRecords: 0
ipBanRecords: 0
ipMuteRecords: 0
muteRecords: 0
readWarnings: 0
unreadWarnings: 0
maxOnlinePerIp: 0
checkOnJoin: false
createNoteReasons: false
onlineMode: false
chatPriority: normal
Describe your issue:
Heyo.
If I banip a user, and then look him up using /bminfo player, it is not shown he is currently banned (by ip).
It only shows him being banned if i actually ban the account.
Can there be a check on the ip? Because the ip itself IS shown in bminfo, but it's not being checked against the ipban table it seems..
How to replicate:
/banip testuser testreason
/bminfo testuser
No ban data
Try checking the SQL tables for the ban after executing. If it's not in there either, enable BM's debug mode and try the IP ban again.
It still does not work. The ban shows up in the tables, but still not in the bminfo.
I tried debug mode, but it seems it's not really helping nor showing any info to me.
//Edit: BanManager 5.14.0 now. Problem persists
Show the log in full. You can make it easier for yourself by not letting anyone else join (which means firewalling), so the log has as little anything else but BM as possible.