LEAKERS NOTE: This resources is donated by @NahMan!
Original Link: https://www.spigotmc.org/resources/1-6-1-12-playerbounty-fully-recoded-10-off-sale.20133/
Please Give me a positive rating as a token of appreciation
DONATION: Want more plugins donate any amount to
paypal.me/qtchan
Original Link: https://www.spigotmc.org/resources/1-6-1-12-playerbounty-fully-recoded-10-off-sale.20133/
Please Give me a positive rating as a token of appreciation
DONATION: Want more plugins donate any amount to
paypal.me/qtchan
Tested Minecraft Versions: 1.7, 1.8, 1.9, 1.10, 1.11, 1.12
This plugin was created back in March of 2016 as my first official public resource, which at the time it was on fire, but then I stopped updating it and it got quite. So here I am, updating it again, and making it even better then it once was. This plugin gives you a virtual way to set a "target" on a players back that can be claimed by another player for killing them.
Vault
- Supports saving Bounty data via. MySQL databases, SQLite databases or YML files.
- 100% customizable messages.
- Ability to set a minimum amount a player can set on someone's head.
- Ability to set a maximum amount a player can set on someone's head.
- Ability to set a minimum bounty someone must have on their head to broadcast the message when they get killed.
- Customization towards the players that are displaying in the GUI when a player does /bounty list.
- Multiple permissions to add more support for allowing features as perks.
- All money inputs have been formatted with commas every 3 digits.
- All version support.
- Head drops with customisable name/lore about the bounty upon claiming the bounty.
- Custom particle to display who has a bounty in game.
- Custom glow effect for 1.9+ (Disable glow if you're on 1.8 or under otherwise it'll cause errors).
- View online and offline bounties in the GUI and via /bounty get.
- BountyStreak custom broadcast messages + rewards.
- Custom LastSeen feature which will display the players last seen location.
- Depending on the bounty amount, is the time it'll take to expire.
- Add a way to track how long you have left on your bounty.
- Add PlaceholderAPI hooks
- Add an automatically created GUI which will display rewards for specific streak hits
- Please comment in the discussion section if you have anymore requested features for this plugin.
If your server uses this please tell me on Spigot's PM and I will add your server to the list, thanks
mc.boostednetwork.org
glacialrealms.com
mc.boostednetwork.org
glacialrealms.com
- /bounty add [player] [amount] - increases/sets a bounty on someone.
- /bounty get (player) - Will display information about the targetted player or yourself.
- /bounty list - Will open a GUI to display all bounties.
- /bounty reload - reloads the yml files.
- /bounty remove <player> - Silently takes that amount of money from the specified players bounty.
- /bounty set <player> <amount> - Silently sets the specified players bounty.
- /bounty streak (player) - Will show you how many bounty kills you have on your kill streak.
pbounty.admin - Permission to reload the plugin in-game, aswell as a having access to all other features of this plugin.
pbounty.bountyset - Gives you access to set bounties on players.
pbounty.bountyclaim - Gives you access to claim bounties.
config.yml
inventories.yml
data.yml
Remains empty till players join because this is where data is stored.
Code:
Bounty:
BroadcastsWhen:
minBountyDeath: 1000.0
minBountyIncrease: 100.0
BountysExpire:
enabled: false
time: 3600
BountyList: []
Items:
BountyGet:
type: '397:3'
name: '&b&l{playerName} {status}'
lore:
- '&eAmount: &a$&f{amount}'
- '&eCurrent Streak: &f{streak}'
- '&eBounties Claimed: &f{bountiesClaimed}'
- '&eLast Seen: &f{lastSeen}'
BountyList:
type: '397:3'
name: '&b&l{playerName} {status}'
lore:
- '&eAmount: &a$&f{amount}'
- '&eCurrent Streak: &f{streak}'
- '&eBounties Claimed: &f{bountiesClaimed}'
- '&eLast Seen: &f{lastSeen}'
HeadItem:
type: '397:3'
name: '&fSkull of &b&l{player}'
lore:
- '&7Defeated by &f{killer} &7on'
- '&f{date}&7 with their'
- '&f{weapon}'
- '&7to claim a bounty on their head'
- '&7worth: &a$&a{amount}&7.'
- '&7'
- '&7Keep this as a trophy to prove that'
- '&7you claimed this bounty.'
LastSeen:
default: 'No where to be seen'
offline: '-'
displayCoords: false
displayRegions: true
displayWorlds: true
Priorities:
'1': Coords
'2': Regions
'3': Worlds
Regions:
spawn: 'On the Main Island'
Worlds:
ASkyBlock: 'Somewhere amongst the Islands'
ASkyblock_nether: 'Somewhere amongst the Island Nether''s'
Skyblock: 'Somewhere amongst the Islands'
Skyblock_nether: 'Somewhere amongst the Island Nether''s'
Limits:
minBounty: 500.0
minIncrease: 500.0
maxBounty: 2147483647.0
RegionClaiming:
enabled: false
regions:
- 'spawn'
Settings:
Glow:
enabled: true
color: RED
HeadDrop:
enabled: true
chance: 30.0
List:
playersPerPage: 45
Particles:
enabled: true
every: 1
Streaks:
'1':
oneTimeReward: true
cashPrize: 500.0
Items:
a:
type: DIAMOND_BLOCK
amount: 32
name: '&b&lBounty Blocks'
lore:
- '&7Some special lore for'
- '&7special bounty blocks.'
enchants:
- PROTECTION_ENVIRONMENTAL:3
privateMessage:
- '&5&l[ &f&lBOUNTY &5&l] &7You have been rewarded for reaching a bounty streak of 1.'
'3':
oneTimeReward: true
broadcast: true
broadcastMessage:
- '&7'
- '&5&l[ &f&lBOUNTY &5&l] &f{player} &7has reached a bounty claiming streak of 3.'
- '&7'
cashPrize: 5000.0
privateMessage:
- '&5&l[ &f&lBOUNTY &5&l] &7You have been rewarded for reaching a bounty streak of 3.'
'5':
oneTimeReward: false
broadcast: true
broadcastMessage:
- '&7'
- '&5&l[ &f&lBOUNTY &5&l] &f{player} &7has reached a bounty claiming streak of 5 and their bounty was set to &f$5,000&7.'
- '&7'
cashPrize: 50000.0
commands:
- 'bounty add {player} 5000'
privateMessage:
- '&5&l[ &f&lBOUNTY &5&l] &7You have been rewarded for reaching a bounty streak of 5.'
Database:
enabled: false
tableName: bounties
SQLite:
enabled: true
MySQL:
enabled: false
host: localhost
port: 3306
database: bounties
username: root
password: ''
inventories.yml
Code:
Bounty:
GetGUI:
name: '&b&lBounty &3&lGet'
slots: 9
Items:
'1':
type: THIN_GLASS
name: '&7'
'2':
type: THIN_GLASS
name: '&7'
'3':
type: THIN_GLASS
name: '&7'
'4':
type: THIN_GLASS
name: '&7'
'5':
BountyGet: true
'6':
type: THIN_GLASS
name: '&7'
'7':
type: THIN_GLASS
name: '&7'
'8':
type: THIN_GLASS
name: '&7'
'9':
type: THIN_GLASS
name: '&7'
ListGUI:
name: '&b&lBoosted &3&lBounties'
slots: 54
Items:
'46':
type: PAPER
name: '&b&l&m<-&e&l Previous Page'
lore:
- '&7Click this to go to'
- '&7the previous page.'
'47':
type: THIN_GLASS
name: '&7'
'48':
type: THIN_GLASS
name: '&7'
'49':
type: THIN_GLASS
name: '&7'
'50':
type: THIN_GLASS
name: '&7'
'51':
type: THIN_GLASS
name: '&7'
'52':
type: THIN_GLASS
name: '&7'
'53':
type: THIN_GLASS
name: '&7'
'54':
type: PAPER
name: '&e&lNext Page &b&l&m->'
lore:
- '&7Click this to go to'
- '&7the next page.'
data.yml
Remains empty till players join because this is where data is stored.
lang.yml
Code:
GeneralErrors:
date-format: MM-d-yyyy hh:mm:ss
NoPermission: '&c&l(!) &cYou do not have permission to use that.'
MustBePlayer: '&c&l(!) &cYou must be a player to use that.'
InvalidNumber: '&c&l(!) &cYou specified an invalid number, try something like 1
or 5000.'
InvalidDouble: '&c&l(!) &cYou specified an invalid double, try something like 1.4
or 2.3.'
InventorySpace: '&c&l(!) &cYou do not have enough inventory space.'
NotOnline: '&c&l(!) &cThe specified player is offline.'
MinItemStack: '&c&l(!) &cThe minimum ItemStack size is 1.'
MaxItemStack: '&c&l(!) &cThe maximum ItemStack size is 64.'
NullItemStack: '&c&l(!) &cThe specified ItemStack cannot be null or air.'
InsufficientFunds: '&c&l(!) &cYou have insufficient funds for that transaction!'
MoneyTaken: '&c&l- ${0}'
MoneyGiven: '&a&l+ ${0}'
Bounty:
Command:
Add:
InvalidArgs: '&c&l(!) &cInvalid args! Try using &n/bounty add [player] [amount]&c.'
Get:
InvalidArgs: '&c&l(!) &cInvalid args! Try using &n/bounty get (player)&c.'
InvalidArgs: |-
&3&m-------&b&l BOUNTY HELP &3&m-------
&c/bounty add [player] [amount] &7- &fAdd a bounty to a player.
&c/bounty get (player) &7- &fGet details on the targeted player or yourself.
&c/bounty list &7- &fList all bounties.
&c/bounty reload &7- &fReload all data related to bounties (excluding files).
&c/bounty remove [player] &7- &fRemove the bounty from the specified player.
&c/bounty set [player] [amount] &7- &fQuietly set the bounty for the specified player.
&c/bounty streak (player) &7- &fGet details on the targeted player or yourself.
List:
Opened: '&b&l(!) &3You have opened the bounty list menu.'
NotPlayed: '&c&l(!) &cThat player has never played before.'
Reload:
Reloaded: '&b&l(!) &3You have reloaded the bounty plugin.'
Remove:
InvalidArgs: '&c&l(!) &cInvalid args! Try using &n/bounty remove [player]&c.'
Set:
InvalidArgs: '&c&l(!) &cInvalid args! Try using &n/bounty set [player] [amount]&c.'
Set: '&b&l(!) &3You have set &b{0}''s&3 bounty to: &a$&f{1}&3.'
Streak:
InvalidArgs: '&c&l(!) &cInvalid args! Try using &n/bounty streak (player)&c.'
Claimed: |-
&3&l&m----->-------------*------*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 claimed the bounty on
{c}&c{1}&7 worth &a$&f{2}
&7
&3&l&m----->-------------*------*------------<-----
Expired: |-
&3&l&m----->-------------*------*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 survived their bounty
{c}&7worth &a$&f{1} and received the money.
&7
&3&l&m----->-------------*------*------------<-----
Increased: |-
&3&l&m----->-------------*------*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 increased the bounty on
{c}&c{1}&7 to &a$&f{2}
&7
&3&l&m----->-------------*------*------------<-----
MaxSet: '&5&l[ &f&lBOUNTY &5&l] &cThe maximum bounty that can be set is: &f{0}&c.'
MinSet: '&5&l[ &f&lBOUNTY &5&l] &cThe minimum a bounty can be is: &f{0}&c.'
MinToIncrease: '&5&l[ &f&lBOUNTY &5&l] &cThe minimum amount to increase a bounty
is: &f{0}&c.'
NeverPlayed: '&5&l[ &f&lBOUNTY &5&l] &cThe specified player has never played this
server.'
NoClaimPermission: '&5&l[ &f&lBOUNTY &5&l] &cYou do not have permission to claim
bounties.'
NoSetExpire: '&5&l[ &f&lBOUNTY &5&l] &cYou cannot set a bounty until another expires
or is claimed.'
NoSetPermission: '&5&l[ &f&lBOUNTY &5&l] &cYou do not have permission to increase/set
bounties on other players.'
NotInRegion: '&5&l[ &f&lBOUNTY &5&l] &cYou are not in a valid region to claim bounties.'
Set: |-
&3&l&m----->-------------*------*------------<-----
{c} &b&lBOUNTY
{c}&c{0}&7 set a &a$&f{1} bounty on
{c}&c{2}
&7
&3&l&m----->-------------*------*------------<-----
Timer: '&5&l[ &f&lBOUNTY &5&l] &cYou must wait for the bounty to expire or be claimed
before you can increase it.'
As one of the many features I have included in this plugin, an API was one of them. To use the API in your plugin simply add it to your build path external jars in your IDE, then all you need to do is get the BountyPlayer instance of the player, there's an example below:
Code:
BountyPlayer bountyPlayer = BountyPlayer.getBountyPlayer(uuid);
Then from there you can do whatever you want with the bounty/player.
Sales:
Downloads:
- Chargebacks are PROHIBITED. Please message me on Spigotmc.org if you have issues with the plugin, I will help you sort them.
- 1 purchase of this plugin is valid for an entire Minecraft network*. Feel free to use it on as many servers as you want, granted they are within the same Minecraft network*. Please purchase 1 license for each Minecraft network* you plan to use it for(contact me regarding the purchase of additional licenses).
- You may edit the code to your needs, so long as they are private changes, and are not posted anywhere else. No support will be given to modified versions.
- Distribution of the plugin or any modified version is prohibited.
- You may not use the code from this plugin in any additional plugin.
- You may not change the plugin to where it is unidentifiable within the game.
*- In this context, a "Minecraft network" is defined by a network of Minecraft servers connected by a Proxy-like system. You must be able to switch between any servers within the network without disconnecting.