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
- Host: GitHub
- URL: https://github.com/brend-smits/simplevotelistener
- Owner: Brend-Smits
- License: mit
- Created: 2020-02-02T18:54:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-01T20:22:42.000Z (over 5 years ago)
- Last Synced: 2025-12-25T22:30:57.871Z (5 months ago)
- Topics: minecraft-plugin, sponge-plugin
- Language: Java
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.