Skip to content

Bounties and head drop doesn't work #5

@Corvus48

Description

@Corvus48

hey, the bounty GUI works well but when a player kills another player he doesn't get his head and he doesn't get the bounty that was set on the player. Here is my config, I run spigot 1.9.4

mobs:
blaze: '3:5'
blaze-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Blaze"}
blaze-cmd-desc: You got a Blaze skull.
blaze-cmd-run-frequency: 10
blaze-cmd-run-frequency-base: 100
creeper: '3:5'
creeper-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Creeper"}
creeper-cmd-desc: You got a Creeper skull.
creeper-cmd-run-frequency: 5
creeper-cmd-run-frequency-base: 100
silverfish: '1:3'
silverfish-cmd: ''
silver-cmd-desc: ''
silverfish-cmd-run-frequency: 10
silverfish-cmd-run-frequency-base: 100
zombie-pigman: '4:8'
zombie-pigman-cmd: give {player} 397 1 3 {SkullOwner:"MHF_PigZombie"}
zombie-pigman-cmd-desc: You got a Zombie Pigman skull.
zombie-pigman-cmd-run-frequency: 10
zombie-pigman-cmd-run-frequency-base: 100
enderman: '5:10'
enderman-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Enderman"}
enderman-cmd-desc: You got a Enderman skull.
enderman-cmd-run-frequency: 20
enderman-cmd-run-frequency-base: 100
giant: '20:30'
giant-cmd: ''
giant-cmd-desc: ''
giant-cmd-run-frequency: 5
giant-cmd-run-frequency-base: 100
skeleton: '3:5'
skeleton-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Skeleton"}
skeleton-cmd-desc: You got a Skeleton skull.
skeleton-cmd-run-frequency: 5
skeleton-cmd-run-frequency-base: 100
wither-skeleton: '5:10'
wither-skeleton-cmd: give {player} 397 1 3 {SkullOwner:"MHF_WSkeleton"}
wither-skeleton-cmd-desc: You got a Wither Skeleton skull.
wither-skeleton-cmd-run-frequency: 10
wither-skeleton-cmd-run-frequency-base: 100
spider: '3:5'
spider-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Spider"}
spider-cmd-desc: You got a Spider skull.
spider-cmd-run-frequency: 5
spider-cmd-run-frequency-base: 100
cave-spider: '3:5'
cave-spider-cmd: give {player} 397 1 3 {SkullOwner:"MHF_CaveSpider"}
cave-spider-cmd-desc: You got a Cave Spider skull.
cave-spider-cmd-run-frequency: 10
cave-spider-cmd-run-frequency-base: 100
witch: '5:10'
witch-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Witch"}
witch-cmd-desc: You got a Witch skull.
witch-cmd-run-frequency: 5
witch-cmd-run-frequency-base: 100
zombie: '3:5'
zombie-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Zombie"}
zombie-cmd-desc: You got a Zombie skull.
zombie-cmd-run-frequency: 50
zombie-cmd-run-frequency-base: 1000
ghast: '5:10'
ghast-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Ghast"}
ghast-cmd-desc: You got a Ghast skull.
ghast-cmd-run-frequency: 10
ghast-cmd-run-frequency-base: 100
iron-golem: '10:20'
iron-golem-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Golem"}
iron-golem-cmd-desc: You got an Iron Golem skull.
iron-golem-cmd-run-frequency: 10
iron-golem-cmd-run-frequency-base: 100
magma-cube: '5:10'
magma-cube-cmd: give {player} 397 1 3 {SkullOwner:"MHF_LavaSlime"}
magma-cube-cmd-desc: You got a Magma Cube skull.
magma-cube-cmd-run-frequency: 10
magma-cube-cmd-run-frequency-base: 100
endermite: '1:3'
endermite-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Endermite"}
endermite-cmd-desc: You got a Endermite skull.
endermite-cmd-run-frequency: 10
endermite-cmd-run-frequency-base: 100
guardian: '5:10'
guardian-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Guardian"}
guardian-cmd-desc: You got a Guardian skull.
guardian-cmd-run-frequency: 10
guardian-cmd-run-frequency-base: 100
killerrabbit: '5:10'
killerrabbit-cmd: ''
killerrabbit-cmd-desc: ''
killerrabbit-cmd-run-frequency: 25
killerrabbit-cmd-run-frequency-base: 100

This is multiplied by the size of the slime. So a big natural slime is 4x this value

