· 6 years ago · Dec 09, 2019, 08:06 PM
1# Stop counting time when a player is AFK? (Using Nucleus' API only!)
2# Setting this true without Nucleus (0.23.1+) installed will result in player's time not being counted.
3afk-support=true
4# Players need to use the command /ru check to rankup or let automatic?
5auto-rankup=true
6# Players need to use the command /ru rankup to rankup or /ru check will do this?
7check-rankup=true
8database {
9 prefix="ru_"
10 # The default uri is: "jdbc:h2:playerstats.db;mode=Mysql"
11 uri="jdbc:h2:%s/playerstats.db;mode=Mysql"
12}
13# Save to database every X minutes.
14database-save-interval=5
15# Date format to save data info of players.
16date-format="dd/MM/yyyy"
17# Enable debug messages?
18debug-messages=false
19# List of groups which will not be considered when checking for possible rank up scenarios.
20exclude-groups=[
21 "staff_group",
22 "donor_group"
23]
24# Save to file every X minutes.
25flat-file-save-interval=20
26# Available languages: EN-US, PT-BR
27language=EN-US
28# IMPORTANT: Change from "default" to exact group name the player need to is in to be promoted to next group
29ranked-groups {
30 II {
31 # Commands to execute when promote. These commands will depend on your permission plugin.
32 # Available placeholders: {player}, {oldgroup}, {newgroup}
33 execute-commands=[
34 "lp user {player} meta set home-count 7",
35 "econ add {player} 7000",
36 "lp user {player} meta setsuffix 500 &8[&2II&8]"
37 ]
38 # Levels(not experience) needed to promote.
39 levels-needed=-1
40 # Broadcast the promote message to all players.
41 # Available placeholders: {player}, {time}, {newgroup}
42 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
43 # Use the values of your scoreboard's Scores by name to rank up players.
44 # Set to 0 or -1 to disable.
45 minecraft-scoreboards {
46 TeamBlue=-1
47 }
48 # Use some Minecraft Statistics to track for rankup.
49 # This option will only accept LONG types for statistics.
50 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
51 # Set to 0 or -1 to disable.
52 minecraft-statistics {
53 "MOB_KILLS"=-1
54 "PLAYER_KILLS"=-1
55 }
56 # Minutes played needed.
57 minutes-needed=360
58 # Money needed. Do not requires additional plugin.
59 money-needed=0
60 # Exact name of group to promote player on match the requirements.
61 next-group=III
62 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
63 placeholder-api-requirements {
64 "%Pokedex%"=-1
65 }
66 }
67 III {
68 # Commands to execute when promote. These commands will depend on your permission plugin.
69 # Available placeholders: {player}, {oldgroup}, {newgroup}
70 execute-commands=[
71 "lp user {player} meta set home-count 8",
72 "econ add {player} 9000",
73 "lp user {player} meta setsuffix 500 &8[&3III&8]"
74 ]
75 # Levels(not experience) needed to promote.
76 levels-needed=-1
77 # Broadcast the promote message to all players.
78 # Available placeholders: {player}, {time}, {newgroup}
79 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
80 # Use the values of your scoreboard's Scores by name to rank up players.
81 # Set to 0 or -1 to disable.
82 minecraft-scoreboards {
83 TeamBlue=-1
84 }
85 # Use some Minecraft Statistics to track for rankup.
86 # This option will only accept LONG types for statistics.
87 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
88 # Set to 0 or -1 to disable.
89 minecraft-statistics {
90 "MOB_KILLS"=-1
91 "PLAYER_KILLS"=-1
92 }
93 # Minutes played needed.
94 minutes-needed=720
95 # Money needed. Do not requires additional plugin.
96 money-needed=0
97 # Exact name of group to promote player on match the requirements.
98 next-group=IV
99 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
100 placeholder-api-requirements {
101 "%Pokedex%"=-1
102 }
103 }
104 IV {
105 # Commands to execute when promote. These commands will depend on your permission plugin.
106 # Available placeholders: {player}, {oldgroup}, {newgroup}
107 execute-commands=[
108 "lp user {player} meta set home-count 9",
109 "econ add {player} 11000",
110 "lp user {player} meta setsuffix 500 &8[&9IV&8]"
111 ]
112 # Levels(not experience) needed to promote.
113 levels-needed=-1
114 # Broadcast the promote message to all players.
115 # Available placeholders: {player}, {time}, {newgroup}
116 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
117 # Use the values of your scoreboard's Scores by name to rank up players.
118 # Set to 0 or -1 to disable.
119 minecraft-scoreboards {
120 TeamBlue=-1
121 }
122 # Use some Minecraft Statistics to track for rankup.
123 # This option will only accept LONG types for statistics.
124 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
125 # Set to 0 or -1 to disable.
126 minecraft-statistics {
127 "MOB_KILLS"=-1
128 "PLAYER_KILLS"=-1
129 }
130 # Minutes played needed.
131 minutes-needed=1440
132 # Money needed. Do not requires additional plugin.
133 money-needed=0
134 # Exact name of group to promote player on match the requirements.
135 next-group=V
136 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
137 placeholder-api-requirements {
138 "%Pokedex%"=-1
139 }
140 }
141 V {
142 # Commands to execute when promote. These commands will depend on your permission plugin.
143 # Available placeholders: {player}, {oldgroup}, {newgroup}
144 execute-commands=[
145 "lp user {player} meta set home-count 10",
146 "econ add {player} 13000",
147 "lp user {player} meta setsuffix 500 &8[&bV&8]"
148 ]
149 # Levels(not experience) needed to promote.
150 levels-needed=-1
151 # Broadcast the promote message to all players.
152 # Available placeholders: {player}, {time}, {newgroup}
153 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
154 # Use the values of your scoreboard's Scores by name to rank up players.
155 # Set to 0 or -1 to disable.
156 minecraft-scoreboards {
157 TeamBlue=-1
158 }
159 # Use some Minecraft Statistics to track for rankup.
160 # This option will only accept LONG types for statistics.
161 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
162 # Set to 0 or -1 to disable.
163 minecraft-statistics {
164 "MOB_KILLS"=-1
165 "PLAYER_KILLS"=-1
166 }
167 # Minutes played needed.
168 minutes-needed=2880
169 # Money needed. Do not requires additional plugin.
170 money-needed=0
171 # Exact name of group to promote player on match the requirements.
172 next-group=VI
173 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
174 placeholder-api-requirements {
175 "%Pokedex%"=-1
176 }
177 }
178 VI {
179 # Commands to execute when promote. These commands will depend on your permission plugin.
180 # Available placeholders: {player}, {oldgroup}, {newgroup}
181 execute-commands=[
182 "lp user {player} meta set home-count 11",
183 "econ add {player} 15000",
184 "lp user {player} meta setsuffix 500 &8[&4VI&8]"
185 ]
186 # Levels(not experience) needed to promote.
187 levels-needed=-1
188 # Broadcast the promote message to all players.
189 # Available placeholders: {player}, {time}, {newgroup}
190 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
191 # Use the values of your scoreboard's Scores by name to rank up players.
192 # Set to 0 or -1 to disable.
193 minecraft-scoreboards {
194 TeamBlue=-1
195 }
196 # Use some Minecraft Statistics to track for rankup.
197 # This option will only accept LONG types for statistics.
198 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
199 # Set to 0 or -1 to disable.
200 minecraft-statistics {
201 "MOB_KILLS"=-1
202 "PLAYER_KILLS"=-1
203 }
204 # Minutes played needed.
205 minutes-needed=5760
206 # Money needed. Do not requires additional plugin.
207 money-needed=0
208 # Exact name of group to promote player on match the requirements.
209 next-group=VII
210 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
211 placeholder-api-requirements {
212 "%Pokedex%"=-1
213 }
214 }
215 VII {
216 # Commands to execute when promote. These commands will depend on your permission plugin.
217 # Available placeholders: {player}, {oldgroup}, {newgroup}
218 execute-commands=[
219 "lp user {player} meta set home-count 12",
220 "econ add {player} 17000",
221 "lp user {player} meta setsuffix 500 &8[&cVII&8]"
222 ]
223 # Levels(not experience) needed to promote.
224 levels-needed=-1
225 # Broadcast the promote message to all players.
226 # Available placeholders: {player}, {time}, {newgroup}
227 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
228 # Use the values of your scoreboard's Scores by name to rank up players.
229 # Set to 0 or -1 to disable.
230 minecraft-scoreboards {
231 TeamBlue=-1
232 }
233 # Use some Minecraft Statistics to track for rankup.
234 # This option will only accept LONG types for statistics.
235 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
236 # Set to 0 or -1 to disable.
237 minecraft-statistics {
238 "MOB_KILLS"=-1
239 "PLAYER_KILLS"=-1
240 }
241 # Minutes played needed.
242 minutes-needed=11520
243 # Money needed. Do not requires additional plugin.
244 money-needed=0
245 # Exact name of group to promote player on match the requirements.
246 next-group=fffffff
247 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
248 placeholder-api-requirements {
249 "%Pokedex%"=-1
250 }
251 }
252 default {
253 # Commands to execute when promote. These commands will depend on your permission plugin.
254 # Available placeholders: {player}, {oldgroup}, {newgroup}
255 execute-commands=[
256 "lp user {player} meta set home-count 6",
257 "econ add {player} 5000",
258 "lp user {player} meta setsuffix 500 &8[&fI&8]"
259 ]
260 # Levels(not experience) needed to promote.
261 levels-needed=-1
262 # Broadcast the promote message to all players.
263 # Available placeholders: {player}, {time}, {newgroup}
264 message-broadcast="&a>> The player &6{player} &ahas played for &6{time} &aand now is rank {newgroup} of server."
265 # Use the values of your scoreboard's Scores by name to rank up players.
266 # Set to 0 or -1 to disable.
267 minecraft-scoreboards {}
268 # Use some Minecraft Statistics to track for rankup.
269 # This option will only accept LONG types for statistics.
270 # See all statistics names here: https://jd.spongepowered.org/7.1.0/org/spongepowered/api/statistic/Statistics.html
271 # Set to 0 or -1 to disable.
272 minecraft-statistics {}
273 # Minutes played needed.
274 minutes-needed=120
275 # Money needed. Do not requires additional plugin.
276 money-needed=25
277 # Exact name of group to promote player on match the requirements.
278 next-group=II
279 # If using PlaceholderApi, just put the placeholder on key like "%PokeCount%" = 10 (as example)Set to 0 or -1 to disable.
280 placeholder-api-requirements {
281 "%Pokedex%"=-1
282 }
283 }
284}
285# Interval to add online player times.
286update-player-time-minutes=1
287# Use uuids to store players stats on playerstats.conf?
288use-uuids-instead-names=true