· 6 years ago · Mar 19, 2020, 08:36 AM
1api-key: "jH8ZVbLSSDUS0cu4soGlgL1lsnyffpSXWCk" # API Key from https://minecraftpocket-servers.com/servers/manage/.
2commands:
3 # Commands to be executed when a player claims their vote.
4 # They should not include the first "/" and they should be encased in quotes.
5 # It is recommended to encase the username variable in escaped quotes (\") to make sure it
6 # is sent as one argument to the command to ensure they get all of their rewards.
7 # List of useable variables:
8 # {username}: The player's in game username
9 # {displayname}: The player's display/nick name
10 # {x}: The player's X coordinate
11 # {y}: The player's Y coordinate
12 # {z}: The player's Z coordinate
13 - "say {username} has just voted!"
14 - "title \"{username}\" title &aVote"
15 - "title \"{username}\" subtitle &7Thanks for voting!"
16# If droprewards is true, rewards will be dropped on the floor if a player's inventory is full
17# If droprewards if false, rewards will dissapear if a player's inventory is full
18droprewards: true
19items:
20 # Items to be given to a player when they claim their vote.
21 # They should follow the format: "item_name:meta:amount:name:enchant_name:enchant_level".
22 # "name" can either be a custom name, or "default" to have no custom name.
23 # "item_name", "meta", "amount" & "name" must all come before any enchantments.
24 # "enchant_name:enchant_level" can be repeated as many times as you want.
25 # Enchantments from PiggyCustomEnchants are also supported, use them the same as regular enchants.
26 # They should also always be encased in quotes to make sure they get parsed properly.
27 - "diamond_block:0:32"
28 - "steak:0:64:Porkchops"
29 - "diamond_sword:0:1:&lPowerful Sword:sharpness:5:unbreaking:3"
30 - "bow:0:1:&dPiggy's Bow:power:5:unbreaking:3:porkified:3"
31messages:
32 info:
33 title: "&aThis server's vote information:"
34 content: "&aUptime: {uptime}\n&aScore: {score}\n&aRank: {rank}\n&aVotes: {votes}\n&aFavorited: {favorited}\n&aComments: {comments}"
35 noperms: "&cYou do not have permission to use this command."
36 reload:
37 success: "&aYou have reloaded the server's vote configuration."
38 top:
39 novoters: "&cThere are no top voters."
40 title: "&aTop voters this month:"
41 format: "&a{place}. {username}: {votes}"
42 vote:
43 alreadyclaimed: "&cYou have already claimed your vote."
44 alreadyprocessing: "&cYour vote is already being processed."
45 claimed: "&aThank you for voting! You have received your rewards."
46 error: "&cUnable to claim your vote, please try again later."
47 notvoted: "&cYou have not voted yet."
48 processing: "&aYour vote is being processed, please wait."
49 usage:
50 notplayer: "&cUse '/vote <info|reload|top>'."
51 other: "&cUse '/vote [info|top]."
52 reloadperm: "&cUse '/vote [info|reload|top]."