slime-base: '2'
slime-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Slime"}
slime-cmd-desc: You got a Slime skull.
slime-cmd-run-frequency: 5
slime-cmd-run-frequency-base: 100
shulker: '3:5'
shulker-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Shulker"}
shulker-cmd-desc: You got a Shulker skull.
shulker-cmd-run-frequency: 50

Rewards for killing bosses

Here is where you set the base prize in $ for killing the bosses

boss:
wither: 200:500
wither-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Wither"}
wither-cmd-desc: You got a Wither skull.
wither-cmd-run-frequency: 100
wither-cmd-run-frequency-base: 100
enderdragon: 200:500
enderdragon-cmd: give {player} 397 1 3 {SkullOwner:"MHF_Enderdragon"}
enderdragon-cmd-desc: You got a Enderdragon skull.
enderdragon-cmd-run-frequency: 100
enderdragon-cmd-run-frequency-base: 100

Rewards for killing passive mobs

Here is where you set the base prize in $ for killing passive/friendly mobs.

By default the player does not get a reward for killing friendly mobs.

If you make the number negative, the reward will be a fine for killing a passive animal.

passive:
bat: '0'
bat-cmd: ''
bat-cmd-desc: ''
bat-cmd-run-frequency: 0
bat-cmd-run-frequency-base: 100
chicken: '0'
chicken-cmd: ''
chicken-cmd-desc: ''
chicken-cmd-run-frequency: 0
chicken-cmd-run-frequency-base: 100
cow: '5'
cow-cmd: ''
cow-cmd-desc: ''
cow-cmd-run-frequency: 0
cow-cmd-run-frequency-base: 100
horse: '0'
horse-cmd: ''
horse-cmd-desc: ''
horse-cmd-run-frequency: 0
horse-cmd-run-frequency-base: 100
mushroom-cow: '0'
mushroom-cow-cmd: ''
mushroom-cow-cmd-desc: ''
mushroom-cow-cmd-run-frequency: 0
mushroom-cow-cmd-run-frequency-base: 100
ocelot: '0'
ocelot-cmd: ''
ocelot-cmd-desc: ''
ocelot-cmd-run-frequency: 0
ocelot-cmd-run-frequency-base: 100
pig: '0'
pig-cmd: ''
pig-cmd-desc: ''
pig-cmd-run-frequency: 0
pig-cmd-run-frequency-base: 100
rabbit: '0'
rabbit-cmd: ''
rabbit-cmd-desc: ''
rabbit-cmd-run-frequency: 0
rabbit-cmd-run-frequency-base: 100
sheep: '0'
sheep-cmd: ''
sheep-cmd-desc: ''
sheep-cmd-run-frequency: 0
sheep-cmd-run-frequency-base: 100
snowman: '0'
snowman-cmd: ''
snowman-cmd-desc: ''
snowman-cmd-run-frequency: 0
snowman-cmd-run-frequency-base: 100
squid: '0'
squid-cmd: ''
squid-cmd-desc: ''
squid-cmd-run-frequency: 0
villager: '0'
villager-cmd: ''
villager-cmd-desc: ''
villager-cmd-run-frequency: 0
villager-cmd-run-frequency-base: 100
wolf: '-10'
wolf-cmd: ''
wolf-cmd-desc: ''
wolf-cmd-run-frequency: 0
wolf-cmd-run-frequency-base: 100

Bonus multipliers

These are bonus multipliers that can modify the base prize.

REMEMBER: These are not in $ but they are a multiplier.

Setting to 1 will disable them.

bonus:
sneaky: 1.2
return-to-sender: 1.2
push-off-cliff: 1.2
no-weapon: 1.4
far-shot: 2.0
mounted: 1.2
friendly-fire: 1.2
bonus-mob: 2.0
critical: 1.5

This is the chance (% chance 0-100) that a bonus mob will spawn.

bonus-mob-chance: 0.2

Bonus for killing a Baby mob.

babyMultiplier: 1.2

Special / Achievements rewards

Here is where you set the prize in $ for achieving a special kill.

For each achievment you can run a console command to give the player a reward.

You can use the following variables {player},{world}.

An example could be to give the player permission to fly

for 1 hour or use give command to the player items.

You can also specify the message send to the player.

You can run many console commands on each line, each command

must be separated by |

