Ingame commands not working
yuanrg opened this issue ยท 6 comments
Issue report
Tell us about your environment
Server version: CraftBukkit version git-Spigot-a03b1fd-5838285
Banmanager Version: 7.0.4
/Ban, /Kick not working ingame. I have '*' permissions.
Log from pex debugger:
[19:18:04] [Server thread/INFO]: user issued server command: /ban Apathii test
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'bukkit.permission.ban.player', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'mcbans.ban.local', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'sv.use', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'noplugin.bypass', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'essentials.commandcooldowns.bypass', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'bm.command.ban', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'bm.command.ban', regex-matched a value of true from cache.
[19:18:04] [Server thread/INFO]: [PermissionsEx] User user checked for permission 'bm.command.ban.offline', regex-matched a value of true from cache.
Executing command form console does work:
>ban apathii test
[19:22:21] [Craft Scheduler Thread - 54/INFO]: [BanManager] Requesting UUIDs for apathii
[19:22:21] [Craft Scheduler Thread - 54/INFO]: Apathii has been permanently banned by Console for test
Startup Log:
[17:53:45] [Server thread/INFO]: [BanManager] Enabling BanManager v7.0.4
[17:53:45] [Thread-34/INFO]: [ClearLag] No updates found!
[17:53:46] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[17:53:46] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[17:53:46] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[17:53:47] [Server thread/INFO]: [BanManager] Loaded 0 bans into memory
[17:53:47] [Server thread/INFO]: [BanManager] Loaded 0 mutes into memory
[17:53:47] [Server thread/INFO]: [BanManager] Loaded 0 ip bans into memory
[17:53:47] [Server thread/INFO]: [BanManager] Loaded 0 ip mutes into memory
[17:53:47] [Server thread/INFO]: [BanManager] Loaded 0 ip range bans into memory
[17:53:47] [Server thread/INFO]: [BanManager] Loaded 0 name bans into memory
BanManager config.yml:
debug: true
databases:
local:
enabled: true
storageType: h2
host: 127.0.0.1
port: 3306
name: databasename
user: database username
password: my password
maxConnections: 10
useSSL: false
verifyServerCertificate: false
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: true
storageType: mysql
host: 127.0.0.1
port: 3306
name: database name
user: database username
password: database password
maxConnections: 10
useSSL: false
verifyServerCertificate: false
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
softMutedCommandBlacklist:
- msg
duplicateIpCheck: true
bypassDuplicateChecks:
- 0.0.0.0
- 127.0.0.1
logKicks: true
logIps: true
displayNotifications: true
broadcastOnSync: false
timeLimits: {}
reportCooldown: 10
warningCooldown: 2
warningActions:
enabled: false
warningMute: true
hooks:
enabled: false
checkForUpdates: true
offlineAutoComplete: true
punishAlts: true
denyAlts: false
cleanUp:
kicks: 30
banRecords: 0
ipBanRecords: 0
ipMuteRecords: 0
muteRecords: 0
readWarnings: 0
unreadWarnings: 0
playerHistory: 0
maxOnlinePerIp: 0
maxMultiaccountsRecently: 0
multiaccountsTime: 300
checkOnJoin: false
createNoteReasons: true
onlineMode: true
chatPriority: normal
Describe your issue:
/Ban and /Kick doesn't ban or kick players while I am executing these commands as '*'. PermissionsEx logs (at the top) don't show any signs of missing permissions.
Performing commands as console does work.
What happens when a player attempts to use /ban or /kick? Do they see any messages in response?
I also have this issue. This is a serious issue because commands are not working at all. If I try to do the command with an offline or invalid player it correctly prints that message. But correctly putting in the command has no output whatsoever. (Also using ver 7.0.4)
This is the ingame log:
[12:08:34] [main/INFO]: [CHAT] user joined the game! [12:08:34] [main/INFO]: [CHAT] You have no new mail. [12:08:36] [main/INFO]: [CHAT] AntiLogStrip: disabled
Here I typed /pex user {user} group set Member
[12:08:39] [main/INFO]: [CHAT] User groups set!
Here I removed my '*'
permission
[12:08:43] [main/INFO]: [CHAT] Permission "*" removed!
Showing all my permissions for reference. The PermissonsEx group Member does not have ANY ban/kick permissions. (Not defined at all so no -banmanager.* or anything either)
[12:08:45] [main/INFO]: [CHAT] 'uuid/user' is a member of:
[12:08:45] [main/INFO]: [CHAT] Member (rank 7 @ default)
[12:08:45] [main/INFO]: [CHAT] user's permissions:
[12:08:45] [main/INFO]: [CHAT] 1) -mv.bypass.gamemode (own)
[12:08:45] [main/INFO]: [CHAT] 2) -lwc.autoprotect (own)
[12:08:45] [main/INFO]: [CHAT] 3) -lwc.autocreate (own)
[12:08:45] [main/INFO]: [CHAT] 4) mycommand.cmd.vip+ (own)
[12:08:45] [main/INFO]: [CHAT] 5) essentials.gamemode.creative (own)
[12:08:45] [main/INFO]: [CHAT] 6) essentials.gamemode.survival (own)
[12:08:45] [main/INFO]: [CHAT] 7) essentials.gamemode (own)
[12:08:45] [main/INFO]: [CHAT] 8) essentials.spawnmob.* (own)
[12:08:45] [main/INFO]: [CHAT] 9) essentials.spawnmob (own)
[12:08:45] [main/INFO]: [CHAT] 10) permissions.manage.* (own)
[12:08:45] [main/INFO]: [CHAT] 11) permissions.manage (own)
[12:08:45] [main/INFO]: [CHAT] 12) -antixray.bypass (own)
[12:08:45] [main/INFO]: [CHAT] user's options:
[12:08:45] [main/INFO]: [CHAT] name = "user"
[12:08:45] [main/INFO]: [CHAT] prefix = "&9[&eB&9]&r"`
Executing /ban (user) test
[12:08:54] [main/INFO]: [CHAT] I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is a mistake.
Executing /banmanager:ban (user) test
[12:09:05] [main/INFO]: [CHAT] I'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is a mistake.
Can you update to the latest developer build and see if the same issue occurs? https://ci.frostcast.net/job/BanManager/
Updating seems to solve the problem. Ingame players are now getting feedback (as a Member and as permitted users). Is the developer build stable, since it is not listed on the dev bukkit page. Is the config altered in any way; do I need to delete the old config and reconfigure the new config?