Koth koth
This feature provides a system for KoTH's (King of The Hill).
Config
time-zone
The time zone this feature operates in for scheduled koths.
koth-top-mode-player-mode
If the /koth top
command should use player mode instead of faction mode.
flare-item
This is the item that is used for koth flares.
progress-bar
Section
This section defines the progress bar shown to users who are capturing a koth.
gui
Section
This is the GUI shown to the players who use the /koth
command.
The items in the config are normal items and aren't special.
They simply have placeholders added, so you can list koth data.
Here are the placeholders:
* {ACTIVE_KOTHNAME}
- If the koth is active
* {CAPTURING_KOTHNAME}
- The entity capturing the koth
* {TIME_LEFT_KOTHNAME}
- The amount of time left to capture the koth
koths
Section
This section defines the koths available for the server. Here's an example:
tower:
max-run-time: 3600
contest-when-multiple-cappers: false
cap-time: 300
fac-cap: false
corner-one: 50:75:50:world
corner-two: 55:80:55:world
schedule:
- '03:00'
- '09:00'
- '12:00'
- '15:00'
- '18:00'
- '21:00'
rewards:
- 'give {PLAYER} diamond 64'
- 'give {PLAYER} iron_ingot 64'
chanced-rewards:
- '50.0:some command'
- '20.0:some other command'
max-run-time
The amount of time, in seconds, the koth will run until it expires.
contest-when-multiple-cappers
If more than one faction is on the capture point, capturing will be paused.
cap-time
The amount of time to capture the koth, in seconds.
fac-cap
If the koth is a 'faction' cap. A faction cap means that an entire faction can capture the koth.
schedule
The timestamps that this koth will activate itself.
rewards
Rewards that are given out to the capturing entity. If in faction cap map, the plugin will pick one of the players in the faction on the capture point.
chanced-rewards
These rewards are delivered like rewards
, but have a chance tied to them.
Command
/koth
- Opens the koth GUI./koth gui
- Opens the koth GUI./koth schedule
- Displays the schedule of koths./koth top [page=1]
- Displays the top captures./koth stats (player=you)
- Displays the stats of the given player./koth stop (koth)
- Forcefully stops an active koth./koth start (koth)
- Forcefully starts an active koth./koth giveflare (player) (koth) [amount=1]
- Gives a flare to a player
Permissions
- Base Level - Some commands.
- Admin Level - Some commands.