VoteLinks

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

After implementing Votifier on our server, we had an issue where we had no way to push all of the site links out to our players in an easy way. So, I wrote this simple plugin to do just that.

Upon running the plugin, a default file "URLs.txt" will be generated in the plugin's directory. Simply open this file in your favorite text editor, and place each voting URL you wish to display on a separate line.

Commands:
/vote
/vote reload
/vote about

Permission Nodes:
VoteLinks.use - required to use all commands.
VoteLinks.reload - required to use /vote reload.

TODO:
- Allow for additional links to be displayed (such as links to server forums, etc.)
- Allow for chat colors
- Swtich from .TXT configuration file to .YML

Update #1 (v1.0.2):
- Properly handles reload command. (Would always report a successful reload before, now reports if an error occurred.)
- Other code revisions.

Update #2 (v1.0.3):
- Implemented Chat Coloring. To add color, place a color tag at the beginning of each line (e.g. &k). Supports all native color codes, bold, italic, underscore, strike-through, and magic text. Only allows for one effect per line due to the nature of URLs.
- Bug Fix: Fixed a potential bug with the color code detection that could render some URLs (specifically those using the '&' character) unusable.

The source code for this project is available here: PasteBin

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files