-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvoteparty
157 lines (157 loc) · 5.65 KB
/
voteparty
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# VoteParty v2.5
# Via config.helpch.at
# Creator: Clip & Glare
# Contributors: https://github.com/VoteParty/VoteParty/graphs/contributors
# Issues: https://github.com/VoteParty/VoteParty/issues
# Spigot: https://www.spigotmc.org/resources/987/
# Wiki: https://wiki.helpch.at/glares-plugins/voteparty
# Discord: https://helpch.at/discord
settings:
# The default language of the plugin
language: en-US
# The prefix of all the messages in the plugin
prefix: '&d&lVote&5&lParty &7&l» '
counter:
# It is suggested that you don't modify this value manually.
# Every X seconds, this value will update to the latest known amount of votes.
# This allows you to persist vote counts through reboots.
votes: 0
# How often to save the current amount of votes (in seconds)
save-interval: 300
# The hook part of the config allows you to configure which plugins you would like to hook into for votes.
# By default, the plugin will utilize NuVotifier and listen for it's vote events.
# If you would like to use the plugin without NuVotifier, just disable the hook!
# NOTE: Keep in mind that without being hooked into a vote plugin, the plugin will not automatically handle votes.
# You will be required to do everything manually.
# Over time, more plugins may become supported!
hooks:
# Would you like to listen to NuVotifier for incoming votes?
nuvotifier: true
crate:
enabled: true
lore:
- ''
- '&7Place the chest in order to'
- '&7to receive rewards!'
- ''
material: CHEST
name: '&d&lVote&5&lParty &f&lCrate'
# Configuration for particle effects you can play
# throughout different parts of the plugin
effects:
# Configuration for particles when party commands are being executed
party_commands_execute:
enable: true
effects:
- SMOKE_NORMAL
- HEART
offsetX: 0.0
offsetY: 0.0
offsetZ: 0.0
speed: 0.1
count: 2
# Configuration for particles when a party starts
party_start:
enable: true
effects:
- SMOKE_NORMAL
- HEART
offsetX: 0.0
offsetY: 0.0
offsetZ: 0.0
speed: 0.1
count: 2
# Configuration for particles when a player votes
vote:
enable: true
effects:
- SMOKE_NORMAL
- HEART
offsetX: 0.0
offsetY: 0.0
offsetZ: 0.0
speed: 0.1
count: 2
party:
# The amount of votes needed for a party to occur
votes_needed: 50
# The list of worlds where party rewards won't be given
disabled_worlds:
- ''
# Choose to allow offline votes count towards the party
offline_votes: true
# The amount of time (in seconds) the server will wait to start the party after the amount needed has been achieved
start_delay: 15
# The amount of time (in seconds) the server will wait between executing reward commands
command_delay: 1
# Configuration for chance rewards to be given during a party.
# Add as many commands as you want, set their chance, and choose the max amount a player can earn!
reward_commands:
enabled: true
max_possible: 1
commands:
- chance: 50
command: eco give %player_name% 100
- chance: 50
command: give %player_name% DIAMOND 6
- chance: 50
command: give %player_name% IRON_INGOT 12
# Configuration for extra commands to be executed on players who have specific permission nodes when a party happens
permission-rewards:
enabled: true
permCommands:
- permission: my.special.permission
commands:
- eco give %player_name% 500
# A list of rewards that will ALWAYS be given to a player during a party
guaranteed_rewards:
enabled: true
commands:
- eco give %player_name% 10
- give %player_name% STEAK 8
# Commands to be executed before a party is started
pre_party_commands:
enabled: true
commands:
- broadcast Party will start soon!
# Commands to be executed when a party has started
party_commands:
enabled: true
commands:
- broadcast A Vote Party has started!
voting:
# Configuration for chance rewards to be given for voting.
# Add as many commands as you want, set their chance, and choose the max amount a player can earn!
per_vote_rewards:
enabled: true
max_possible: 1
commands:
- chance: 50
command: eco give %player_name% 100
- chance: 70
command: give %player_name% STEAK 10
# Configuration for extra commands to be executed on players who have specific permission nodes
permission-rewards:
enabled: true
permCommands:
- permission: my.special.permission
commands:
- eco give %player_name% 500
# A list of rewards that will ALWAYS be given to a player for voting
guaranteed_rewards:
enabled: true
commands:
- eco give %player_name% 10
- give %player_name% STEAK 8
# Global commands (such as a broadcast message) to be executed when a player votes
global_commands:
enabled: true
commands:
- broadcast %player_name% just voted! Only %voteparty_votes_required_party% more votes
until a VoteParty!
offline_vote_claiming:
# Would you like players to be able to claim rewards for offline votes?
# Note: They will only be able to get credit for rewards if you have `offline_votes` enabled
enabled: false
# Would you like to notify the player when they login that they have votes to claim?
notify: false