Automated KOTH (King of the Hill) - Efficient and Customizable

Status
This thread has been locked.

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
508620test.png
It's called King of the hill, KOTH for short. It's basically where a player stays in a selected region for a set amount of time while other players are trying to knock him off this point. If they can hold the capture point for the set amount of time, you can choose to give them rewards. You can run commands upon a capture or give them a key or add items to their inventory. I plan to add an option to enable Vault so you can give players a money reward upon capture. This plugin supports Feather board and FactionsUUID so you can display the faction's name of the player currently capturing the KOTH. This is also has a custom scoreboard which you can choose to use or you can use the Feather board place holders which are under "Other Information". I try to update this plugin every single day and if there is a problem its very unlikely it will take over 24 hours to be fixed.

976891tuto.png



294809features.png

  • Auto start and KOTH Scheduler
  • Fully automatic
  • Faction support
  • Custom support
  • Has a custom API
  • All messages are customizable
  • Very flexible
  • Knock delay
  • Award players with loot or commands
  • Unlimited KOTHs
  • Auto broadcast at certain times
  • Loot chests
  • Lag free
  • Updated nearly every single day of the week
  • Add a command cool down for donators
  • 15+ commands
218140Commands.png

  • /koth help <PAGE>
  • /koth start <KOTH> <SECONDS> [anon]
  • /koth recreate <KOTH>
  • /koth create <KOTH>
  • /koth end <KOTH> [anon]
  • /koth remove <KOTH>
  • /koth times (ADD/REMOVE) <KOTH> <SECONDS>
  • /koth autostart <KOTH> <PLAYERS> <CAPTURETIME>
  • /koth setlootlocation
  • /koth setloot
  • /koth loot
  • /koth setreward (INVENTORY/KEY)
  • /koth schedule <KOTH> <DAY_OF_MONTH> <MONTH> <TIME_OF_DAY> <DURATION>
  • /koths
  • /koth reload
  • /koth daily create <KOTH> <TIME_OF_DAY> <DURATION> [players]
  • /koth daily remove <KOTH>
  • /koth time
745333Permissions.png

  • KOTH.* (Access to every command).
  • KOTH.SETLOOTLOCATION (Sets the loot locations).
  • KOTH.TIMES (Add or remove a KOTH time to broadcast a message).
  • KOTH.VIEWLOOT (View the set loot).
  • KOTH.SETLOOT (Sets the KOTH loot).
  • KOTH.SETKOTH (Set a KOTH locations).
  • KOTH.REMOVE (Remove a chosen KOTH).
  • KOTH.END (End a chosen KOTH).
  • KOTH.END.ANON (End a KOTH anonymously).
  • KOTH.START (Start a chosen KOTH).
  • KOTH.START.ANON (Start a KOTH anonymously).
  • KOTH.HELP (View the KOTH help command).
  • KOTH.REWARDTYPE (Change the current reward type).
  • KOTH.AUTOSTART (Set a auto starting KOTH).
  • KOTH.SCHEDULER (Schedule a KOTH).
  • KOTH.LISTKOTHS (View the list of KOTHs).
  • KOTH.DAILYSCHEDULE (Schedule daily KOTHs).
  • KOTH.VIEWTIME (View the times of the scheduled KOTHs).
  • KOTH.RECREATE (Reset the zone of an existing KOTH).
  • KOTH.COOLDOWNBYPASS (Bypass the cool down feature).
This plugin is compatible with any current 1.7 or 1.8 version!

This plugin supports either FactionUUID, HCFFactions or the normal Factions with the plugin MassiveCore (version 2.8.2 or above). This is not a requirement, more of an option to allow you to broadcast Faction names or display them in a scoreboard.

This plugin requires WorldEdit to create a KOTH. This is not necessary if your KOTH zones are already set. You can download WorldEdit from this link...

http://dev.bukkit.org/bukkit-plugins/worldedit/

If you would like to use place holders for any of the plugins listed within this plugins description then you require this plugin on your server...
https://www.spigotmc.org/resources/mvdwplaceholderapi.11182/

List of timezones for this plugins automatic scheduler and daily scheduler...
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Viewing the loot chest -
4c2c48941e7bc369a6ac7fd783eebd5c.png


Player capturing KOTH -
7cf3e42cda465bf1f254542cd7605837.png


Starting/Ending a KOTH -
708e643b3bc194b32b58539a3d7ab363.png


Config.yml -
hjTxfMz.png



Lang.yml file -
plmQMpA.png

Scoreboard -

emOn4W7.png


World Edit API -
Qrx6qbd.png


Please note all these messages are configurable these are just the default ones.

Upon purchase of this plugin,
1) You do not have permission to resell or give this plugin to other person.
2) This plugin can only be used on your own server.
3) You cannot decompile or modify the source of the plugin without my permission.
4) There are absolutely no refunds.

/koth schedule <kothname> <day_of_month> <month> <time_of_day> <koth_duration>
KOTH name -
First of all it requires a KOTH name, very simply just enter the name of the KOTH you would like to be scheduled.

Day of month -
Next you would need to enter the day of the month. So if it was the 21st you would need to enter 21 if you wanted it to be that day. If I wanted it to be on the 30th, I would simply enter 30.

Month -
Now you will need to enter the month so for example 8 would be august. Just enter an integer of the month of which you would like the KOTH to be scheduled for.

Time of day -
Then it's the time of the day which is simply the time of day you would like the KOTH to be hosted, this is on a 24 hour clock. So if you would like it to be at 6pm you would have to enter 18:00. If you would like it to be at 6am you would just enter 6:00 and so on.

KOTH duration -
Finally you need to enter the KOTH duration in seconds (how long it would take for a player to capture it).

If you need any further help, feel free to private message me or put a post in the discussion section.

