Carpet

Carpet

2M Downloads

when bot in server,the server op can't use ban-ip command

Snow-dash opened this issue ยท 4 comments

commented

let bot in the server,the op use ban-ip command will return "An unexpected error occurred trying to execute that command".the server is NOT in online-mode and white-list is set to false.

commented

Do you have the logs containing the specific errors thrown when running the command?

commented

Do you have the logs containing the specific errors thrown when running the command?

[23:08:58] [Server thread/INFO]: spawn_bot[local] logged in with entity id 424 at (-230.3197516924716, 57.0, -220.91686820700124)
[23:08:58] [Server thread/INFO]: spawn_bot joined the game
[23:09:15] [Server thread/INFO]: An unexpected error occurred trying to execute that command
[23:09:30] [Server thread/INFO]: spawn_bot lost connection: Killed
[23:09:30] [Server thread/INFO]: spawn_bot left the game
[23:09:36] [Server thread/INFO]: Banned IP 8.8.8.8: Banned by an operator.
[23:09:42] [Server thread/INFO]: Unbanned IP 8.8.8.8

sorry i can't get all the log.You can see that the time 23:09:15 is command failed and return.After kick the bot,I can ban-ip(8.8.8.8).

commented

Have you tried hovering over the red text that says "An unexpected error occurred trying to execute that command" to figure out what the error is?

commented

Have you tried hovering over the red text that says "An unexpected error occurred trying to execute that command" to figure out what the error is?

It shows "java.lang.NullPointerException".