Outposts - CryptoMorin/KingdomsX GitHub Wiki
This addon adds a game mode to the plugin that is similar to King of the Hill (KoTH) gameplay.
Note
Here, outpost does not refer to the Outpost structure. It refers to /k outpost.
For more information about outpost structures, see the structures section.
Tip
Plunders are another mechanic similar to Outposts and provide an alternative to the default champion style invasions. If this addon doesn't quite match your requirements, check them out as well.
Outposts are regions around the map that are created with WorldGuard. Once an outpost is available, players from different kingdoms must fight other kingdoms and keep their members inside the region. Once the event ends, the kingdom that spent the most time in the region wins and receives resource points, money, and items.
In addition, mobs can be configured to spawn in the area. They can drop loot or provide additional bonus points when killed by a member of a certain kingdom.
The following settings are not required, but are recommended:
- Players killed during this event will lose their items.
- The regions surrounding the outpost should have the PvP flag enabled.
- The regions surrounding the outpost should have the Build and Explosions flags disabled.
You can create an outpost zone with /k outposts create <region>, and it will be saved to the outposts.yml config file.
Event rewards, limits, the spawn location, and other settings can be changed there later.
Kingdoms that want to participate in this event must pay a small fee from their kingdom bank and resource points. There is also a minimum and maximum number of members per kingdom who can enter the event. Any member can join until it is full.
Once the event starts with /k outposts start <region> <time>, kingdom members with the WITHDRAW permission can participate by using /k outposts join <region>. Members can then teleport to the arena with /k outposts tp. The outpost spawn should be set outside the arena.
You can also set up spawners from a custom mob plugin to make the event more challenging. While you're in the arena, you'll see a bossbar showing the event's progress.
Once the event has ended, all players who lost will be teleported back to the arena's spawn. They will not be able to enter the arena. Money and resource point rewards will be added directly to the kingdom. Item rewards will spawn at another location in the arena set in the outpost config. Anyone can pick up these items.
These kinds of events are usually run with other plugins to make things more interesting, such as setting up a spawner for custom mobs or random item drops managed by a plugin or server administrator.