Ban Management

Ban Management

193k Downloads

One specific player can't execute any banmanager commands

HashtagOliver opened this issue ยท 16 comments

commented

So to the best of my knowledge I have set up the plugin completely fine, there are no errors on startup or when executing any commands yet one specific account (username is Hashtag) cannot execute anything, when typing a command such as /warn, the plugin shows "/warn in chat but when it is filled out - for example - /warn test123 test nothing comes up in chat or console:

Pictures:
Hashtag pic 1
Hashtag pic 2
Console receiving commands

Tests repeated on a second account:
Working on second account
Console receiving commands

All players have no conflicting permissions or inheritances - commands do not work with/without op or specific banmanager permissions:
permissions - (bm.* was added as a test)

I have also wiped my config and tested without editing any of the files (except connecting to mySQL database) which does not fix the problem either.

commented

@HashtagOliver Could you try to setup an secondary development server using Spigot/Bukkit and just BanManager? Then give yourself OP permissions and retry. If it works there, something is interfering with BM on your prod server.

commented

Doesn't fix the problem on an empty Spigot server with only BanManager, also would it really be another plugin interfering with just one player being able to use the commands? They work fine for everyone else.

commented

Are you running in online or offline mode?

commented

I own the premium account Hashtag & I have ran the test server in both online and offline mode which both have the same problem.

commented

Did you wipe the tables when switching between online and offline mode? Can you check in the bm_players table, that the user exists? SELECT HEX(id), name, lastSeen FROM bm_players WHERE name = 'Hashtag'

commented

Yes, I've also tried it on a completely different MySQL server to make sure it wasn't my one and it is giving me the same issue.

commented

Is it just warnings that fail, or other commands as well?

I've just ran this locally without problems via the console

Have you modified any of the messages in messages.yml?

>warn Hashtag test
[11:09:45 INFO]: [BanManager] Requesting UUIDs for Hashtag
[11:09:45 INFO]: Hashtag has been warned by Console for test
>warn Hashtag test1
[11:09:50 INFO]: This player was warned too recently, try again later
>tempban Hashtag 5m test
[11:10:03 INFO]: Hashtag has been temporarily banned for 5 minutes by Console for test
commented

All punishment commands, so excluding /bminfo and the like which do not enforce any bans, kicks or mutes do not work when executed by the account "Hashtag", it can be punished just fine by other accounts.

commented

I'll also mention I've used this plugin on other servers before with the account Hashtag and had not had this problem, those were on much older versions of the plugin though.

commented

Did you check that the user was in your bm_players table?

commented

I have the same issue. When i execute a command from the console it works, but if a player execute a command it doesn't works.

Extra info: I use a MySQL database and i got the issue since i updated the plugin to fix the offline mode.

commented

I can sudo hashtag from the console and it works but the actual account cant

commented

@TrexMX Please try the latest developer build. That issue should already be fixed for offline servers.

I'm not entirely sure what the issue is @HashtagOliver in your case, as you state it occurs in online mode, and without any additional plugins installed. Are you using a plugin manager by any chance?

commented

Nope, only Spigot is on the server.

commented

Are you still having this issue @HashtagOliver ?