diff --git a/VotingPlugin/Resources/bungeeconfig.yml b/VotingPlugin/Resources/bungeeconfig.yml index e3fe269d5..e0b008d1f 100644 --- a/VotingPlugin/Resources/bungeeconfig.yml +++ b/VotingPlugin/Resources/bungeeconfig.yml @@ -156,13 +156,14 @@ OnlineMode: true # Applies to PLUGINMESSAGING only # Votes will be forwarded when specific player is online +# If set to false, rewards should still reward when player logs in (by default) WaitForUserOnline: false ########################################## # Multi-proxy setup # This is still a WIP, use with caution -# Primary server needs votifier and config option enabled +# Primary server needs votifier and config option enabled # Set socket host on each proxy and primary server set sub proxies # All servers should be on pluginmessaging or sockets setup ########################################## diff --git a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java index 23cb82f6e..8b40e11ed 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/bungee/velocity/VotingPluginVelocity.java @@ -1378,14 +1378,14 @@ public void sendSocketVote(String name, String service, BungeeMessageData text) public void status() { if (method.equals(BungeeMethod.SOCKETS)) { sendServerMessage("status"); - } else if (method.equals(BungeeMethod.PLUGINMESSAGING)) { + } else if (method.equals(BungeeMethod.PLUGINMESSAGING) || method.equals(BungeeMethod.REDIS)) { for (RegisteredServer s : getAvailableAllServers()) { if (s.getPlayersConnected().size() == 0) { getLogger().info("No players on server " + s + " to send test status message"); } else { // send getLogger().info("Sending request for status message on " + s); - sendPluginMessageServer(s, "Status", s.getServerInfo().getName()); + sendMessageServer(s, "Status", s.getServerInfo().getName()); } }