HiddenMotives / VPNGuard

PocketMine-MP Plugin: VPNGuard will prevent players from joining your server behind any type of anonymizer.
MIT License
20 stars 12 forks source link

server crash (Shutting down server to prevent blacklisting on API Database) #20

Open teracube opened 4 years ago

teracube commented 4 years ago

server shutting down when API error returned

I want the player to be able to connect if API error returned is my config.yml correct ? thanks

https://poggit.pmmp.io/r/49539/VPNGuard_dev-17.phar https://jenkins.pmmp.io/job/PocketMine-MP/1793/artifact/PocketMine-MP.phar

error

2020-05-03 [17:06:07] [Server thread/INFO]: [VPNGuard] Player Quasar RX has connected with the IP: XX.37.XXX.168
2020-05-03 [17:06:07] [Server thread/WARNING]: API Server Returned Error Message: Backend Database Server is Down. when Razir RX connected
2020-05-03 [17:06:07] [Server thread/CRITICAL]: Shutting down server to prevent blacklisting on API Database
2020-05-03 [17:06:07] [Server thread/INFO]: Disabling ChestFinder v1.5

config.yml

...

# Timeout in seconds for connecting to the API server.
# If it takes longer to connect the plugin will assume API server is down.
timeout: 10

# Console Logging, displays detailed information every time a player joins
# the server on console.
logging: true

# Allow users to connect if API Server encounters any errors (Such as Timeout)?
bypass-check: true

...