Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length


* Notifications

* Rainbow Downloads

* Recently Modified

Title Modified
VNAP - Authentication Pl... by Algoru December 25, 2017, 03:33:50 AM
Pl3xPlugins (updated) by CodeCrafter47 December 21, 2017, 04:47:31 AM
MultiWorld by CodeCrafter47 August 03, 2017, 01:16:59 PM
Shared Packages by JD9999 June 02, 2017, 05:20:12 PM
LagControl v0.1 by UnknownUser500 April 13, 2017, 11:05:17 PM
FirstJoinMessages v0.1 by UnknownUser500 February 09, 2017, 07:44:49 AM
aConfigAPI by UnknownUser500 February 09, 2017, 07:28:52 AM
PluginManager v0.1 by UnknownUser500 January 21, 2017, 08:18:32 PM
Transporter by JD9999 December 28, 2016, 02:53:40 PM
BukkitToRainbow code con... by UnknownUser500 December 27, 2016, 09:52:17 PM


Command Listener [RainbowVotifier]
Filesize: 2.44kB  Views: (1020)  Downloads (222)  Last Download: April 10, 2018, 02:52:13 PM 
Previous Download | Next Download
Description: This is a RainbowVotifier vote listener that will execute commands listed in a text file when somebody votes for your server.

The following variables can be used in commands {username}, {serviceName}, {address}, {timeStamp}.
Code: [Select]
username - Voter's username
serviceName - Website voted on
address - Voter's IP Address
timeStamp - Time the vote took place

The list of commands will be saved to plugins_mod/RainbowVotifier/CommandListener.txt.
Each line will be a different command to run.
The default configuration looks like this:
say Thanks a{username} for voting on 9{serviceName}!
give {username} emerald 1

This will give somebody 1 Emerald and thank them for voting.

To use colors in commands, make sure your the CommandListener.txt is encoded in ANSI format, and use the Selection Symbol () and then the color code to use colors.

Formatting codes - Minecraft Wiki

Spoiler: Change File Encoding in Notepad++ (hover to show)

Posted by: coolv1994 November 10, 2014, 03:13:52 PM

Linking Codes
Direct Link


Add Comment
Your comment will not appear until it has been approved.