ArenaCTF
A Capture the Flag plugin where you pick up the wool color representing the other team, shown by visual around the wool. Once you pick it up teams are alerted and you need to bring the flag back to your base while your flag is still there. You can make more than one ctf arena and players will cycle through the different maps.
Installing
- Put the ArenaCTF.jar in your plugins folder, along with BattleArena.jar
Making a ctf arena
- /ctf create <ctf arena name>
- /ctf addFlag <ctf arena name> 1 <- add the flag for team 1
- /ctf alter <ctf arena name> 2 <- setup a second spawn
- /ctf addFlag <ctf arena name> 2 <- add the flag for team 2
- /ctf alter <ctf arena name> waitroom 1 <- add a waitroom (you can take a waitroom out by changing the config)
Joining
- /ctf join
Permission Node
- Players will need the permission node arena.join.capturetheflag
- arena.leave , so they can type /ctf leave
How do I win ?
To capture the flag you need to bring the enemy flag back to your flag at it's home. If your flag is being held by the enemy you will need to kill them and return it back ( just walk over it ).
Source
Images
Image of the red flag. All flags and and players holding a flag have the flaming visual effect around them.
Image of the score and a player surrounded by flames (showing they have the flag).
Requirements
This plugin is made to hook into BattleArena, so you also need to download it as well.
Help
- BattleArena : Wiki that has all the options available for both ArenaCTF and BattleArena
- Adding Signs : support for joining/leaving and status
- You can ask me questions in real time on irc when I'm on. You can usually find me in the rooms battleplugins, or bukkit in irc.esper.net. IRC through a browser
When a player dies, he just end up with a compass. How can i change it so he dosent drop anything upon death? Thanks, and btw great plugins! :D
macadoocrew.no-ip.biz and the sign do change colour and I tried doing it in game I right click and nothing happens
@CeejayGraphics
Alright, I just released a real fix for the scoreboards. It will be up as soon as Bukkit approves the new jar!
@alkarinv
Dont think it worked :(
http://i.imgur.com/WJ0bh2r.png
@Trav0xx
Do you have your arena selected with worldedit when you use that command? if not, that could be the reason no arena shows up. :o
@coolnessnessdude
Do the signs change color when you put the name of the class on them? If they do, then you need to be in the match for them to work, otherwise you might have errors in the console when the classes get loaded. Let me know what those are :)
@Trav0xx
If you dont mind, get me your ip, or try to catch me on IRC, I'm sure it's easy enough to fix, but I'm drawing a blank right now. So try to catch me so we can talk !
@alkarinv
No, no errors on console. Console just shows:
[INFO] Myplayer issued server command: /arena create blah
[INFO] Myplayer issued server command: /arena info all
etc....
Nothing at all indicating any sort of problem....
Even when I try and create a bg arena, or any type of arena, and then do a /<type> list all,
I just get a "There are no <type> arenas."
I'm not sure what else to try, I'm on the verge of giving up on this.... Any last suggestions?
Thanks,
Trav
my classes sign wont work I try clicking on it and it wont work. I do have battlearena
@Trav0xx
hmmm.. sounds like you are doing it right, are there errors on the console?
@CeejayGraphics
I think I fixed that, let me upload the newest version.
Hi, This is my first time trying to get a server going with these plugins. Trying to get a CTF arena started. I type "/ctf create whatevername", then add the flags, spawns, etc. When I try to join, I get a message telling me no arenas exist. After typing the "/ctf create blahblah", it doesn't give me any confirmation messages, and the console disappears from the screen until I hit "/" again. After doing the "/ctf create <arena>" thing, if I do a "/ctf list all", it again says no arenas for CTF. Am I doing something wrong? It seems that no arenas are ever being created. Thanks,
I noticed there is something wrong with the score code.
When i take the flag and return it, it says:
Red 1 Ceejaygraphics 0 Blue 0 Other player 0
it only counts team captures not the player ones. :O
or do i have to enable something in the code for this?
@drob2897
Yeah while fixing my settings i had the same thing but this fixed it:
http://i.imgur.com/3WqivPZ.png
Changed the: giveClass to start in stead of prestart and added respawnwithclass to death and added giveClass there as well.
Hope that works for you. ;)
Ok Fixed the wool hats issue.
When a game starts players get 2 kits? on respawn they dont.
I also removed wool hats and used the armour instead.
This is what i got:
http://files.enjin.com/149253/Images/Plugins/2013-06-04_04.30.50.png
This is two teams and I am one of them. I was Red but showed as brown. Blue also showed as brown at start of game but on respawn showed blue.
IP: play.mcraftcourse.com
@CrowMCLP
Yeah you can do that. Instead of "woolTeam" use "armorTeams". Then make sure that the classes or the items they get are leather. It will automatically color them.
@CeejayGraphics
That is for making classes with leather colors, but the "armorTeams" option will automatically color them the team color.
@CrowMCLP
Well you always can remove the woolheads from the code
But i was thinking about this earlier On the wiki it said this should work:
giveItems: - gold_ingot: 2 - leather_boots: color=0,0,0 lore="da' stealth shoes" 1
But this or when i change the colour value's wont work for me. well, i only tried it in the classes.yml not the ctf config. :O
Is it possible instead of team heads to give team dyed leather armor?
@drob2897
Hey, i had the same problem but i fixed it.
This worked for me: (capturetheflagconfig.yml)
onStart: options: [pvpOn, teleportIn, hunger=20] giveClass: default: gladiator onComplete:
Called when a player leaves, or no longer is supposed to spawn in arena options: [teleportOut] onFinish:
# effects after game is finished options: [] onSpawn: options: [health=20, hunger=20, respawnWithClass, giveItems] onDeath: options: [clearInventory, respawnWithClass, respawn] giveClass: default: gladiatorAnd for the wool head. Go to the BattleArena plugin to the ''classes.yml'' And remove the helm from each class. this way they will start with wool heads. :)
And thanks again Alkarinv for this amazing plugin. :D
@CeejayGraphics
So the red/blue joining isn't working right now (sorry) I'll try to release a version that has that fix tomorrow.
For the multiple waitrooms/lobbies, you can make as many as you want.
I don't have the give people different items based on permissions. But you can limit what classes they can choose on signs based on perms.
For the lore/display name. Make sure you are using BattleArena 3.8.8.2+
@drob2897
That's odd. Can you pm me your ip? I'd like to see this.
@alkarinv
respawnWithClass does not work for me. I got it working now by remvoing this and adding the give class like suggested by murgatron.
Another thinng is the wool hats dont automatically get added to players heads. They get given as a item. Any ideas?
Hey alkarinv,
Edited.
I'm making a new server at the moment and i just finished an CTF Map I downloaded this plug-in because this one meets the most of my requirements, but i'm not that good with codes to fix the rest.
Could you tell me what i need to add in the codes for:
And somehow this doesn't work for me:
giveItems: - gold_ingot: 2 - leather_boots: color=0,0,0 lore="da' stealth shoes" 1 < copied from the wiki. I tried to give team red red dyed leather armour and blue, blue armour but since this doesn't work for me i failed. x)
And somehow if i choose my ownmade kit i spawn with nothing :/
I love the plugin and i hope to hear from you soon. ;D