Bounty Board - No-Not-Jaden/NotBounties GitHub Wiki

2024-07-08_20 21 46

The bounty board uses bounty posters to display the top bounties as maps on item frames.

Usage

All commands for bounty boards must be used in-game.

Creating a Bounty Board

Do /bounty board to create a new bounty board. This will prompt you to punch a block you want the bounty board on. After punching a block, a bounty board will appear in the next couple of seconds. Using this command will also tell you what rank this bounty board will be. This is the rank of the bounty. By default, it is sorted by the highest rewards in the lowest ranks but can be changed in the config shown in a further section below. The next rank of a bounty board can be overridden with the command /bounty board (rank). This would be useful if you are creating bounty boards in different locations and want multiple rank 1 bounties.

Removing a Bounty Board

You can remove specific bounty boards with the command /bounty board remove. This will allow you to right-click a bounty board to remove it.

Removing All Bounty Boards

To completely remove all bounty boards on the server, run the command /bounty board clear. The only way to get the cleared bounty boards back is to go into the bounties.yml file and copy the bounty boards section before NotBounties autosaves.

Configuration

All of these configuration options can be found in the bounty-board configuration section.

Sort Type

Sort type can be changed with the type option. This option accepts a number, and the four different sort types correspond to numbers 0-3

  • [0] Oldest Bounties The oldest bounties will be at the lower ranks
  • [1] Newest Bounties The newest bounties will be at the lower ranks
  • [2] Top Bounties The bounties with the highest reward will be at the lower ranks
  • [3] Lowest Bounties The bounties with the lowest reward will be at the lower ranks
  type: 2 # Top Bounties

Update Interval

The number of seconds between board updates can be changed in the update-interval option. This works with staggered updates in reducing lag caused by updating bounty boards. The minimum interval that can be used is 2 seconds.

  update-interval: 5

Staggered Update

The staggered-update option allows you to change the number of bounty boards that update after every update interval. Use 0 to disable staggered updates and update all of the bounty boards at the same time.

  staggered-update: 3

Glow

The glow option controls whether the item frame holding the bounty poster is a glow item frame. This option will only do anything if you are using Minecraft versions 1.17+.

  glow: true

Invisible

Similarly to the [glow] option, the invisible option controls whether the item frame holding the bounty will be invisible.

  invisible: true

Item Name

The text that appears when you hover your crosshair over the item frame can be changed with the item-name option. The item name text will be parsed of placeholders and colors. {player} will be replaced with the name of the player with the bounty. {amount} will be replaced with the reward of the bounty. If you use {amount}, I suggest taking a look at update-name and changing this option to 1.

  item-name: '&6&lWANTED: &f{player}'

Update Name

The update-name option controls how often the item-name of the poster gets updated. Updating the poster this way requires a new creation of the item. There are 3 options that can be used.

  • [0] When the bounty rank changes
  • [1] When the bounty reward changes
  • [2] Every update - This is NOT recommended. This leads to a very blinky bounty board.
  update-name: 0

Related Pages