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
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

SubSide

¯\_(ツ)_/¯
Premium
Feedback score
0
Posts
165
Reactions
68
Resources
0
Good to see some competition at last ;P

We're thinking about dropping our price x)


Good luck with sales!
 

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Good to see some competition at last ;P

We're thinking about dropping our price x)


Good luck with sales!
Thanks! :) Good luck with yours too
 
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
BUMP
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Cranked

Owner of Cranked Factions
Premium
Feedback score
25
Posts
443
Reactions
194
Resources
0
Am I missing something? How do you set it to automatically start?
 

MoeXIV

Feedback score
0
Posts
150
Reactions
52
Resources
0
1 thing I'd like to ask; does this plugin hook into drtshocks API to not break the current scoreboard / nametags?

If so I'd definitely consider purchasing this detailed plugin.
 

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
Updated plugin!

Am I missing something? How do you set it to automatically start?
Adding this in the next update. :)
1 thing I'd like to ask; does this plugin hook into drtshocks API to not break the current scoreboard / nametags?

If so I'd definitely consider purchasing this detailed plugin.
There is an option to disable the scoreboard in the configuration file. :)
 
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
Benzimmer i just bought it again. and it fucking didnt work.
if your gonna sell a plugin. atleast make it so you can buy it. mind giving me a refund?
I have refunded your second payment and your name is on the buyers list.

w6IIIEG.png


Are you sure your signing into the right account or are you giving me the wrong username?
 
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
BUMP, scheduler has been completed just waiting for someone to make a video on it. The update should be posted tonight or tomorrow. :)[DOUBLEPOST=1440370952,1440355744][/DOUBLEPOST]Added a scheduler just now along with a text tutorial on how to use it. The video tutorial should be up very soon! :)
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/benzimmer-v-billybilly-transaction-dispute.703817/)

Tylerzz

Premium
Feedback score
13
Posts
959
Reactions
515
Resources
0
BUMP, scheduler has been completed just waiting for someone to make a video on it. The update should be posted tonight or tomorrow. :)[DOUBLEPOST=1440370952,1440355744][/DOUBLEPOST]Added a scheduler just now along with a text tutorial on how to use it. The video tutorial should be up very soon! :)
Nice update, I hope to get this in the future.
 

Benzimmer

Java Developer
Banned
Feedback score
20
Posts
76
Reactions
179
Resources
0
I'm actually currently working on a revamp of the scheduler so you have to enter a day and not a date. This update should be released soon a long with a /koth list command to show the scheduled koths and a /koths command to view all of the currently set zones.
 
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
New Version 2.1!

Fixes:
  • Scheduler wouldn't run if you didn't have the WorldEdit plugin installed.
  • If you were using a custom factions, for example HCF, you wouldn't be able to capture a KOTH.
New Updates:
  • Added /koths command to list all the currently set KOTH zones.
Other News:
  • Still working on a more efficient scheduler.
  • Still working on listing all the current scheduled KOTHs.
 
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
Version 3.5.4 (Bug Fix)!

Fixes:
  • Made the code much more organised and more efficient to prevent lag from occurring.
 
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.5!

Fixes:
  • Problems when creating a KOTH.
  • Many fixes to the organisation and coding methods (should cause a little less lag than before).
Updates:
  • Added support for custom place holders! To use these add the plugin MVdWPlaceholderAPI to your server (link is in the description of the plugin). This does require one of maximvdw's premium plugins. The place holders are listed on the plugin's main page. Please remember I do not personally have any of these plugins myself so all may not go to plan straight away but I am online most of the time so if you have a problem be sure to message me! This supports all of the following;
    • FeatherBoard 2.10.0 or higher
    • AnimatedNames 4.9.0 or higher
    • TitleMotdAdvanced 4.9.0 or higherTab 4.9.0 or higher
    • DynamicSigns 3.6.0 or higher
    • ActionBar 4.9.0 or higher
    • ConditionPerms 1.0.0 or higher.
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.
  • 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/)
Status
This thread has been locked.
Top