Team Checking
- Added a new configuration section called teams
- You can now disable bounties being claimed on players on the same team
- Works with scoreboard teams and BetterTeams teams and allies.
- If you want to use another team plugin, there is a placeholder option that will compare placeholders between players. Players with the same placeholder values will not be able to claim eachother's bounties.
Code (YAML):
# allow players on the same team claim each-other's bounties
teams
:
# claim if on the same scoreboard team
# some plugins use scoreboard teams, so disabling this may break claiming bounties
scoreboard-claim
: true
# players with the same placeholder result will not be able to claim each other's bounties (Must have PlaceholderAPI installed)
# ex: '%luckperms_prefix%' would prevent anyone with the same prefix from killing each other
placeholder
: ''
# claim if on the same BetterTeams team (Must have BetterTeams installed)
bt-claim
: false
# claim if allied with each other's BetterTeams team
bt-allies
: false
Multi-Currency Update
- add-single-currency now has 3 options: first, ratio, and descending
- true was changed to first, and false was changed to ratio
- Descending is new and will add the weights in descending order
- Add commands not tied to a currency will be executed if add-single-currency is set to first
- Added the ability to use custom model data in currency items
- Currency with values greater than 1 will now more accurately be removed, and any excess used will be given back.
- See this new wiki page for more information
Code (YAML):
# descending - currency will be given in descending order of weights
# first - only the first currency in the object list will be given
# ratio - a ratio of the currencies with their weights will be given
add-single-currency
: descending
Placeholders
- Added 2 new placeholders:
- %notbounties_notification% - returns "true" if the player has bounty broadcast enabled, otherwise, returns "false".
- %notbounties_mode% - returns "Whitelist" or "Blacklist" depending on the whitelist mode
- Big Bounty commands are now parsed with PlaceholderAPI
Other Changes
- added the ability to play sounds in bounty claim commands and GUI commands
Code (YAML):
# using [sound_player] (SOUND_ID) <VOLUME> <PITCH> will play a sound for the player
# using [sound_killer] (SOUND_ID) <VOLUME> <PITCH> will play a sound for the killer
# vvv GUI commands can only use this one vvv
# using [sound] (SOUND_ID) <VOLUME> <PITCH> will play a sound for everyone near the death
- Fixed a bug where the SQL data table wouldn't update from an old version
- You can now use lists in the GUI layout slots
- Fixed a bug where logged players would get deleted on database migration