CaptureThePortal
Allow your players to fight over control of almost any portal!
Important Notice
I no longer have the time to continue supporting this plugin.
The source is freely available on github so feel free to continue developing the project.
It's been fun working on this project and it tought me quite a few things. Thank you for your patience and understanding if you're still using this plugin.
Features
- Allows admins to limit access to Nether Portals.
- Capture and cooldown time are specifiable in the yml file.
- Messages are displayed when the portal is almost available or being captured, also configurable in the yml file.
- Teams are adjustable by using Permissions, Factions, Clans (SimpleClans), Towns (Towny) and Gods (Gods plugin)
- Every supported plugin has it's own setting in the config and only 1 at a time can be enabled so "enabletownysupport" OR "enablesimpleclanssupport", etc.
- Besides Nether Portals, it also supports Ender portals, Wormholes and Stargates
- All messages are configurable through the config.yml
- As an OP you can reload CTP by running: /capturetheportal reload
- Captures are registered so, when the server reboots, groups won't have to recapture the portal (set "persistcapture" to false to disable that)
- Full Clan names can be enabled by setting "fullgroupnames" to true in the config. That way it will use the Clan's full name in stead of the short tag.
- Vault is supported and mandatory when running CTP with "permissionssupport" to true
How it Works
First, as an admin, you build a white wool 5x5 platform and place a stone pressure plate in the middle. You then create a Nether Portal* on top of the platform next to the pressure plate.
Then as a player with team permissions, or as a member of a Faction, you stand on the pressure plate to Capture the Portal for your team/Faction. The wool will change to the capturing team's color and all members of the enemy team/Faction will be kicked out of the Nether and sent to spawn!
This plugin also supports Wormhole X-Treme portals, End Portals, Stargates (from the Stargate plugin), Multiverse Portals and Creative Gates. Simply place a wool block next to the dialer (for Wormhole X-Treme), Endportal frame, Stargate, MV Portal or Creative Gate and put a stone plate on top.
Permission Nodes
If you have Permission support enabled the following nodes can be used:
Quote:
- CaptureThePortal.COLOR (Replace "COLOR" with any wool colors [red, blue, gold, light purple, yellow, green, dark gray, gray, dark purple, dark blue, dark green, black] to assign players to a team)
- CaptureThePortal.neutral (for neutral players and admins)
When you use another group plugin, permission nodes are not relevant.
Config Options
For an explanation of the various config options in the config.yml, please see this page.
Credit
My thanks goes out to Devinish for making this page easy to read and look cool.
Like this plugin? Consider donating :)
Any amount is more than welcome and allows me to stay caffeinated.
@watdidyusaey
Very true, that's because they're not supported yet. But someone else has already suggested that and it is on my TODO list :) So please be patient and I will look into support for them soon.
IS it possible to make it so the clans/factions don't fight for the nether, but just any multiverse portal specified in the config? The main page doesn't specify mvp, so...
@rickoman
How do you suggest that would work? Because if I'd limit the amount of Factions, it would only "recognise" a certain amount of Factions and people of other Factions would not be able to capture the Portal.
Is there a limit to how many teams there can be? On my server we use factions, but there are many factions and I would want all of them to be able to fight for the portal.
@dino120
You didn't post the whole stacktrace but I think that has been fixed in 1.9.6. Let me know if you still get the error after upgrading to 1.9.6.
The file is currently being approved by the Bukkit team.
CTP now uses Vault for Permission support so if you have "enablepermissionssupport" set to true, please make sure you have Vault installed! Or else, it will not work. Vault allows me to support all of the common Permission plugins with ease. Thank you for your understanding.
This wont work for my server, I get the error ... latest version
05.09 07:39:21 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 05.09 07:39:21 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:439) 05.09 07:39:21 [Server] INFO at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:330) 05.09 07:39:21 [Server] INFO at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:260) 05.09 07:39:21 [Server] INFO at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:393) 05.09 07:39:21 [Server] INFO at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400) 05.09 07:39:21 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:391) 05.09 07:39:21 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:219) 05.09 07:39:21 [Server] INFO at org.wargamer2010.capturetheportal.CaptureThePortal.onDisable(CaptureThePortal.java:66) 05.09 07:39:21 [Server] INFO java.lang.NullPointerException 05.09 07:39:21 [Server] SEVERE Error occurred while disabling CaptureThePortal v1.9.5 (Is it up to date?)>>
@Garacesh
It doesn't make sense to me as the owner can't recapture a portal they already own. As in, if Clan A captures the Portal then it will still be theirs after the cooldown is over. So, it becomes available to others for capture, not to Clan A. Clan A can just run through the Portal. Or am I really missing your point? :P
@Quinnatator
It sounds doable based on the plugin's description. So I will try to make it compatible. It depends on "how nice" the developer of Sectors is whether or not I'll manage to do it ;)
Hey, I would definitely install this plugin If their was Sectors support. Could you add compatibility with that plugin? Here's the link:
http:dev.bukkit.org/server-mods/sectors/
@wargamer2010
Will 1.9.5 be Tekkit compatible? And by 'recapture', when the portal becomes capturable, the team that currently own it cannot capture it again. My aim is to have both clans fighting each other at the time of vulnerability, and if the clan that already owns it wins, they re-claim it. Otherwise, the clan that don't own it can just wait for nobody to be online and take it, since it doesn't stop being vulnerable once it activates.
Does that make sense?
@Garacesh
You were right about the colors, it wasn't getting them properly from the Clan tag. What do you mean by recapture? After someone else captures it, the original owner will be able to claim it back. And I'm not sure about the timer, might be due to lag, is there anything in your logs that looks interesting?
The colors have been fixed in 1.9.5 which will be available as soon as it's been approved.
I've enabled SimpleClans support, but the colours for teams are still just Grey on the portal, did I do something wrong? Also, is there a way for the team that currently owns the portal to 're-capture' it during its contestable period? And finally, how come the timer is off? I set it to 15 seconds, it's captured in 10. I set it to 10 seconds, it's captured in 6. I set it to 20, it's captured in 12. Confusing..
@rickoman
Will consider it and it is now on my TODO list. But I can not give you an ETA as I am currently pretty busy.
Would you consider making this work with the CreativeGates plugin or with Multiverse Portals?
@Davyhalliday
Yes, it could. All you have to do is set "enableEndersupport" to "true" in the config. And to make an Ender portal capturable, you just have to put a wool block with a stone plate on top next to it.
Would this work as a 'capture the end' then?
@CoffeeNutz
Glad I could help :) Let me know if you run into any problems.
@wargamer2010
thx a bunch this lets me remove simpleclans on the server and just run GODS and not have to run them both
@CoffeeNutz
Added a bit of support for the God plugin and released it with 1.9.4.
It might take a little while for the file to be approved but it has, for sure, been uploaded.
Feel free to check it out and let me know what could be improved/added :)
@CoffeeNutz
secondary thought was that i build different worlds and depending on the god who captured the portal that it would link to that world in MV but thats gets kinda harsh
so the other idea is that if you can build a randomize list that it checks to pick <either in order or randomly as a option> a multiverse world.
(this way i can do like a skylands theme or a primal dessert theme to make capturing the portal more attractive)
@wargamer2010
Well you can in the plugin create a god which players pray to and it creates a faction of sorts
it has the option for holylands in it so it can run like factions only they place altars down and pray <blah blah blah>
the concept for linking them i figure it that all members of that "god" can capture the portal
thus gives a warring reason for the religions to fight over