-
-
Notifications
You must be signed in to change notification settings - Fork 82
proxy method MQTT
Votifier+VotingPlugin on proxy server, and only VotingPlugin is required on backend servers
All servers use the same mysql table
Running on Velocity requires a MySQL driver. Install the MySQLDriver build if the platform does not already provide one.
- Uses MQTT broker to communicate between servers
- Works quite similar to REDIS
BungeeMethod: MQTT- MySQL database information
- Input MQTT info
BungeeSettings.yml:
BungeeMethod: MQTTUseBungeecord: true- 'Server: SERVERNAMEHERE` (Set server name on each server, matching names from proxy server)
- Input MQTT info
Config.yml:
- MySQL database information
-
AllowUnjoined: true(Proxy handles this)
See default config files for every setting, as this is very customizable.
If you want one reward per vote across the entire network then disable SendVotesToAllServers
Give every proxy and backend a unique MQTT ClientID. Require broker
credentials, keep the broker on a private network or VPN, and restrict its
listener to the participating server addresses. The default tcp:// transport
must not cross an untrusted or public network without transport protection
provided by the broker or network. Do not include MQTT credentials in
screenshots, logs, or a public repository.
Testing communication:
- Check status and connectivity with
/votingpluginproxy status. - See console for results
Test voting:
- Run a proxy test vote with
/votingpluginproxy vote <player> <site>.
Double/Extra Rewards:
- Ensure server names in BungeeSettings.yml differ and match names in proxy server
- NuVotifier forwarding method set to none (And no votifier plugins on spigot servers)
Not working:
- Restart all servers
- Ensure required settings are set
- Test communication and run test votes (if that works check Votifier)
- Vote Milestones
- Vote Streak System
- Vote Reminders β Current System
- Legacy Vote Reminding
- Vote Broadcast System
- Vote Logging
- Webhooks
- Time Changes
- Month Date Totals
- VoteShop
- Rewards Overview β Start Here
- Reward System Concepts
- Reward File Format
- Where to Set Rewards
- All Reward Possibilities
- Reward Examples
- Delayed Reward Command
- World Example
- VotingPlugin-Specific Rewards
- Commands & Permissions
- API
- PlaceholderAPI Placeholders
- Minecraft Server Lists
- Bedrock Player Support
- Transferring Data Storage