Sueta
VO

Votifier BungeeCord

1.0

Votifier for BungeeCord

·Plugin

Information:
Votifier is owned and created by VexSoftware.
The plugin is the same as Votifier for Bukkit.
I only rewrote it on BungeeCord.

Installation:

You have to enter the plugin into your proxy plugins folder first.
Then restart the proxy.
Now a config.yml is created.
Put your BungeeCord IP in the first line.
Restart the proxy now.
Now you have the plugin installed.

But you have to be a developer for the plugin to work properly.
There is a Vote Event.

Here is a code example:

public class Main extends Plugin implements Listener {

    @Override
    public void onEnable() {
        ProxyServer.getInstance().getPluginManager().registerListener(this, this);
    }
 
    @EventHandler
    public void on(VotifierEvent e) {
        Vote v = e.getVote();
        ProxyServer.getInstance().broadcast(v.getUsername() + " has voted.");
    }
}

Similar projects

Plugin →