special:
charged-kill: 100.0
charged-kill-cmd: give {player} gold_ingot 1
charged-kill-cmd-desc: ''
creeper-punch: 100.0
creeper-punch-cmd: give {player} gold_ingot 1
creeper-punch-cmd-desc: ''
axe-murderer: 100.0
axe-murderer-cmd: give {player} gold_ingot 1
axe-murderer-cmd-desc: ''
recordhungry: 100.0
recordhungry-cmd: give {player} gold_ingot 1
recordhungry-cmd-desc: ''
infighting: 200.0
infighting-cmd: give {player} gold_ingot 1
infighting-cmd-desc: ''
by-the-book: 100.0
by-the-book-cmd: give {player} gold_ingot 1
by-the-book-cmd-desc: ''
creepercide: 100.0
creepercide-cmd: give {player} gold_ingot 1
creepercide-cmd-desc: ''
hunt-begins: 50.0
hunt-begins-cmd: ''
hunt-begins-cmd-desc: ''
itsmagic: 200.0
itsmagic-cmd: give {player} gold_ingot 1
itsmagic-cmd-desc: Enjoy you Gold Ingot
fancypants: 100.0
fancypants-cmd: give {player} gold_ingot 1
fancypants-cmd-desc: Enjoy you Gold Ingots
master-sniper: 200.0
master-sniper-cmd: give {player} gold_ingot 1
master-sniper-cmd-desc: Enjoy you Gold Ingots
justintime: 100.0
justintime-cmd: give {player} gold_ingot 1
justintime-cmd-desc: Enjoy you Gold Ingots
fangmaster: 100.0
fangmaster-cmd: give {player} gold_ingot 1
fangmaster-cmd-desc: Enjoy your Gold Ingot
hunter1: 100.0
hunter1-cmd: give {player} gold_ingot 5
hunter1-cmd-desc: Enjoy your 5 Gold Ingots
hunter2: 200.0
hunter2-cmd: give {player} gold_ingot 10
hunter2-cmd-desc: Enjoy your 10 Gold Ingots
hunter3: 300.0
hunter3-cmd: give {player} gold_ingot 20
hunter3-cmd-desc: Enjoy your 20 Gold Ingots
hunter4: 400.0
hunter4-cmd: give {player} gold_ingot 25
hunter4-cmd-desc: Enjoy your 25 Gold Ingots
hunter5: 500.0
hunter5-cmd: give {player} gold_ingot 40
hunter5-cmd-desc: Enjoy your 40 Gold Ingots
hunter6: 600.0
hunter6-cmd: give {player} gold_ingot 50
hunter6-cmd-desc: Enjoy your 50 Gold Ingots
hunter7: 1000.0
hunter7-cmd: give {player} gold_ingot 60
hunter7-cmd-desc: Enjoy your 60 Gold Ingots

Achievement Hunter levels

Here is where you set how many mobs to kill to reach next level per mob.

You can only set the number of mobs to kill to reach level 1. the next

levels is automatically calculated this way.

Level 1: 100 (100 kills)

Level 2: x 2.5 (250 kills)

Level 3: x 5 (500 kills)

Level 4: x 10 (1000 kills)

Level 5: x 25 (2500 kills)

Level 6: x 50 (5000 kills)

Level 7: x 100 (10000 kills)

achievement_levels:
blaze_level1: 80
creeper_level1: 100
silverfish_level1: 100
zombie-pigman_level1: 100
enderman_level1: 100
giant_level1: 100
skeleton_level1: 100
wither-skeleton_level1: 80
spider_level1: 100
cave-spider_level1: 100
witch_level1: 80
zombie_level1: 100
ghast_level1: 80
iron-golem_level1: 100
magma-cube_level1: 100
endermite_level1: 100
guardian_level1: 100
killerrabbit_level1: 100
slime-base_level1: 100
shulker_level1: 100
wither_level1: 20
enderdragon_level1: 20
bat_level1: 100
chicken_level1: 100
cow_level1: 100
horse_level1: 100
mushroom-cow_level1: 100
ocelot_level1: 100
pig_level1: 100
rabbit_level1: 100
sheep_level1: 100
snowman_level1: 100
squid_level1: 100
villager_level1: 100
wolf_level1: 100
pvpplayer_level1: 100
bonusmob_level1: 20

Rewards for assisting killings

They players can get an extra reward if they help each other killing mobs.

assists:

Enabling assist allows the second last player to attack a mob to get some money from it

enable: true

This should be a value that is multiplied against the mobs base kill value.

This is used to determine how much money an assister gets.

multiplier: 0.25

Should killstreak be applied to assists

allow-killstreak: false

Time in seconds after attacking a mob that can be counted as an assist

timeout: 4

Penalty multipliers

These are penalty multipliers that can modify the base prize.

