An open API service indexing awesome lists of open source software.

https://github.com/brend-smits/simplevotelistener

A simple and lightweight vote listener for Sponge
https://github.com/brend-smits/simplevotelistener

minecraft-plugin sponge-plugin

Last synced: about 1 month ago
JSON representation

A simple and lightweight vote listener for Sponge

Awesome Lists containing this project

README

          

# Simple Vote Listener
Simple Vote Listener is a vote listener for NuVotifier. It allows you to specify commands
in the config file that will be executed when a vote is received from NuVotifier.
These commands are often used to give rewards to players for voting on server/voting lists.

That's all there is to it! As simple and lightweight as possible.

# Config file
```
Params available: %player% %playeruuid%
commands = [
"adminpay %player% 250",
"title %player% title {\"text\":\"Thanks for voting!\",\"bold\":true,\"color\":\"red\"}"
]
```
The parameter %player% is available to target the player that voted.
The parameter %playeruuid% is available to target the player by uuid that voted.