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.
Cant make it work. I use the faction based system, however it doesnt give me any errors or messages, just wont capture..
@wargamer2010
Here it is:
@DanielYRH
Could you post the full stacktrace?
I seem to be having one of the weirdest bugs in the history of running my server with this plugin... it appears to only be registering the events of those with 9 characters in their name.... for everyone else it prints an error to the log "[SEVERE] Could not pass event PlayerInteractEvent to CaptureThePortal v2.1.1".
I am running CTP v2.1.1, vault version 1.2.22-b277, and bukkit version 1.4.7-R0.2 (Build #02620) .
My config is as follows:
@opti2000
Could you post your CaptureThePortal config.yml? And what version of CTP, Bukkit and Vault are you running? (Yes, you need Vault to use Permissions!)
I dont get it it still says i cant capture portals because im not in a team. Even as a admin.
here are my permissions and i set for each group one color.
http://pastebin.com/am1ezTMV
what am i doing wrong?
@Zombiemold
You could disable End support by setting "enableEndersupport" to false.
People have been getting kicked out of the end when any other person from a clan enters it, regardless of not having any captureable end portals.
Anyway we can get a fix or a config value to toggle it? (The kicking from the nether/end feature).
@94miner
It has support for multiverse portals if that's what you mean.
Can this work with custom worlds using multiverse?
@opti2000
Keep in mind you can only have one CaptureThePortal.* permission node. As an admin you might automatically get the CaptureThePortal.neutral permission and when you have that permission you're not on a team. So you'll have to negate it if that's the case.
And make sure "enablepermissionssupport" is set to true and the other group plugins are set to false.
Hey one question. Im using PermissionsEX as a groupmanager and i got 6 different groups and logical i assign them with the permission CaptureThePortal.COLOR 6 different woolblock colours
But the problem is ingame it keeps telling me (when i try to capture the portal)
"You are not allowed to use this portal because you are not part of a team"
But i configured teams in my permission?
@opti2000
http://dev.bukkit.org/server-mods/capturetheportal/files/13-capture-the-portal-v2-1-1/
@wargamer2010
Is it already downloadable? Because i cannot find the link to the download update 2.1.1?
@wargamer2010
Damn you are so good man. Thanks this is so fucking epic i really thank you!!!!
Best plugin ever!
@wargamer2010
You are amazing, thank you very much for the update!!!!! :D
@opti3000
Added the feature in 2.1.1 which is currently waiting on approval. You can set "rewardaftercooldown" to any amount and it will give that amount to the team who's captured the portal after the cooldown is over.
So when you set it to 2000, all members of the group get 2000 dollars (or cookies, whatever the currency is) after the cooldown on the portal is over.
And I made it so if you can set the config setting to "0" to disable the feature.
You could make a extra commandline in the config that allows to disable/enable getting money from the portals.
Yea guess it could get out of hand, never mind! :D
And just support vault, then let vault handle the economy plugins.
@wargamer2010
You dont need to support every economy plugin. Just choose one of the popular. Even that would be enough.
One of the most popular economy plugin is Essentials economy and a lot of plugins are compatible with it.