TsunamiListener
TsunamiListener v1.0.1
Requires NuVotifer! Download it here! https://www.spigotmc.org/resources/nuvotifier.13449/
Introduction
This plugin offers a relatively simple vote listener with UUID support. You are able to run commands when a player votes, broadcast that they voted, offline queue for if the player is offline when they vote, and a /vote command to display your vote links.
Configuration
This section will provide more information on what each option in the config does.
- enabled-by-default | If set to true, when a player joins and has the permission autopockets.cmd, AutoPockets will enable automatically.
- bm-online | Enable broadcast-message-online?
- broadcast-message-online | Message that is broadcasted when a player votes and is online.
- bm-offline | Enable broadcast-message-online?
- broadcast-message-offline | Message that is broadcasted when a player votes and is offline.
- rm | Enable reward-message?
- reward-message | Message that is sent to voter.
- vote-command-message | Message that is sent when a player executes /tvote.
- vote-commands | Commands that are run when a vote is sent.
Installation
To install this plugin, simply download it and put it in the plugins folder on your server.
Permissions
- tsunami.cmd | Allows player to use /vote.
- tsunami.offline | Players with this will be able to use the offline queue. If they vote while offline they will receive their voting rewards upon login.
- tsunami.vote | Allows players to receive voting rewards if they vote while online.
Command Usage
- /vote | Displays customizable voting information.
Current Features
- UUID support
- 1.10.2+ support
- Run multiple commands when a player votes
- Offline queue in-case a player votes while offline allowing them to receive their rewards upon login
- Customizable multi-line /vote command
- Easy and comprehensible configuration
Planned Features
- /votetop - Allow users to see top voters
- Vote Signs - Create signs that show top voters
Requests are welcome!
Donations
If you like my work and want to support what I do, this is my PayPal donation link: https://paypal.me/OceanSharma :)
Changelog
View download page for an up-to-date changelog!
-
If you run in to any errors, please submit a ticket or direct message me instead of leaving a negative comment :)
I'd love to see the lucky votes feature be implemented and have customization options, such as running commands and setting the lucky vote chance %. I came here based on your comment from the "Give Anything Listener" and figured to give it a try, but I feel it's definitely missing that feature! I also agree with ohaitran with having to restart to reload the config. Adding those 2 things would make this top notch!
Would be great to have a list of placeholders (eg. %name%, %newline% etc.) that are universal to all message-related configuration settings.
Cant wait for the /votetop and the vote signs!
Good plugin, but it really needs a config reload command. Hate having to restart my server just to change the /vote or broadcast message.
In reply to ohaitran:
Would you consider porting this plugin to SpongeForge so that modded comunties may use it as well?
This is by far the easiest voting plugin I have ever used, it is so easy to configure!