-
-
Notifications
You must be signed in to change notification settings - Fork 69
Bungee Setup REDIS
Ben edited this page Dec 31, 2023
·
4 revisions
This setup requires VotingPlugin on proxy and every backend server you want rewards/voting info on. Votifier must only be on proxy. Requires mysql. See below for settings and troubleshooting steps.
- This is very similar to PLUGINMESSAGING, but uses redis as the communication method
- VotingPlugin on every server you want rewards on (including proxy server)
- Bungeecord also handles all totals/points addition rather than spigot servers, except for ingame commands (Option for this)
- All servers point to the same MySQL table
- Steps for Proxy/Spigot below:
- Votifier setup on here only (no forwarding, nuvotifier forwarding method set to none)
- BungeeMethod: REDIS
- Input REDIS info
- SendVotesToAllServers: true (for a reward on each server) or false (reward on whatever server player connects to first)
- Set MySQL settings, must match same table as the other servers (MySQL is required)
- No votifier installed (Votifier on bungee only) - votes will be ignored anyway (to prevent double votes)
- BungeeSettings.yml:
- BungeeMethod: REDIS
- Input REDIS info
- UseBungeecord: true
- BungeeBroadcastAlways: false (If true, always broadcast, even on cached votes)
- Set the matching server name as setup on proxy server (REQUIRED or it won't work)
- VoteSites: VoteSites setup on each server (only servicesites need to match)
- Config.yml:
- Set AllowUnJoined to true (Bungee has option and control over this)
- Set MySQL settings
- Restart may be required for it to work after setting everything
Velocity requires a mysql driver to be installed, one available here (install as a plugin in plugin folder) will allow VotingPlugin to run on velocity with no compatibility layer. Works the exact same as bungeecord.
- Check status & working condition with /votingpluginbungee status (Requires players to be online to test)
- Run bungee test vote with /votingpluginbungee vote (player) (site)
- NuVotifier forwarding method set to none (And no votifier plugins on spigot servers)
- If still not working restart all servers and verify everything is set correctly
- Ensure VotingPlugin is on proxy server with nuvotifier on there as well
- VotingPlugin on all spigot servers you want rewards on
- If receiving double rewards at random check all servers names in bungeesettings.yml differ
Setup/Configuration:
BungeeCord/Velocity Setups:
-
Proxy Setups
- PLUGINMESSAGING (Best method)
- REDIS (Second best)
- SOCKETS
- MYSQL
- Global Data Handling
- Multi-Proxy Setups
Knowledge base:
- Commands & Permissions
- Special Rewards
- File Layout
- API
- Converting data storage
- Vote Reminding
- Time Changes
- Minecraft Server Lists
- Performance Settings
- Bedrock Player Support
- Debug
- Minecraft Server Lists
- PlaceHolderAPI Expansion
- Signs
- Online/Offline Mode
- WIP MonthDateTotals
Troubleshooting
Rewards:
More setups: