Skip to content

yawkat/votifier-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

votifier-standalone

Custom votifier server API based on netty that does not require a bukkit server to run.

Usage

VotifierServerBuilder builder = new VotifierServerBuilder();
builder.port(8201) // votifier listen port, defaults to 8192
       .key(VotifierKeyPair.read(new File("key.json"))) // key file, can be generated using the generator
       .voteListener(vote -> {
           System.out.println(vote.getUsername() + " voted!");
       });
builder.start();

Generator

java -jar generator.jar generate key.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published