Voxel Shop beta is live. Expect occasional bugs. Learn more
Reward your players for participating in server-wide events!
- Added a discord webhook to notify users in a discord channel when a tournament has ended.
- Added a start command to start tournaments.
- Cleaned up some internal code.
New Configuration Settings:
Put this new section right below the database options in your config.yml
discord_webhook:
# Should the webhook be enabled or not
enable: false
# The URL for the webhook.
url: ''
# Link to an avatar to use for the webhook.
avatar_url: 'https://cdn.discordapp.com/attachments/1028362255785545747/1159605391274037298/XLT_logo.PNG?ex=6531a1ad&is=651f2cad&hm=c0beef7c23632a12fa461c12102e2878c17cb2d19ae46ba90e6d99f4ee7cce40&'
# This is the message sent when the tournament ends.
# Placeholders:
# {TOURNAMENT} - Returns the name of the tournament.
# {FIRST_PLACE} - Returns the name of the first place winner.
# {SECOND_PLACE} - Returns the name of the second place winner.
# {THIRD_PLACE} - Returns the name of the first place winner.
#
# {FIRST_PLACE_SCORE} - Returns the score of the first place winner.
# {SECOND_PLACE_SCORE} - Returns the score of the second place winner.
# {THIRD_PLACE_SCORE} - Returns the score of the third place winner.
content: 'The {TOURNAMENT} has completed here are the winners!\n\n:first_place: 1st Place: {FIRST_PLACE}\n:second_place: 2nd Place: {SECOND_PLACE}\n:third_place: 3rd Place: {THIRD_PLACE}'
- Added new POTION_BREW objective type.
This objective works by tracking when a user takes a potion out of a brewing stand regardless if they brewed it or not. Once the potion has been removed the plugin assigns a NBT tag to the item to prevent them from spamming them.
This is experimental and may likely need further tweaks sadly there is not a good method to listen for potion brewing while also tracking who brewed them.
You can view the command and permission list here.
New Entry:
This new config entry needs to be placed in your menu.yml file
# Should tournaments that have ended be displayed in the menu
hide_completed_tournaments: falseNew Configuration Entries:
With this update there are two new lines that need to be added in the messages.yml file under the tournaments section.
stopped: "{PREFIX} &cYou have stopped the {TOURNAMENT} tournament."
already_stopped: "{PREFIX} &cThat tournament is not currently active."
You can see how this feature works here.