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
Shared Packages by JD9999 Today at 12:44:55 AM
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
MultiWorld by CodeCrafter47 January 30, 2017, 07:58:46 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
God by Fredashay November 27, 2016, 04:41:43 PM

 



Command Listener [RainbowVotifier]
CommandListener.zip
Filesize: 2.44kB  Views: (788)  Downloads (188)  Last Download: May 21, 2017, 04:13:15 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.