3. Configuring NuVotifier - obzidi4n/delphivote GitHub Wiki

NuVotifier is a essential dependency for DelphiVote, as it handles the incoming vote notifications from various voting sites. Here's how to set up NuVotifier to work seamlessly with DelphiVote:

Installation

  1. Download the latest version of NuVotifier from their SpigotMC page.
  2. Place the NuVotifier.jar file in your server's plugins folder.
  3. Restart your server or use the reload command if supported.

Configuration

After the first run, NuVotifier will generate a configuration file. You'll need to edit this to ensure it works correctly with your voting sites and DelphiVote.

  1. Navigate to the plugins/NuVotifier folder.
  2. Open the config.yml file in a text editor.

Basic Settings

Ensure these basic settings are configured:

enabled: true
port: 8192 # Make sure this port is open in your firewall
host: 0.0.0.0

Tokens

Vote Forwarding

To ensure DelphiVote receives vote notifications, set up vote forwarding:

forwarding:
method: "pluginMessaging"
pluginMessaging:
channel: "nuvotifier:votes"

Verifying the Setup

  1. Restart your server after making these changes.
  2. Check the console for any error messages from NuVotifier or DelphiVote during startup.
  3. Try a test vote (many voting sites offer this option for server owners).
  4. Check if DelphiVote registers the vote and provides the configured reward.

Troubleshooting

  • If votes aren't being registered, check the NuVotifier logs for any connection issues.
  • Ensure the port you've set in the NuVotifier config is open on your server's firewall.
  • Verify that the tokens in your NuVotifier config match those provided by your voting sites.
  • Make sure both NuVotifier and DelphiVote are up to date.

Remember to keep your NuVotifier plugin updated for the best compatibility and security.