Added the ability to give the VoteRewards regardless of the site you are voting on, set SiteName to "ALL"
Example:
Code:VoteRewards: # REQUIRED NuVotifier/Votifier ENABLED on the server and the option "Votifier" to "true" Enabled: false Rewards: '0': # TO USE ALL SET ServiceName TO "ALL" SiteName: "ALL" # Permission to take this prize # to disable this check Set to "" Permission: "" # # Avalible Placeholders # # Player Name => {0} # Web Site Name => {1} # # Internal broadcast without prefix or other # # hv rawbroadcast <message> # Commands: - "broadcast &fThanks &6{0} &ffor voting on &6{1}!" - "give {0} stone 1" Messages: - "&7" - "&aThanks for voting on &6{1}" - "&7"
Added the top Week and the placeholder to collect the weekly votes
%heroxvote_top_[balance|votes]_[name|amount]_[alltime|current|lastmonth|weekly]_[1-10]%
Return money/votes or name of the player who is in position x of the TOP 10, if selected votes you can also decide the time frame to be analyzed
%heroxvote_votes_weekly%
The amount of votes of the player (of this week)
Added the ability to change the vote points (HV) to be given when voting
Added support for NameMCCode:# Here you can change the amount of VotePoint (HV) to be given to the player # when voting on a specific site or on all VotifierVotePoint: # You want to enable this function? # if it is disabled, no vote points will be given to players when they vote Enabled: true # Below you can add the vote points to be given to the various players # if they vote in specific sites # ( TO USE ALL SET ServiceName TO 'ALL' ) # # Example: # '1': # ServiceName: 'Minecraft-MP.com' # VotePoints: 2 # # NB: set only whole numbers and # not less than or equal to 0, # otherwise it will be ignored! # Rewards: '1': ServiceName: 'ALL' VotePoints: 1
NB: the command to take the prize is /namemc
%heroxvote_namemc_voted%
Returns "true" if the player voted on NameMC otherwise "false"
%heroxvote_namemc_claimed%
Returns "true" if the player claimed the prize for voting on NameMC otherwise "false"Updated the API and JavaDOC, also added the event onVoteEventCode:# Here you can check if the user in question has rated your server on NameMC # # NB: To collect the prize you must use the command /namemc # NB2: Remember that you need the permission heroxvote.namemc.use # TIP: There is also a placeholder to see if the user has voted and # if he has already collected the reward with the command /namemc # %heroxvote_namemc_voted% => returns if he has voted # %heroxvote_namemc_collected% => returns if he has taken the prize NameMC: Enabled: false ServerAPI: "mc.heroxwar.com" # API to convert player nickname to UUID ( only for OFFLINE MODE SERVER ) NicknameToUUID: # Site from where I get the uuid Website: "https://playerdb.co/api/player/minecraft/{nickname}" # The value to be fetched from the JSON, # use the ";" to separate the keys in case # of objects or maps # # Example # $Json['data']['player']['id'] # Value = "data;player;id" JSON: "data;player;id" Rewards: '1': # Permission to take this reward # To disable this check set to "" Permission: "heroxvote.namemc.noob" Commands: - "hv rawbroadcast &fThanks &6{0} &ffor voting on &6NameMC!" - "give {0} emerald 64" Messages: - "&7" - "&aThanks for voting on NameMC" - "&7" '2': # Permission to take this reward # To disable this check set to "" Permission: "heroxvote.namemc.vip" Commands: - "hv rawbroadcast &fThanks &6{0} &ffor voting on &6NameMC!" - "give {0} emerald 32" Messages: - "&7" - "&aThanks for voting on NameMC" - "&7"
Fixed compatibility with materials of 1.12.2 or lower
Fixed PlaceholderAPI compatibility and reload
Fixed inventory click issues
Improved the obfuscation method.
Only for today 21/12, also my birthday... this plugin will be discounted at 99%... Take advantage!
