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.
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.
@Koz4christ
Thanks for reporting the issue. Too bad you'll most likely stop using the plugin though.
Could you tell me how many players you usually have on your server? And what version server software (Bukkit?) you're running?
I will look into the issue as soon as I get a chance. And may I ask you what you used to measure the TPS?
I've been running 2.2 for about a month and a half I've found that after my server has been running for 60-90 seconds it takes a HUGE TPS hit (down to 10) and then it'll recover but never get all the way back to 20 (19.7-19.9). We previously did not have this problem until I updated to 2.2
Not a big deal but it does dip from time to time and is noticeable. After going through and disabling all my plugins one by one, I found that it was CTP that was causing the problem. Unfortunately I don't have anymore information to provide but if you have some ideas of what it could be? I posted my config file http://pastebin.com/f5gNbfpu
I will likely just disable/stop using this plugin but thought you would know in case you've seen anyone else run into this.
Thanks! It really has been a great plugin to use, keep up the good work!
@tata1210
I don't really see how the fact that it's a non-primary world, makes a difference.
If the "warlands" has a nether world, the portals should behave the same way as they do for the primary world.
Am I missing something? Or could you elaborate? Or show me?
@MCOneManMiner123
The new 2.2.0 version has SimpleClans 2 support :) Once installed, you will have two settings "enablesimpleclans2support" and "enablesimpleclanssupport". All you need to do is switch "enablesimpleclans2support" to true and "enablesimpleclanssupport" to false.
Let me know if it works.
I was just wondering, does this plugin have support for SimpleClans2? I tried to install CaptureThePortal with SimpleClans compatibility, but it just said that SimpleClans is not enabled. I'm not sure why, since SimpleClans is up and running fine, but I am assuming it has something to do with that.
If so, is there any way you could enable SimpleClans2? If not that's fine :)
Here are the errors that arise in Console when I do /ctp reload: http://pastebin.com/vhbi9mhJ
@wargamer2010
we're trying to link a non-primary world to it's nether
@tjjerome
Sorry, it took so long but support for CreativeGates has been added with 2.2.0.
@danio11piano
@tata1210
Factions support has been fixed in 2.2.0. Please try it out as soon as it's been approved. Should fix all Factions related issue :) Let me know if you still run into issues with that build.
As for the linking, the portals from a "Normal" world and the related "Nether" world should be automatically linked. I'm not entirely getting what the issue is, could you elaborate?
@wargamer2010
oh no your fine, and it would seem as though you answered my question, we were unsuccessful on making them link together further investigation we made it work, it has to be in main world to link as we have 2 worlds a rpg world and a "warlands" which is factions pvp ect. we moved CTP to rpg/main world and were able to link them together. is there anyway for us to link portals from our "warlands" to like a "warlands nether"? its a nether specifically generated for our warlands map, as we keep rpg elements and pvp separate
also is there going to be an update because it doesnt work with the new factions anymore
@tata1210
Sorry, have had very little time to look at the comments lately.
If you're talking about nether portals, they should be "linked" to each other. As in, when you jump through a portal in the Normal world, end up in the Nether world and then jump back through the same portal you will end up at the same portal you started with in the Normal world. Source
If that's not what you mean then could you please elaborate?
Correction, you might end up at a different portal if you have a few nether portals clustered together within a 128 block distance. I could influence the one you end up. But how do you suggest two portals can be linked together?
am i not gonna get a response?
@wargamer2010
is there a way to link 2 portals together? we have a nether portal set up, I captured it and went through it, when i came back through the portal it brought me to a random location with another portal generated
@danio11piano
Turns out there's a bug in the Faction detection as stated in this ticket.
Could you try out this build and tell me if that fixes your issue?
Ok, here it is: http://imageshack.us/photo/my-images/213/portalfv.jpg/ :)
@danio11piano
Just host it here and post the link ;)
Sure, but the only problem is: how to post a screenshot? :(
@danio11piano
Can you post a screenshot of your portal?
Nope, there aren't any errors in startup log. Of course I am in a Faction :D But now when I switched to flase enablepermissionssupport I can't even go through the portal :( Before I could.
@danio11piano
You also need to set "enablepermissionssupport" to "false". You can't have two Group plugins enabled at the same time.
Are there any errors in your startup log?
And are you in a Faction?
Ok now it works in 50% because I still can't capture the portal so it gets red or blue. Help again! :(