Artillex-Studios Documentation Help

Capture

How to win in capture mode?

  • You must stay in the koth zone for x seconds without getting knocked out. The winner is the player, who can stay in for the whole capture time.

Default Capture Koth Config:

# DOCUMENTATION: https://docs.artillex-studios.com/axkoth.html # ITEM BUILDER: https://docs.artillex-studios.com/item-builder.html display-name: "&#FF0000CAPTURE KOTH" # which koth mode should be active? modes: # CAPTURE - requires a player to be in the koth zone without getting knocked out for a set time # SCORE - every second a player is in the koth zone, their time will increase, at the end the winner will be the player with the most time # do not edit this, just create a new koth if you want the other one mode: CAPTURE # these settings are for the CAPTURE mode settings: # the time needed to capture a koth capture-time-seconds: 180 # if a player stops capturing the koth, should the timer reset? capture-end-reset-time: true # the max time a koth can run for # set to -1 to make it run until someone wins max-time-seconds: 7200 # if the max time is reached, should the player who is currently capturing get the rewards? end-reward-capturer: false zone: location1: "world;0.0;0.0;0.0;0.0;0.0" location2: "world;5.0;5.0;5.0;0.0;0.0" # to disable, just set it to an empty list: [] reward-commands: - "give %player% diamond 1" ## ---- REMOVE FIRST HASHTAGS FROM ALL LINES TO ENABLE THIS FEATURE! ----- #reward-items: # - material: diamond # name: "&#00FFFFShiny diamond" # amount: 1 # - material: iron_ingot # name: "&#DDDDDDShiny iron" # amount: 3 # set to -1 to make it that everyone in the world can see it # set to 0 to make it that everyone on the server can see it # how far should the messages.yml broadcasts section messages reach? broadcast-distance: 0 starter: enabled: true material: "BLAZE_POWDER" glow: true name: "&#FF0000%displayName% Koth Starter" lore: - " " - "&#FF0000Information:" - " &#444444❙ &#FFAA66Location: &f%x%; Y%y%; Z%z%" - " &#444444❙ &#FFAA66Time: &f%time_formatted%" - " &#444444❙ &#FFAA66Max Time: &f%maxTime_formatted%" - " " - "&#FF0000ᴄʟɪᴄᴋ ᴛᴏ sᴛᴀʀᴛ" # set to 0 to disable # this is ONLY checked on schedule start & starter use minimum-players: 0 hologram: enabled: true location-offset: x: 0 y: 3 z: 0 line-height: 0.3 lines: - "&#FF0000&l%displayName%" - "&f%capturer_raw% &7| &f%timeLeft_formatted%" bossbar: enabled: true only-show-when-capturing: false # set to -1 to make it that everyone in the world can see it # set to 0 to make it that everyone on the server can see it view-distance: 64 name: "&#FF0000%displayName% &#DDDDDD| &#FF6600%capturer_raw% &#DDDDDD(%timeLeft_formatted%)" # colors: https://javadoc.io/static/net.kyori/adventure-api/4.11.0/net/kyori/adventure/bossbar/BossBar.Color.html color: RED # styles: https://javadoc.io/static/net.kyori/adventure-api/4.11.0/net/kyori/adventure/bossbar/BossBar.Overlay.html style: NOTCHED_20 scoreboard: enabled: true only-show-when-capturing: false # set to -1 to make it that everyone in the world can see it # set to 0 to make it that everyone on the server can see it view-distance: 64 title: "&#FF0000&l%displayName%" lines: - " " - "&#FF0000Location:" - " &#444444❙ &fX%x%; Y%y%; Z%z%" - " " - "&#FF0000Capturer:" - " &#444444❙ &f%capturer_raw%" - " " - "&#FF0000Time:" - " &#444444❙ &f%timeLeft_formatted%" - " " - "&#FF0000play.yourserver.com" ## ---- REMOVE FIRST HASHTAGS FROM ALL LINES TO ENABLE THIS FEATURE! ----- ## in this section you can override parts from the messages.yml, for example if you don't want a start message for this koth, set start here to "" #broadcasts: # start: "&#FFFF00The &#FFCC00%displayName% &#FFFF00koth has started! &7(%timeLeft_formatted%)" # started-with-starter: "&#FFFF00The &#FFCC00%displayName% &#FFFF00koth has been started by &#FFCC00%starter%&#FFFF00! &7(%timeLeft_formatted%)" # stop: "&#FFFF00The &#FFCC00%displayName% &#FFFF00koth has been stopped! &7(%timeTaken_formatted%)" # capture-start: "&#FFCC00%capturer% &#FFFF00has started capturing the &#FFCC00%displayName% &#FFFF00koth! &7(%timeLeft_formatted%)" # capture-status: "&#FFCC00%capturer% &#FFFF00is capturing the &#FFCC00%displayName% &#FFFF00koth! &7(%timeLeft_formatted%)" # capture-lost: "&#FFCC00%capturer% &#FFFF00has lost control of the &#FFCC00%displayName% &#FFFF00koth! &7(%timeLeft_formatted%)" # captured: "&#FFCC00%capturer% &#FFFF00has captured the &#FFCC00%displayName% &#FFFF00koth! &7(%timeTaken_formatted%)" # out-of-time: "&#FFFF00The &#FFCC00%displayName% &#FFFF00koth has ended without a winner! &7(%timeTaken_formatted%)" # to enable this remove the [] and the # from the next line start-commands: [] # - "say Koth started!" end-commands: [] # - "say Koth ended" capture-start-commands: [] # - "say %capturer_name% is now capturing the %name% koth!" capture-end-commands: [] # - "say The %name% koth is no longer being captured!" # requires 1.18+ # These are all the options that you can use in the webhook section: (most of them are optional, you can remove them) # # the message before the embed, you can put a ping here in the <@&1234567890123456789> format # content: "<@&1234567890123456789>" # # color in hex # color: "#FF6600" # description: "Your description" # title: # # required # text: "Title!" # icon: "" # author: # # required # name: "Author name" # icon-url: "" # url: "" # footer: # # required # text: "Footer" # icon: "" # image-url: "" # thumbnail-url: "" # fields: # 1: # # required # inline: false # # required # name: "Field1" # # required # value: "Value1" webhook: # your webhook url here url: "" start: enabled: true content: "Get ready!" color: "#FF0000" title: text: "%name% - STARTED" fields: 1: inline: true name: "Time" value: "%timeLeft_formatted%" stop: enabled: true color: "#CC0000" title: text: "%name% - STOPPED" fields: 1: inline: true name: "Time" value: "%timeTaken_formatted%" capture-start: enabled: true color: "#AAFFAA" title: text: "%name% - CAPTURE STARTED" fields: 1: inline: true name: "Capturer" value: "%capturer_name%" 2: inline: true name: "Team" value: "%capturer_team_name%" 3: inline: true name: "Time" value: "%timeLeft_formatted%" capture-end: enabled: true color: "#FFAAAA" title: text: "%name% - CAPTURE STOPPED" fields: 1: inline: true name: "Capturer" value: "%capturer_name%" 2: inline: true name: "Team" value: "%capturer_team_name%" 3: inline: true name: "Time" value: "%timeLeft_formatted%" captured: enabled: true content: ":tada:" color: "#00FF00" title: text: "%name% - CAPTURED" fields: 1: inline: true name: "Capturer" value: "%capturer_name%" 2: inline: true name: "Team" value: "%capturer_team_name%" 3: inline: true name: "Time" value: "%timeTaken_formatted%"
Last modified: 20 November 2024