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 Feb 6, 2013for the upcoming 1.5 version you should make redstone block do what netherrack does now.
-
View User Profile
-
Send Message
Posted Feb 5, 2013Would it be possible for you to release the source of this plugin? I would like to make a fully english version as well as add a few things.
-
View User Profile
-
Send Message
Posted Feb 4, 2013@Th3Net
As soon as it's ready ;)
I had a little bit trouble the last week/days.
And it wasn't my school report ;)
@xDeeKay
No problem;)
-
View User Profile
-
Send Message
Posted Feb 1, 2013@Mistererwin
Oh I had no idea this file even existed, it makes a lot more sense now =p Sorry about that.
-
View User Profile
-
Send Message
Posted Jan 31, 2013When's the next update? :D
-
View User Profile
-
Send Message
Posted Jan 31, 2013@xDeeKay
Yes... You can change the "default" classes in the CTF-Map.properties Click
€: This two-flag-bug is a (sometimes) bug -> I'm coding at it...
-
View User Profile
-
Send Message
Posted Jan 31, 2013@Mistererwin
And confirmation on the bug I found? Also I asked about the classes: By default, why do all players start off with pyro, assassin, chemist, and ninja? I haven't given any group any sort of permissions.
-
View User Profile
-
Send Message
Posted Jan 30, 2013@ChompSkiii
Thanks...
And it works now?
-
View User Profile
-
Send Message
Posted Jan 30, 2013I actually got it fixed thanks. For some reason it had something to do with the way i put them in the folder. *Shrugs*. Sorry for wasting your time. However it is good to know that you stay on top of things like this. Other plugin makers, just leave the public to figure out there own problems.
-
View User Profile
-
Send Message
Posted Jan 30, 2013@ChompSkiii
Are your Maps in the Server Main Directory?
-
View User Profile
-
Send Message
Posted Jan 29, 2013When i start the plugin and go into a world, i cant go into another world. I have all the maps in my server folder renamed it CTF-MAP_(with map name here) and when i try to do/ctf start i always get the no map found error. Any suggestion would be much appreicated thanks!
-
View User Profile
-
Send Message
Posted Jan 29, 2013@xDeeKay
Yes... I'm trying around with colored names - Later you can use TagAPI optional...
2) Hm... I have to look...
3) Yes... soon. ;)
-
View User Profile
-
Send Message
Posted Jan 29, 2013Is there any way to define who's on what team? Such as coloured names? I know there's a plugin out there that does this, but since it has no relation to this plugin, there's no way of telling it who's on what team.
Another thing, I found a little problem. If a red player captures the blue flag and runs it back to the red flag, the red player can pick up the red flag as well, therefor carrying 2 flags. Why's this?
Is there anyway to change the message that says 'PREMIUM CLASSES - Order @ ...' And by default, why do all players start off with pyro, assassin, chemist, and ninja? Lastly.. is there a way to set the amount of captures needed to end the game, and an option to edit the time limit?
Thanks
-
View User Profile
-
Send Message
Posted Jan 28, 2013@legomaster5000
1) There is no map-folder => You have to rename your CTF-Maps or download some (Maps).
So I see no bug ;)
2) The classes 'll come later... Some of my teachers won't see them, only my homeworks ;)
3) Currently you can't switch Teams (I'll add this later)
And I think you saw the shouting prefix already (! <some text>
-
View User Profile
-
Send Message
Posted Jan 28, 2013There is no map folder. Its a bug that needs fixing. And I recommend adding the classes Engineer, Dwarf, and Necro. You should have a /switch command for people to switch teams.
-
View User Profile
-
Send Message
Posted Jan 27, 2013@TheMinerShafter
Did you set the the map CTF-MAP_thectf as server default world? If yes, use another world!!! (For an olny CTF-Server a floating iland,... )
-
View User Profile
-
Send Message
Posted Jan 27, 2013@Mistererwin
Yeah,i did that and it says "Lade Welt : CTF-MAP_thectf_the_end" even though the world isnt in the end.
-
View User Profile
-
Send Message
Posted Jan 27, 2013@TheMinerShafter
Yes ... copy a world/folder into your server folder and call it CTF-MAP_<your_name> Then use /ctf start or /ctf next
-
View User Profile
-
Send Message
Posted Jan 27, 2013@TheMinerShafter
Ok i fixed that problem. I just updated my bukkit build. Now it says "No Map Loaded" when i try to set anything. Any help?
-
View User Profile
-
Send Message
Posted Jan 27, 2013I get errors with your plugin. When i type /ctf it doesnt do anything. Including /class. I dont know why this doesnt work. Please help me.