-
Notifications
You must be signed in to change notification settings - Fork 4
/
SimpleVoteListener.yml
29 lines (25 loc) · 1.12 KB
/
SimpleVoteListener.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Sends private message to the voting player.
private-message: '&eThanks for voting!'
# Sends public broadcast to server.
public-message: '&e%name% voted from %service% at %time% with address %address%.'
# Commands to be performed only if the player is offline, without the slash.
offline-commands:
- 'broadcast &eGo to %service% to vote for our server, just like %name% &edid!'
# Commands to be performed if the player voted offline and joins the server.
login-commands:
- '%name% &7logged in after voting!'
- 'msg %name% Here is your prize for voting!'
- 'give %name% wood 64'
# Commands to be performed only if the player is online.
online-commands:
- 'give %name% diamond 1'
- 'money give %name% 200'
- 'group set %name% member'
# Commands to be performed after a given amount of time.
# Separate command from time using ';' and define the time
# using 'h' (hour), 'm' (minute), 's' (second). Exclude the slash
# in front of the command unless the command requires another slash.
timed-commands:
- 'group set %name% user;24h'
- 'spawn %user%'
# Note: Stopping or reloading the server will execute the timed commands.