View difference between Paste ID: JLnzvs4J and FnePgxEF
SHOW: | | - or go back to the newest paste.
1
#RCRewards Config
2
3
#commands you wish this plugin to execute and its interval
4
#First value would be the amount of votes. Second value would be 
5
#the commands that should be executed at that interval
6
#EXAMPLE
7
8
#10:
9
#   - MESSAGE= 64 Cobblestone
10
#   - say %playername% has just recieved a prize for ten votes this month!
11
#   - give &playername% 4 128
12
13
#In this example at 10 votes a message is broadcasted to the server and the player is given a stack of cobblestone
14
# Message is what is dispalyed when /rewards is typed
15
16
#Put all your commands and intervals here:
17
1: 
18
    - MESSAGE= Free diamond armor. 
19-
    - say %playername% voted for 20 votes
19+
20-
    - say %playername% is the shit.
20+
21
#Vote amount intervals: put all the various intervals here
22
#MAKE SURE THESE AND ABOVE MATCH UP
23
#EXAMPLE
24
#intervals:
25
#   - 10
26
#   - 20
27
28
intervals:
29
    - 1
30
31
#Welcome message
32
#Use %votes% to display the players votes
33
welcome message: '&fYou have voted &e%votes% &ftime(s) this month! &fPlease support our server by voting at &c&nhttp://www.rebel-craft.tk'
34
35-
welcome message:
35+
36
canReset: true
37
38-
canReset: false
38+
#customizable messages, include colors as necessary. %playername%, %votes%, and %reward% work here
39
messageToSendToPlayer: '&f You have voted &e%votes% time(s) &fthis month and received &e%rewards%. &fKeep on voting to earn more.'
40-
#customizable messages, include colors as necessary.
40+
messageToBroadCast: '&e %playername% has voted %votes% time(s) this month and has received %reward%'