Koth

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Creeper8688

Member
Sep 27, 2025
1
0
1
Hey! Im making a server and every koth plugin I find is pretty awful. The only good one i have to pay for and I dont have the money. Is any1 able to help me with this and provide one? Im beginning to learn skript but am nowhere near the level as to where I can create this kind of system
 
Copy Example:
Code:
options:
hill-world: "your_world_name"
hill-pos1: 100, 64, 100  # bottom corner
hill-pos2: 110, 70, 110  # top corner

We need to look every second to see if anyone's in that box. If someone is, make them the king and start counting time. If not, reset. Use an "every 1 second" event for this. Inside it, grab players in the area and set the player to {_player} or something like this. If the king changes (check if player isn't in area anymore than clear {_player}).

Add commands like a /koth start command that flips a variable to true and broadcasts "Go get the hill!" And /koth stop to shut it down and clear everything.
In the command trigger, just check if the game is active and toggle it.