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...)
@Mistererwin
Cool. Can't wait for the update!
@LeeTheENTP
Yes... Everytime I see it, I think I have to change it, but.... ;)
But now is it changed!
For this version ;)
@Mistererwin
Kool :D. I'll keep testing the plugin, but I found a slight error for the version: It says it's still in alpha and is version 0.1...
Is this intentional or have you just forgotten do update the version number in the plugin?
@darthtony
Yes...World Downloader... I have to test my Plugin also anywhere^^
@LeeTheENTP
No... I just have problems with that class ;) He 'll come later...
@Iversen123
For what do you need /CTF create? Just Copy a (singleplayer) map into your server folder, and rename it to CTF-MAP_<your_name>
@Iversen123 /CTF set SpawnA ;) It was wrong formated :(
How do i create a map. I can't type /CTF spawnA or B
How do i create?
@Mistererwin
Ok, and I don't think they care if I use the maps, at one point most have been up for download, I just use them, or a mod.
@Mistererwin
I think is was because I forgot to set the spawn and flag locations... :P
Also we've been having some issues with the flag item (when it's floating, flying around the carrier, etc.). Sometimes when the carrier is killed, the killer can pick up some of the blocks that were flying around the carrier, and sometimes the flag spawns two blocks floating above the fence post.
Other than that, seems good for the most part.
EDIT: Y u get rid of engineer?!? ;_; *cries*
Edit.....
Ohhh, found the error, i just placed the classes from the class folder into the other class folder. Now i just have another problem. Theres no /CTF create, or, there is but then i type /CTF create... nothing?
Help me please. Sorry my bad English :D
@TheUnknown345
@Th3Net
Yes... I forgot something ... It 'll be implemented in the next Version.
@LeeTheENTP
Does it work now?
And I should check that...
@darthtony
Please only maps, you have build or you have the permissions to use. We won't have Problems with them ;)
Hmmm...
When I try to start a match, it counts down, but after it reaches 0 it goes into the negatives and the console spazzes out with this error and possibly similar ones:
2013-01-01 20:57:00 [WARNING] [CTF] Task #5 for CTF v0.1 generated an exception
java.lang.NullPointerException
at net.askarian.MisterErwin.CTF.CTFGame.startGame(CTFGame.java:134)
at net.askarian.MisterErwin.CTF.threads.lookingtimer.run(lookingtimer.java:129)
at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:530)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Do you know what this is, if it's a bug or something I did wrong?
EDIT: I forgot to save the flag and spawn locations... Derp.
@TheUnknown345
same.
@darthtony
Who's "we". If you are a building team please contact me :).
No i have set it to false
I wanted to know if you would like some maps from the McCTF servers, or if you wanted ones we made.
@TheUnknown345
Have you set autojoin/autostart in the config to true? If yes, you can't leave the game.
I have a problem were the game will be stopped and no map is loaded and in my chat i still get the announcement saying Captures and all that stuff. I tried doing /ctf leave. It continues it is only for me tho so im assuming its only sending it to OP's. not sure what to do.
@seiterseiter
I made this plugin for "only CtF" and other servers. Just set autojoin/autostart in the config to false.
@Pixel045
Yes...thats cause Spout(craft) ignores empty lines. I'll change it soon.