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.

Juwish

Premium
Feedback score
8
Posts
96
Reactions
52
Resources
0
This guy has sold a lot of plugins as you can see his other posts :)
 

bigbubba

Vorex Services
Supreme
Feedback score
11
Posts
2,520
Reactions
1,571
Resources
0
KOTH

WHAT DOES THIS PLUGIN OFFER?

KOTH
is an automated plugin which has the following features:

Multiple KOTHs

You can set as many KOTHs as you wish just by using the command /koth set <kothname> this will give you a stick which you can use to set the corners of the KOTH. Once you have finished setting the 2 locations simple type /koth set finish which will remove you from the list so right-clicking or left-clicking a stick will no longer matter and everything should be set to go. To remove a KOTH just do /koth remove <kothname>.

Loot Chests (Keys)
This plugin allows you to to set in the configuration file if you want to use KOTH rewards or not. In a later update I will add a loot option so you could have the loot spawn in your inventory, a key or just open a chest. For now there is KOTH keys which will be added into your inventory after capturing a KOTH (or dropped on the floor if the players inventory is full). To set the location of the chest where you would like the key to be used you can use the command /koth setchest <numberchest>, this plugin allows multiple loot chests. Later I will add another feature where you can set a particular chest for each KOTH. To set the loot of a KOTH just use /koth setloot, again I will add a separate loot for each KOTH in a later update. To use this command just look at a chest (double or single) with the loot inside for the KOTH.

Configurable Times

You can define which times you would like to broadcast a message for each KOTH at what time. So if a KOTH was at 30 seconds to go you could set it in the configuration file to broadcast a message with the KOTH and the time remaining. To add or remove a time just use /koth times <add/remove> <koth> <seconds>.

Configurable Messages
All the messages within the plugin are configurable in the lang.yml file. You can change every single message displayed in game. Every message will be set to a default message when you first download the plugin. Each message in the lang.yml file will have a description above it to tell you what the message is.

Ending/Starting KOTHs
A player can end an active KOTH or start one at any time. To start a KOTH just use the command /koth start <koth> <seconds>. So for example to start my Mushroom KOTH for 5 minutes I would do /koth start mushroom 300. To end any KOTH just use the command /koth end <kothname>. This will deactivate the KOTH at any chosen time.

Chat Delay + Loot Items
This plugin allows a chat cool down for the KOTH plugin which will not broadcast a message for the chosen time in the configuration file. This is to prevent spam of chat by players just constantly moving on and off the KOTH. Loot items are completely configurable in the configuration file, you can set the maximum loot players are allowed to receive and the minimum loot they can receive. To view your KOTH loot items you can use the command /koth loot which will bring up an inventory with the loot set.

HOW CAN YOU PURCHASE THIS PLUGIN?

This plugin has a fixed charge of $10.
You can purchase this plugin from either of the following links:
https://payivy.com/v/KOTH
Shortly adding to spigot.

If there is something you're not sure of or you need help with, you can private message me on here.

Permissions:
- KOTH.* (Access to every command).
- KOTH.SETCHEST (Sets the loot chest 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.<KOTHNAME> (Remove a chosen KOTH).

- KOTH.END.<KOTHNAME> (End a chosen KOTH).
- KOTH.START.<KOTHNAME> (Start a chosen KOTH).
- KOTH.HELP (View the KOTH help command).


Viewing the loot chest -
4c2c48941e7bc369a6ac7fd783eebd5c.png


Player capturing KOTH -
7cf3e42cda465bf1f254542cd7605837.png


Starting/Ending a KOTH -
708e643b3bc194b32b58539a3d7ab363.png


Config.yml -
bbc0c4f7fa7161ae50c47e01b3a47eeb.png


Lang.yml file -
f84aaff85e5d3758aae4e992b2104afc.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.


All credit for this post goes to Synic_ who allowed me to use this layout from his post. You can check his unique and awesome ChatUtility plugin out here:
https://www.mc-market.org/threads/10355/
Vouch for babe
 

Longze

Deactivated
Feedback score
33
Posts
337
Reactions
455
Resources
0
You might want to add this as a premium resource now that it's been brought back. Goto the Resources tab and add your plugin there, as I doubt everyone is comfortable with dealing over Skype.
 

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
You might want to add this as a premium resource now that it's been brought back. Goto the Resources tab and add your plugin there, as I doubt everyone is comfortable with dealing over Skype.
Now adding to Spigot and the premium resource section.
Ben, raise your prices. Subside earns 20$ more than you every KOTH he sells, I have a copy if his plugin, is be interested in either buying or receiving your plugin and making a video comparing them and price.
I keep my prices cheap for more happy customers! :)[DOUBLEPOST=1431009955,1431009570][/DOUBLEPOST]
You might want to add this as a premium resource now that it's been brought back. Goto the Resources tab and add your plugin there, as I doubt everyone is comfortable with dealing over Skype.
How would I make the resource premium so people have to pay $10?
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Longze

Deactivated
Feedback score
33
Posts
337
Reactions
455
Resources
0
When uploading your resource, you can set a price in order for them to access the download link. If you still need more help, PM me.
 

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
How do i work this lol. So confused i do everything right but you can't capture/control it:_
The plugin is working fine, I have had multiple buyers haven't seemed to have a problem.
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)
Status
This thread has been locked.
Top