REMEMBER: These are not in $ but they are a multiplier.

Setting to 1 will disable them.

penalty:

Enabling this prevents a player from earning too much money from using a mob grinder

enable-grinding-penalty: true

If a player flies at any point in a fight, this penalty will be applied

flyingPenalty: 0.0

Reward for kills in a row

Set the multiplier when the player kills 1,2,3,4 mob in a row without getting damage.

killstreak:
level1: 5
level1-multiplier: 1.0
level2: 10
level2-multiplier: 1.2
level3: 20
level3-multiplier: 1.4
level4: 40
level4-multiplier: 1.6

Rank multipliers and world difficulty multipliers

You can add multipliers for players with different ranks/groups. To do this

you must set give the user/group permissions with a format like this:

mobhunting.multiplier.guest

mobhunting.multiplier.guardian

mobhunting.multiplier.staff

mobhunting.multiplier.hasVoted

mobhunting.multiplier.donator

mobhunting.multiplier.op <---- Notice 'op' is reserved for OP'ed players!

OP'ed players will only get the OP multiplier

you can make your own permission nodes. You just need to keep the format

mobhunting.multiplier.name 'value' in your permissions file and the format below in this file.

multiplier:

Ranks

rank-multiplier:
mobhunting:
multiplier:
staff: '1'
guardian: '1'
donator: '1'
guest: '1'
hasVoted: '1'

WorldDifficulty

world-difficulty-multiplier:
difficulty:
multiplier:
hard: '1'
peacefull: '1'
easy: '1'
normal: '1'

Pvp rewards

Pvp configuration. Set pvp-allowed = true if you want give the players a reward when they kill eachother.

You can alsp run a console command when this happens to give the player a reward or punish him.

You can you the following variables {player},{world},{killed_player}.

An example could be to give the player permission to fly

for 1 hour or use give command to the player items.

You can also specify the message send to the player.

You can run many console commands on each line, each command

must be separated by |

pvp:

Set pvpAllowed=false to disable rewards on killing other players.

pvp-allowed: true

Set rob-from-victim=true to steal from the victim or

rob-from-victim=false to get the reward mpney from the server.

rob-from-victim: true

The kill prize kan be a number to stel x dollars from the killed player,

or it kan be a cut in percent of his balance.

pvp-kill-prize: 2%

One or more console commands to be run when a player kills another player.

pvp-kill-cmd: give {player} 397 1 3 {SkullOwner:"{killed_player}"}|give {player} diamond 1

Write the message to the killer, describing the reward / console commands

pvp-kill-cmd-desc: You got {killed_player}'s skull

Disguises rewards

Here is where can define the actions when a player is under disguise (attacker)

or when the attacked (victim)

disguises:

Disable integration with iDisguise

disable-integration-i-disguise: false

Disable integration with DisguiseCcraft

disable-integration-disguisecraft: false

Disable integration with LibsDisguises

disable-integration-libsdisguises: false

Set pvpAllowed=false to disable rewards on killing other players.

remove-disguise-when-attacking: true

Set pvpAllowed=false to disable rewards on killing other players.

remove-disguise-when-attacked: true

Bonus multiplier for killing while disgused.

Can be both positive an negative = reward or penalty

and over and under 1 = raise or lower the reward.

undercover-multiplier: 0.95

Bonus multiplier for killing a disgused player.

Can be both positive an negative = reward or penalty

and over and under 1 = raise or lower the reward.

cover-blown-multiplier: 1.2

NPC / Citizens / MasterMobHunter settings.

npc:

Set the number of seconds between each check. Recommended setting is

masterMobHunter_check_every: 300 ~ to update all MasterMobHunters every 5th minute.

masterMobHunter_check_every: 300

Bounty settings

Here you can chnage the behavior of the Bounty Command or you can disable

the command completely.

bounties:

Set to true if you want to disable players to be able to put bounties on each other.

disable-player-bounties: false

Here you set how much of a bound the bounty owner get back if

he drop the bounty on another player

bounty-return-pct: 50

Set enable_random_bounty=false to disable random bounties

enable_random_bounty: true

Time between Random Bounty is created in minutes

time_between_random_bounties: 60

Minimum number of players before the server starts to make random bounties

minimum_number_of_online_players: 5

Chance that a bounty is created on a player after the minimum time. Must be a number between 0 and 1. (0 = never, 0.5 = 50% 1 = always)

chance_to_create_a_random_bounty: 0.5

Random Bounty. Can be a number 100 or a range 100:200

