Not using 1.8? Read this!
If you get an error like unknown enum constant Sound.<sound> you need to change the sounds in your bounty.yml since the sound names have changed. Just google Spigot sounds <version> and you will get a list of available sounds
Default config.yml
version: '1.5'
mysql-enabled: false
mysql-username: 'myusername'
mysql-password: 'mypassword'
mysql-database: 'mydatabase'
mysql-port: '3306'
mysql-host: 'myhost'
#{player} returns either 'My' or "PlayerExample's"
stats-command:
- '&8-=-=-[ &a%player% Statistics &8]-=-=-'
- '&7'
- '&aKills &8> &r%kills%'
- '&aDeaths &8> &r%deaths%'
- '&aKillstreak &8> &r%killstreak%'
- '&aTop Killstreak &8> &r%top_killstreak%'
- '&aKDR &8> &r%kdr%'
- '&aHMR &8> &r%hmr%'
- '&aCHR &8> &r%chr%'
- '&aLevel &8> &r%level%'
- '&aXP &8> &r%curr_xp%/%nextlevel_xp%'
- '&aProgress &8> &8[&r%level_progress%&8] &b%level_progress_percent%% &7(&6%level_xp_tonextlevel% &7XP to next level)'
- '&aHits &8> &r%hits%'
- '&aMisses &8> &r%misses%'
- '&aCriticals &8> &r%criticals%'
me: 'My'
#######################
# Levels #
#######################
level-progress-identifier: '|'
level-progress-blocks: 20
level-progress-color: '&a'
level-progress-noncolor: '&7'
xp-per-kill: 5
xploss-per-death: 2
# Use 'chat:' to send chat messages via console, using msg will send a player something like [Console > You] Hi!
levels:
zero:
name: '&70'
cmd: ['']
xp_needed: 0
one:
name: '&cRookie'
cmd: ['eco give %player% 100', 'chat:&6You have reached level 1!']
xp_needed: 10
levelup-commands: ['eco give %player% 200', 'chat:&6You leveled up to %name%&6!']
#######################
# Killstreak #
#######################
killstreaks:
'5':
perform:
- 'bc &7%player& &ais on a 5 kill killstreak!'
- 'eco give %player% 200'
end:
- "bc &7%killer% &cended &7%player%&c's 5 kill killstreak!"
'10':
perform:
- 'bc &7%player% &ais on a 10 kill killstreak'
- 'chat:&6You are unstoppable!'
end:
- "bc &7%killer% &cended &7%player%&c's 10 kill killstreak!"
#######################
# Hooks/API's #
#######################
### - REQUIRES Vault
#### : Support for PlaceholderAPI/MVdWPlaceholderAPI
use-format: false
format: "&7[{pvplevel}&7] {prefix}&7{player}&8: &7{suffix}{message}"
#Requires WorldGuard
worldguard-enabled: false
worldguard-regions:
- '__global__'
#######################
# Anti boosting #
#######################
# Max kills a player have concurrently on one player
antistats-max-kills: 15
# Time till counted kills will be reset
antistats-max-kills-time: 300
# Time player will not recieve stats updates when timed out due to antistats-max-kills
antistats-timeout: 600
# Message sent to player when timed out
antistats-message: '&cYou have killed a single player too many times, you will not increase your statistics for &410 minutes'
# Checks if two players are on the same address, if so stats will not be counted
same-address-check: false
# Max kills a player can have on one player (Will not reset on server restart) (Set to 0 to disable)
max-kills: 0
# Message sent to player when max kills has been reached
max-kills-message: '&cYou have killed that player so much you can no longer recieve any benefits from killing them!'
#######################
# Messages #
#######################
syntax-error: '&c&lPVPStats &8| &7Invalid command syntax, use %command_usage%!'
reset-none: '&c&lPVPStats &8| &7You do not own any resets!'
reset: '&c&lPVPStatistics &8| &7You have reset your statistics'
reset-received: '&c&lPVPStatistics &8| &7You have received &4%amount% &7resets'
# KDR Format, if you don't know what this means, dont change it.
# https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html
kdr-format: '##0.0'
#######################
# Combatlog #
#######################
combatlog-enabled: false
combatlog-nolonger: '&7You are no longer in combat!'
# Time until player will no longer be in combat
combatlog-time: 15
# Commands to execute when player combatlogs
# %player% for combatlogger, %killer% for the respective killer of the player that combat logged
# use 'chat:' to send chat message to killer
combatlog-commands:
- 'chat:&c%player% &4has combat-logged!'
- 'bc &c%player% &4has combat-logged!'
# Sent to player when in combat
combatlog-combatant: '&7You have been attacked by &c%player% &7and now in combat for &c15 seconds&7!'
combatlog-attacker: '&7You have attacked &c%player% &7and now in combat for &c15 seconds&7!'
#######################
# Leaderboard Command #
#######################
lb-cmd-enabled: true
lb-as-gui: false
lb-invalid-syntax:
- '&7&m--------------'
- '&6/lb kills &8- &eTop 10 Kills'
- '&6/lb deaths &8- &eTop 10 Deaths'
- '&6/lb killstreak &8- &eTop 10 Killstreaks'
- '&6/lb kdr &8- &eTop 10 KDR'
- '&6/lb chr &8- &eTop 10 CHR'
- '&6/lb hmr &8- &eTop 10 HMR'
- '&6/lb bounty &8- &eTop 10 Bounties'
- '&6/lb levels &8- &eTop 10 Levels'
- '&6/lb uniquekills &8- &eTop 10 Unique Kills'
- '&7&m--------------'
lb-header-kills: '&7Top 10 Kills'
lb-header-killstreak: '&7Top 10 Killstreaks'
lb-header-deaths: '&7Top 10 Deaths'
lb-header-kdr: '&7Top 10 KDR'
lb-header-chr: '&7Top 10 CHR'
lb-header-hmr: '&7Top 10 HMR'
lb-header-levels: '&7Top 10 Levels'
lb-header-bounties: '&7Top 10 Bounties'
lb-header-uniquekills: '&7Top 10 Unique Kills'
# Have a main menu where players can select what stats they want to see
lb-selectmenu-enabled: true
lb-selectmenu-title: '&7Top Statistics'
# Syntax =
# %name%:%item%
# set to '' to disable
lb-selectmenu-kills: '&7Top 10 Kills:DIAMOND_SWORD'
lb-selectmenu-killstreak: '&7Top 10 Killstreaks:IRON_CHESTPLATE'
lb-selectmenu-deaths: '&7Top 10 Deaths:REDSTONE'
lb-selectmenu-kdr: '&7Top 10 KDR:IRON_SWORD'
lb-selectmenu-chr: '&7Top 10 CHR:STONE_SWORD'
lb-selectmenu-hmr: '&7Top 10 HMR:WOOD_SWORD'
lb-selectmenu-levels: '&7Top 10 Levels:EXP_BOTTLE'
lb-selectmenu-bounties: '&7Top 10 Bounties:PAPER'
lb-selectmenu-uniquekills: '&7Top 10 Unique Kills:GOLD_SWORD'
lb-cmd-format: '&6%place%. &e%player% &8| &7%amount%'
#######################
# Other #
#######################
# Drop playerheads
playerheads: false
# Drop chance percentage
playerheads-chance: 1
# Playerhead item
playerheads-display: "&6&l%player%'s Head"
# Interval between consumption in seconds
playerheads-interval: 300
playerheads-interval-message: "&6That item has a cooldown of &e%remaining%s&6!"
# Turn to 0 to disable
playerheads-health: 10
playerheads-regeneration: 2
# What worlds not to gather stats in?
world-blacklist: ['world_the_end', 'notthisworld']
bounty.yml
version: '1.1'
# This requires Vault!
bounty-enabled: false
tax-enabled: true
# In %
tax-amount: 10
#Set to -1 to disable
bounty-min-amount: 20
bounty-max-amount: 700
# Timeout in between bounties
bounty-timeout: 300
# Time for bounty to expire (Only when online) (Set to -1 to disable)
bounty-time: 600
# Payout percentage when bounty survives
bounty-time-payout: 80
tracker-enabled: true
tracker-item: 'COMPASS'
tracker-displayname: '&bTracker Compass'
tracker-lore:
- '&7Right-click this item to track'
- '&7a player bounty'
# GUI for Tracker
tracker-gui-size: 27
# https://minecraftitemids.com/types/glass
tracker-gui-glass-color: 7
tracker-gui-title: '&bTracker Selector'
tracker-gui-display: '&c%bountied%'
tracker-lores:
- '&eAmount &8> &6%amount%$'
- '&eBounty by &8> &6%bountier%'
- '&eTime Left &8> &6%timeleft%s'
# Bounty GUI (Not the selector)
tracker-size: 27
tracker-glass-color: 7
tracker-title: '&bTracker Selector'
tracker-display: '&c%bountied%'
tracker-lores:
- '&eAmount &8> &6%amount%$'
- '&eBounty by &8> &6%bountier%'
- '&eTime Left &8> &6%timeleft%s'
# Broadcasted Messages
bounty-killed-message:
- '&7&m-------------------'
- '&c%bountied% &ehas been killed by &6%killer%'
- '&eThis bounty was worth &c%amount%&e!'
- '&7&m-------------------'
bounty-survived-message:
- '&7&m-------------------'
- '&c%bountied% &ehas survived the bounty placed by &6%bountier%'
- '&eThis bounty was worth &c%amount%&e!'
- '&7&m-------------------'
bounty-set-message:
- '&7&m-------------------'
- '&eA bounty has been set on &c%bountied% &eby &6%bountier%'
- '&eThe person that kills this player will be rewarded &c%amount%$&e!'
- '&7&m-------------------'
bounty-set-onself:
- '&7&m-------------------'
- '&cYou can not set a bounty on yourself!'
- '&7&m-------------------'
bounty-syntax-message:
- '&7&m-------------------'
- '&e/bounty list | List of active bounties'
- '&e/bounty set <player> <amount> | Put a bounty on a player'
- '&7&m-------------------'
# Private Messages
tax-payment: '&eYou payed &c%amount%$ &eas tax'
survival: '&eYou have survived the bounty set by &c%bountier%&e and recieved &6%amount%$&e!'
bounty-offline: '&eThe selected bounty is &coffline&e!'
target-killed: '&eYour target has been killed by &6%killer%&e!'
target-selected: '&eYour target &6%bounty% &eis &6%distance% blocks &eaway!'
bounty-cooldown: '&eYou must wait another &6%time% seconds &ebefore you can put out another bounty!'
target-not-found: '&eYour target has not been found!'
valid-number: '&ePlease put in a valid number!'
insufficient-funds: '&eYou have insufficient funds for that bounty'
number-between: '&eYou need to select a number between &620 and 700&e!'
# Sounds
# Sound target gets when he/she survives the bounty
sound-survival: 'NOTE_PLING'
# Sound the target gets when bountied
sound-bountied: 'ENDERDRAGON_GROWL'
# Sound for the killer when he/she kills a bounty
sound-kill: 'NOTE_PIANO'
# Sound for target when killed
sound-killed: 'ENDERMAN_SCREAM'
Commands
-=-=-=-=-=-=-
* /stats, /statistics - returns statistics
* /leaderboardrefresh - manually refreshes leaderboards (pvpstats.leaderboardrefresh permission)
* /moveleaderboard, /movelb - moves leaderboard to your location (pvpstats.moveleaderboard)
* /adminreset, /ar - adds resets to player or resets players' statistics (pvpstats.adminreset)
* /statsreset, /sr - resets statistics if player owns reset
* /addstats, /removestats, /setstats
* /stats reload - reloads the plugin (pvpstats.reload)
* /bounty list - list of bounties in GUI
* /bounty set <player> <amount> - sets a bounty on a player (pvpstats.bounty)
Placeholders
pvpstats_level - returns level
pvpstats_kills - returns kills
pvpstats_deaths - returns deaths
pvpstats_kdr - returns kdr
pvpstats_killstreak - returns current killstreak
pvpstats_topkillstreak - returns top killstreak
pvpstats_level_progress - displays progress bar
pvpstats_level_progress_percent - displays progress percentage
pvpstats_nextlevel_xp - displays amount of xp needed to progress to next level
pvpstats_currxp - displays current amount of xp
%pvpstats_kills_1% to %pvpstats_kills_10% - placeholders for custom statistics
%pvpstats_deaths_1% to %pvpstats_deaths_10% - placeholders for custom statistics
%pvpstats_killstreak_1% to %pvpstats_killstreak_10% - placeholders for custom statistics
%pvpstats_kdr_1% to %pvpstats_kdr_10% - placeholders for custom statistics
%pvpstats_hmr_1% to %pvpstats_hmr_10% - placeholders for custom statistics
%pvpstats_chr_1% to %pvpstats_chr_10% - placeholders for custom statistics
append with _amount to get amount, so: %pvpstats_kills_1_amount%
Using PlaceholderAPI? Your placeholders should look like %pvpstats_<id>%
Using MVdWPlaceholderAPI? Your placeholders should look like {pvpstats_<id>}
pvpstats_kills - returns kills
pvpstats_deaths - returns deaths
pvpstats_kdr - returns kdr
pvpstats_killstreak - returns current killstreak
pvpstats_topkillstreak - returns top killstreak
pvpstats_level_progress - displays progress bar
pvpstats_level_progress_percent - displays progress percentage
pvpstats_nextlevel_xp - displays amount of xp needed to progress to next level
pvpstats_currxp - displays current amount of xp
%pvpstats_kills_1% to %pvpstats_kills_10% - placeholders for custom statistics
%pvpstats_deaths_1% to %pvpstats_deaths_10% - placeholders for custom statistics
%pvpstats_killstreak_1% to %pvpstats_killstreak_10% - placeholders for custom statistics
%pvpstats_kdr_1% to %pvpstats_kdr_10% - placeholders for custom statistics
%pvpstats_hmr_1% to %pvpstats_hmr_10% - placeholders for custom statistics
%pvpstats_chr_1% to %pvpstats_chr_10% - placeholders for custom statistics
append with _amount to get amount, so: %pvpstats_kills_1_amount%
Using PlaceholderAPI? Your placeholders should look like %pvpstats_<id>%
Using MVdWPlaceholderAPI? Your placeholders should look like {pvpstats_<id>}
Screenshots