ElizaPancakes
public void onKOTHStart(KOTHStartEvent e) {
if (e.getPlayer().getName().equalsIgnoreCase("benzimmer123")) {
e.setCancelled(true);
e.getPlayer().sendMessage(ChatColor.RED + "You are currently not allowed to start KOTHs.");
}
}

ElizaPancakes
public void onScoreboardUpdate(ScoreboardUpdateEvent e) {
e.setCancelled(true);
//load custom scoreboard adding methods from this event
}

More KOTH events and methods will be added shortly.

Scoreboard Variables:
- %x% Shows the KOTHs X location.
- %y% Shows the KOTHs Y location.
- %z% Shows the KOTHs Z location.
- %world% Shows the KOTHs world name.
- %timeleft% Shows the time remaining for the KOTH.
- %player% Shows the current capper.
- %koth% Shows the active koth.
- %faction% Shows the capper's faction name.

Place holders:

- {koth_x_location} Shows the KOTHs X location.
- {koth_y_location} Shows the KOTHs Y location.
- {koth_z_location} Shows the KOTHs Z location.
- {koth_world} Shows the KOTHs world name.
- {koth_time_left} Shows the time remaining for the KOTH.
- {koth_capper} Shows the current capper.
- {koth_name} Shows the active koth's name.

Servers Using the plugin:

- s19.minespan.com:26169
- play.factionnary.fr
- Ask me to be added to this list! :)

Total Downloads:

- 5 downloads ✔
- 10 downloads ✔
- 25 downloads ✔
- 50 downloads ✔
- 100 downloads ✔
- 150 downloads ✖
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Version 3.6! (Mini Update)

Fixes:
  • The default help title wasn't displaying the pages which was making people confused on how to view all the commands. Went ahead and fixed this, should update automatically.
Updates:
  • You can now end KOTHs anonymously with the command /koth end <KOTH> anon. This will end the KOTH as usual but no broadcast will be made to the server. The command /koth end <KOTH> still works fine and will broadcast a message. In the next update I will add a permission for when you anonymously end a KOTH.
  • Added an option to whether you would like to broadcast KOTH end messages on a reloads. By default "RELOAD_END_KOTH_MESSAGES" is set to true but can be changed to false and these messages will not be announced.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Version 3.6.1! (Permission Update)

Updates:
  • Added a permission for when you anonymously end a KOTH. The permission is KOTH.END.<KOTH>.ANON. This is also on the main page.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Version 3.7! (Update)

Updates:
  • Added a new scoreboard variable %secondsleft% to display the amount of seconds remaining for a player to capture the KOTH.
  • Added an option to anonymously start a KOTH. Using the command /koth start <KOTH> <SECONDS> anon will start a KOTH without broadcasting a message. The permission for this command is KOTH.START.<KOTHNAME>.ANON.
Fixes:
  • Fixed a bug with the help command where it wasn't displaying the KOTH create command, rather just a duplicate of the KOTH start command.
Planned Updates:
  • I will be adding a way to schedule multiple times for each KOTH. This also includes daily KOTHs.
  • I am working on adding support for FactionUUID and fixing MassiveCore support.
  • Making the KOTH times page be listed in the order then will run in. I will also make it so you can see the KOTHs at least 7 days ahead of your current time.
  • A random KOTH so you can create a specific time or daily scheduler for a random KOTH to run.
  • A brand new spectator mode so player's can spectate KOTHs (this will not affect any game-play for example people cannot use commands or fight while in this mode). This mode is also optional so you can choose whether players will be able to use it.
  • Multiple lines for the KOTH start, end and time broadcasts.
  • Allow multiples KOTHs to be hosted at one time.
  • Add end messages to each of the active KOTHs when the server gets reloaded or stopped.
  • Allow you to host a KOTH for longer than 60 minutes.
  • More custom API features.
  • Being able to re-create a KOTH without deleting it.
  • Any other suggestions make sure you leave them in the discussion section! :)
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Version 4.1.1! (Haven't posted many updates on here)

Updates:
  • There used to be a delay when the player comes off the capture zone and they didn't instantly get removed from being the capper. This has been changed and now they're instantly removed.
Fixes:
  • Various code changes to make this run more efficiently once again.
Planned Updates:
  • I will be adding a way to schedule multiple times for each KOTH. This also includes daily KOTHs.
  • Making the KOTH times page be listed in the order then will run in. I will also make it so you can see the KOTHs at least 7 days ahead of your current time.
  • A random KOTH so you can create a specific time or daily scheduler for a random KOTH to run.
  • A brand new spectator mode so player's can spectate KOTHs (this will not affect any game-play for example people cannot use commands or fight while in this mode). This mode is also optional so you can choose whether players will be able to use it.
  • Multiple lines for the KOTH start, end and time broadcasts.
  • Allow multiples KOTHs to be hosted at one time.
  • More custom API features.
  • A permission to view the KOTH broadcasts.
  • Any other suggestions make sure you leave them in the discussion section! :)
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Version 4.2! (Haven't posted recent updates on here)

Updates:
  • Added a help message for the console when a command is entered incorrectly. Will be adding many more commands compatible with the console soon.
Fixes:
  • Fixed a few grammatical mistakes within the plugin.
  • The console will no longer say "This plugin is for players" when a command is not correctly entered.

Other News:
  • Started work on a KOTH cool down (for donators, should be posted later).
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Cause my core has a score bored. Would that interfer?
Not at all you can just disable the entire scoreboard in the configuration file.
Well as my custom koth plugin that i made has more features and i dont think it looks overly good
"Looks" so you have the plugin or you don't?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
I bought it when i didnt make mine
If you made it yourself and you knew you had the ability to code such a complex plugin... why not just do so in the first place before purchasing mine?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)
Status
This thread has been locked.
Top