random_bounty_prize: 100:200

Integration to otherplugins.

plugins:

Disable integration with MobArena

disable-integration-mobarena: false

Set to true if you want the players to get rewards while playing MobArena.

mobarena-get-rewards: false

Disable integration with PvpArena

disable-integration-pvparena: false

Set to true if you want the players to get rewards while playing pvpArena.

pvparena-get-rewards: false

Disable integration with Citizens2

disable-integration-citizens: false

Disable integration with MythicMobs

disable-integration-mythicmobs: false

Disable integration with MyPet

disable-integration-mypet: false

Disable integration with MiniGames

disable-integration-minigames: false

Disable integration with WorldGuard

disable-integration-worldguard: true

Disable integration with Essentials

disable-integration-essentials: false

Disable integration with BattleArena

disable-integration-battlearena: false

Disable integration with BossBarAPI. If you want messages in player chat you can set this to true.

disable-integration-bossbarapi: false

Disable integration with BarAPI. If you want messages in player chat you can set this to true.

disable-integration-barapi: false

Disable integration with TitleAPI

disable-integration-titleapi: true

Disable integration with VanishNoPacket

disable-integration-vanishnopacket: false

Disable integration with TitleManger. If you want messages in player chat you can set this to true.

disable-integration-titlemanager: true

Disable integration with ActionBar. If you want messages in player chat you can set this to true.

disable-integration-actionbar: true

Database Settings.

database:

Type of database to use. Valid values are: sqlite, mysql

type: sqlite
username: user
password: password
host: localhost:3306
database: mobhunting

Update settings

updates:

Check if there is a new version of the plugin available.

update-check: true

Set the number of seconds between each check. Recommended setting is

check_every: 3600 ~ to check every hour.

check_every: 3600

Set 'autoupdate: true' if you want new updates downloaded and installed.

You will still have to reboot the server manually.

autoupdate: false

General Setting.

general:

Put the names of the worlds here that you do not wish for mobhunting to be enabled in.

disabled-in-worlds: []

The language (file) to use. You can put the name of the language file as the language code

(eg. en_US, de_DE, fr_FR, ect.) or you can specify the name of a custom file without the .lang

Please check the lang/ folder for a list of all available translations.

language: en_US

Can the players earn money on mobs spawned from mobspawners and eggs?

allow_mobspawners_and_eggs: true

Should achievements be broadcasted?

broadcast-achievement: true

Should the hunt begins achievement be broadcasted?

broadcast-first-achievement: true

Time between saves in ticks (20 ticks ~ 1 sec)

save-period: 6000

Time between leaderboard updates in ticks (20 ticks ~ 1 sec)

leaderboard-update-period: 1200

Time in seconds after attacking a mob that can be counted as a kill

kill-timeout: 4

If kills are not being registered in mob hunting. Enable this to see why they arent

kill-debug: true

Rounding of rewards when you uses a range or %. (ex creeperPrize=10:30) the reward.

All numbers except 0 can be used.

Set rounding_reward=1 if you want integers. IE. 10,11,12,13,14...

Set rounding_reward=0.01 if you want 2 decimals 10.00, 10.01, 10.02... integers.

Set rounding_reward=5 if you want multipla of 5 IE. 10,15,20,25...

Set rounding_reward=2 if you want multipla of 2 IE. 10,12,14,16...

reward_rounding: 0.01

When a new playerjoins the server he will by default start

in 'LEARNING MODE' and get extra information about when he get rewards and not,

when killing Mobs. The player can disable this InGame by using the command '/mh learn'

newplayer_learning_mode: false

When use_gui_for_archivements=true the status of players achievemens will

be showed in a Inventory GUI.

use_gui_for_achievements: true

When use_gui_for_bounties=true the open bounties and most wanted players will

be showed in a Inventory GUI.

use_gui_for_bounties: true

DropMoneyOnGroud Settings

dropmoneyonground:

When a player get a money reward for a kill, the money will go directly

into his pocket. If you set dropMoneyOnGroud=true the reward will

dropped on ground to be picked up by the player.

Negative rewards will always be taken from det player.

drop-money-on-groud: false

Here you can set which item should be used.

Use Minecraft Item names like:

GOLD_NUGGET, DIAMOND, GOLD_INGOT, EMERALD, GOLDEN_APPLE

drop-money-on-ground-item: GOLD_INGOT

Here you can set of the color of the number above the dropped item.

Use color names like WHITE, RED, BLUE

drop-money-on-ground-text-color: WHITE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions