Pocketmine-mp: Add option to disable RakLib notices ~ Blocked <IP address> for <seconds> seconds

Created on 6 Feb 2019  路  4Comments  路  Source: pmmp/PocketMine-MP

Description

When a server list website (such as Minecraft PE Servers) pings the server, it sends a RakLibServer blocking message to the console and logs it, like this: Blocked for seconds

Example

[10:49:10] [RakLibServer thread/NOTICE]: Blocked 45.79.134.18 for 5 seconds

Justification

There should be an option to disable this because server chat is difficult to monitor with the unnecessary constant blue notice messages coming up, that way the message no longer shows unless it is needed. I run 5 servers, all of which have this message come up on them (mainly the lobby, the one attached to each server list site) and it gets a bit annoying when trying to read player chat.

Alternative methods

I have tried to search the forums for ways that this can be prevented and I have found nothing, hence why I am here requesting an option. This is definitely not first priority, just an idea for convenience that I suppose can be easily implemented in the upcoming API updates.

Thanks!

Invalid

Most helpful comment

Ok, sounds good. Thanks for the help

All 4 comments

Just ban the IP permanently. Problem solved.

@dktapps I have just done this to my lobby server and while your method does in fact stop the messages, I am being indicated as offline on the server site now. Is there any other way to get around the issue?

Yes, boycott that site and use a different one. They've received a large number of complaints about this and they've done nothing about it.

Ok, sounds good. Thanks for the help

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MisteFr picture MisteFr  路  18Comments

matcracker picture matcracker  路  17Comments

admsteck picture admsteck  路  22Comments

SOF3 picture SOF3  路  20Comments

markkrueg picture markkrueg  路  18Comments