CTF
Overview
Would you ever play Capture the Flag?
Then is CtF the right plugin for you.
With CTF you can play epic CtF matches.
Installation
- Put the CTF.jar into your plugins folder
- Reload the server
- Put the mcctf.jar file into the classes folder (plugins/CTF/classes)
- Build or download worlds and copy into your server folder and rename them to CTF-MAP_<map_name>
- Reload the server
Usage:
Permissions:
- CTF.* -> allows player to access all commands & classes (default op)
- CTF.admin -> allows player to acces sall commands & classes (default op)
- CTF.<classname> -> allows player to access the <classname> class
Commands:
/CTF
- start <== Starts the first arena
- stop <== Stops the match and tp's all players in the default world
- next <== Loads next arena
- leave <== Leaves the Match
- set Spawn <==Sets the Spawn Location
- set SpawnA <==Sets the Spawn Location from Team A
- set SpawnB <==Sets the Spawn Location from Team B
- set FlagA <==Sets the Flag Location from Team A (Stand on a fence!)
- set FlagB <==Sets the Flag Location from Team B (Stand on a fence!)
- save <== Saves the map(If you changed something)
Class Command (join a class/the game)
- /class <- Opens the class-selection GUI
- /class [classname] <- changes your class
Vote Command (Vote for the next Map)
- /vote <- Opens the vote GUI
Chat
There are multiply chat-modes avaible:
- HUD
- it shows a GUI in the chat
- While ingame only your teammate can hear you, except if you shout (put a !" infront of your sentence)
- CHAT
- Everyone can listen you (also not ingame player)
- SCOREBOARD
- Like GUI, but with a scoreboard
- CHATBOARD
- Like CHAT, but also with a scoreboard
Maps:
Check out the Maps-Forum!
ToDo:
- "Capture" function Block (Break their flag, Break your flag to capture their)
- more languages
- Configuration
- more Classes
- YAML-Classes (almost done!)
Building
Build a Map, where no Player can escape. (Don't forgot Ninjas' Enderpearls & soldiers' climb skills) Rename it into CTF-MAP_<your_Mapname>. eg. CTF-MAP_Flying-City and copy it into your server folder (Not plugin folder!) Start you server and do /CTF start. You 'll teleport into this Map. If you have more than one Map, do /CTF next until you are in your new Map. After that:
- Set the Spawns from both teams. It's best, if you set the Spawn from Team A on Netherrack and from Team B on Lapis-Blocks. (/CTF set SpawnA or /CTF set SpawnB)
- Stand on a fence and set the Flag Location. (/CTF set FlagA or /CTF set FlagB)
- Set the Spawn Location, for the first seconds (/CTF set Spawn) Now you can play your Map.
If you onna change things on your map, use the /CTF save command
Note: If TeamA goes on Lapis, they will die. TeamA will get here their health back. And if TeamB goes on Netherrack, they will die. TeamB will get here their health back.
If you built a great map, share it to other...simply send me a PM with a title, description and download link.
Configuration
CTF.properties
- broadcastertime ==> The time until the broadcaster message changes (in ticks [20 ticks = 1 sec])
- player2start ==> how many players are neccessary that the game starts
- minPlayer ==> if the player amount is less, the game stops
- TeamNameB ==> You can ignore this
- TeamNameA ==> You can ignore this
- ChatMode ==> the chatmode. avaible values: HUD , CHAT, SCOREBOARD , CHATBOARD
- auto ==> dedicated server = true, also other games and survival = false
- language ==> Which language file should be loaded (en ==> en.yml) - Until now only English is avaible - 'll add more!
Troubleshooting
If you have problems with this plugin, check first:
- Do you have downloaded the classes in the right folder(plugins/CTF/classes/)?
- Is your default server world NOT a CTF-MAP_?
- Do you have checked your server log? Maybe are there more informations.
If this didn't helped you:
- Post a comment or a ticket with
- With a description of your problem
- Parts of the server log
Source
You can find the source of this project on github. (I am amazed it even works...)




-
View User Profile
-
Send Message
Posted Apr 21, 2013@Mistererwin
The problem I'm having is is that before a match, it states the available classes (the ones available to everyone), but no matter what I do, it lists all the classes.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@LeeTheENTP
Yes, to make e.g. soldier to a premium class: remove the soldier permission. To make e.g. ninja free, just put ninja to freeclasses or give all players the ninja permission.
Yes... the chemist have's a few problems :p - Just throw a few potions first...
@LeeTheENTP
Alright... ;)
-
View User Profile
-
Send Message
Posted Apr 21, 2013@yoyou446
You can create custom classes using the API.
-
View User Profile
-
Send Message
Posted Apr 21, 2013@Mistererwin
No problem.
So, if I want the correct free classes to show, don't give players permissions for the free classes, but instead put the free classes in the CTF-MAP.yml?
One other thing: Chemists can't capture because their hotbar is full to begin with and can't rearrange items to put the flag in their hotbar.
-
View User Profile
-
Send Message
Posted Apr 21, 2013Can you add a mage class like in MCCTF.com
-
View User Profile
-
Send Message
Posted Apr 21, 2013@LeeTheENTP
First of all: Thank you!
1. It should give you your inventory, that you had when you selected a class
2. Ok..... should be fixed in the next patch.
3. Also
4. hm... should also be fixed in the net patch
5. Ok.... (fixed)
6. also
7. e.g. ={soldier,archer,assassin} - make sure the players haven't the perm., if it is a default class
-
View User Profile
-
Send Message
Posted Apr 20, 2013Overall, the plugin operated fantastically, however I found a few serious bugs/issues, and a few minor annoyances that may or may not be bugs.
1. Inventories don't restore correctly: We tested this out on my main server, and made sure everyone had clear inventories except for me (just in case), we played a round or two, but after the game, the inventory for the world I was in when I used /ctf join (the Extra Hard Mode world) became my inventory for the main world (our EHM world has a separate inventory from the rest). This could cause problems, but I think I can live with this by putting a command block at spawn for people to use instead of typing the command.
2. When someone logs out/loses connection while a match is running (not between matches), huge console errors appear, and keep filling the console until that person logs back in. When the person does log back in, their class defaults to Soldier, not what they had when they log out.
3. If no one votes for a map, everyone is teleported to the main world of the server, with the CTF GUI still in the chat. Using /ctf start does start a new match though.
4. In between matches, it's impossible to see what others type in chat. However, the chat system works well during matches.
5. When someone changes classes, it states that they changed classes several times in a row in the console.
6. It's frequent for the plugin to declare that a kill was a suicide instead.
7. I don't know if this is a bug or configuration problem: between matches, it lists the available classes, however all of the classes are there. Is there a way to specify which ones appear as free? I tried putting them in the freeclasses{} section of the CTF-MAP.properties in each map, but this doesn't seem to help. Is there a specific way you need to separate them? I used commas with and without spaces.
-
View User Profile
-
Send Message
Posted Apr 18, 2013@happycokeman
While the countdown, they can't hurt others.
After the countdown, they should have their weapons and should hurt others.
And is pvp on your server? And do you see errors in the console?
@LeeTheENTP
Thank you
-
View User Profile
-
Send Message
Posted Apr 18, 2013ok, hello everyone, i have resolved my last issue, but i have a even bigger 1 now, when the players start the game, it counts down, but then they cant hurt other players
-
View User Profile
-
Send Message
Posted Apr 18, 2013Hello everyone, i need help, where do i put the downloaded file a reply would help asap
-
View User Profile
-
Send Message
Posted Apr 18, 2013This plugin has come a long way, and for the most part, works very well!
I'm gonna be opening it up for beta testing by the players on my server, and I'll let you know of any unknown bugs.
-
View User Profile
-
Send Message
Posted Apr 17, 2013@Pizzapit5543
Do you have looked at Troubleshooting?
Do you have downloaded the classes in the right folder(plugins/CTF/classes/)?
And CTF says never hole in the floor. And don't load the worlds via multiverse. Please unload the world.
-
View User Profile
-
Send Message
Posted Apr 17, 2013Can someone help me? i made the world like that and when i try to tp to it it says "Hole In the Floor" also whenever i do something like /ctf or /ctf start it says nothing Please Help
-
View User Profile
-
Send Message
Posted Apr 15, 2013@TheTopModderz
Under troubleshooting: Do you have downloaded the classes in the right folder(plugins/CTF/classes/)?
-> You have to put the mcctf.jar file in to this folder: plugins/CTF/classes/
-
View User Profile
-
Send Message
Posted Apr 15, 2013Hey Guys, I`m new owning a server :P We just reached our 48th plugin, well anyways, I hate the ArenaCTF plugin, so I switched to this. And when I did /plugins CTF came up red when its usually green, what does this mean, I deleted the old CTF plugin.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@Mistererwin
Thanks i will try that.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@Mistererwin
Thanks
-
View User Profile
-
Send Message
Posted Apr 14, 2013@ritipinheiro
1.) That's new to me. 2.) I forgot something there... (next fix) 3.) Engineer is a beta class! 4.) Be happy that the game itself works!
-
View User Profile
-
Send Message
Posted Apr 14, 2013very buggy
headshot message says killed yourself instead of head message
when captured the flag doesnt appear the name of the player only a "p"
turret not work
Cumps
-
View User Profile
-
Send Message
Posted Apr 14, 2013@Beeperdp
Is your default minecraft map a ctf map? - You can change/view it in the server.properties file.
Or have you imported the ctf mp with multiverse? - If yes- unload it!