Voice Award

Own server

VotingPlugin and NuVotifier: reward for votingLearn more

The player votes for the server on the monitor -- and immediately gets diamonds, money, or a key to the case. Write down the websites and the award -- you get the ready-made VoteSites.yml for VotingPlugin, the port line for NuVotifier, and the inspection command.

My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

Where they vote

JuxMC site
More site

JuxMC service name - JuxMC, link - the address of your server page. For other monitoring systems, the name of the service will be suggested by their instructions or console after a test voice.

Reward

NuVotifier port

Default is 8192. On hosting, only the game port is often open - the second port is given in the panel, in the network section.

Result

Example of Seats: 1

To the voice: Diamond x 2.

plugins/VotingPlugin/VoteSites.yml

VoteSites:
  JuxMC:
    Enabled: true
    Name: 'JuxMC'
    ServiceSite: 'JuxMC'
    VoteURL: 'https://juxmc.ru/servers/'
    VoteDelay: 24
    DisplayItem:
      Material: 'DIAMOND'
      Amount: 1
EverySiteReward:
  Messages:
    Player: '&aСпасибо за голос! Награда уже в инвентаре.'
  Items:
    item1:
      Material: 'DIAMOND'
      Amount: 2
Download VoteSites.yml

plugins/Votifier/config.yml — these lines

host: '0.0.0.0'
port: 8192

Check on the server

/testvote Steve serviceName=JuxMC

Test vote from NuVotifier: If Steve received an award, the chain works.

How to use

  1. Install two plugins

    NuVotifier accepts votes, VotingPlugin issues awards - both in a folder plugins, then restart. Plugins can be found in the section "Supplements".

  2. Put the config

    VoteSites.yml - in plugins/VotingPlugin/ instead of a sample file, the port is in plugins/Votifier/config.yml. Then /av reload and /nvreload.

  3. Connect monitoring

    Token - string default in tokens same config.yml. In JuxMC, it is inserted in the server's office, in the voice award unit, and there's a check button. The server isn't in the catalogue yet. Add it..

What you need to know

  • The name of the service is verbatim. VotingPlugin recognizes a site by ServiceSite: one extra letter and the voice will come without reward. What name the site sent, VotingPlugin writes to the console after the vote.
  • Do not change the token. NuVotifier writes it himself on the first launch. Replace config.yml in its entirety with a change of current, and the already connected monitors will stop delivering votes.
  • Token or key. New monitoring takes a token (protocol v2), old ones take a public key from plugins/Votifier/rsa/public.key. JuxMC understands both.
  • The port is open to the outside. On your VPS: sudo ufw allow 8192/tcp (with your port). Without this, the voice will not reach, even though the plugin is running.
  • Reward for any site stands in EverySiteReward - one for all sites. The site has its own reward - a section Rewards inside his entry.

Rights to award commands will be issued LockPerms Generator, a set of things with rollback - whale EscentialsX.

Frequently asked questions

How to make a reward for voting on the server?

Put NuVotifier -- he takes votes -- and VotingPlugin -- he gives the award. The hits and the awards are recorded in VoteSites.yml; the page will collect it all.

Why did the voice come, but there was no reward?

Most often, the service name does not match: ServiceSite in VoteSites.yml must match verbatim what the monitoring sends. For JuxMC it's JuxMC.

Where can I get the NuVotifier token?

In plugins/Votifier/config.yml, default line in tokens section. Old sites need a public key - the rsa/public.key file is nearby.