VoteLinks
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
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.)
-
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
As I type this, the latest build of Bukkit that I know of 1.7.2-R0.4 and the latest build works with this plugin.
I haven't done anything with this plugin for nearly a year, so I'm marking it as in-active. Moving on to bigger and better things, you know how it is.
~Jnk
@opgg6skipperv
Sure, go right ahead. If you do, mind if I have a link to it? :D
thanks for the download, the plugin is "GREAT"
going to make a youtube video, if thats ok?
@graveXrobber
You're welcome. Glad to hear it. :)
@Jnk1296
Thank you and the plugin works great!
@graveXrobber
I could. And actually, that would probably be more simple.
Can you make it so its just /vote?