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

Login with username, password and session length

collapse

* Notifications

* Rainbow Downloads

* Recently Modified

Title Modified
VNAP by Algoru July 20, 2017, 11:59:25 PM
MultiWorld by CodeCrafter47 June 07, 2017, 05:07:00 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
RSwear by UnknownUser500 December 26, 2016, 05:08:50 PM

 



Command Listener [RainbowVotifier]
CommandListener.zip
Filesize: 2.44kB  Views: (849)  Downloads (193)  Last Download: June 30, 2017, 06:59:30 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


Configuration
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:
Quote
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

Comments

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