add option to disable checking for proxy response
This commit is contained in:
@@ -17,7 +17,7 @@ public class Commands implements CommandExecutor {
|
||||
|
||||
@Override
|
||||
public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, String[] args) {
|
||||
if(!pl.hasProxy()) {
|
||||
if(!pl.hasProxy() && pl.config.getBoolean("check-proxy-response")) {
|
||||
sender.sendMessage(color("&cajQueue must also be installed on the proxy!&7 If it has been installed on the proxy, make sure it loaded correctly and try relogging."));
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -11,8 +11,12 @@ send-queue-commands-in-batches: false
|
||||
# If you disable this, ajQueue will not be able to tell if the server is whitelisted!
|
||||
take-over-motd-for-whitelist: true
|
||||
|
||||
# Should we check if the proxy responds to plugin messages?
|
||||
# For some reason this seems to fail for some people,
|
||||
# so disable this if ajqueue says its not installed on the proxy when it actually is
|
||||
check-proxy-response: true
|
||||
|
||||
|
||||
|
||||
# Dont touch this
|
||||
config-version: 2
|
||||
config-version: 3
|
||||
Reference in New Issue
Block a user