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 Mar 17, 2013@Mistererwin
Thanks
-
View User Profile
-
Send Message
Posted Mar 17, 2013@smbadat
Try to put a 2nd map into the folder...
-
View User Profile
-
Send Message
Posted Mar 17, 20132013-03-13 17:53:37 [INFO] smbadat issued server command: /ctf start 2013-03-13 17:53:37 [INFO] [CTF] Found map CTF-MAP_SKYLANDS 2013-03-13 17:53:37 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'ctf' in plugin CTF v0.5 Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
thats in my console and on the chat on my server: Map gestoppt loading map
over and over again i only have 1 map
-
View User Profile
-
Send Message
Posted Mar 16, 2013Create a custom class!
CLICK HERE
-
View User Profile
-
Send Message
Posted Mar 15, 2013@nonozelmar
Yes,:
Update 1.5
But for some reasons colored nametags aren't working - I had to remove it temporary!
-
View User Profile
-
Send Message
Posted Mar 14, 2013hello have you done a new upgrade ?
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Renaud444
Do you have more that 1 CTF-Map?
-
View User Profile
-
Send Message
Posted Mar 13, 2013I got an error too...
2013-03-13 17:53:37 [INFO] RedstoneEditor issued server command: /ctf start 2013-03-13 17:53:37 [INFO] [CTF] Found map CTF-MAP_SKYLANDS 2013-03-13 17:53:37 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'ctf' in plugin CTF v0.5 Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Renaud444
I'm building currently a website for the same ;)
-
View User Profile
-
Send Message
Posted Mar 12, 2013@fbafaro
Hm... Can you post the whole stacktrace?
@ivanster
Did you tried /CTF start and after that /class?
Otherwise: if you do /pl, is the plugin CTF red or green?
-
View User Profile
-
Send Message
Posted Mar 12, 2013I need help I need to start a game how do i start it I got maps n server folder not plugin got classes HELP
-
View User Profile
-
Send Message
Posted Mar 12, 2013I am going to make a tool that lets you design your own classes. It will only work on windows unless you can find a way to make it work with MONO or something like that :p
-
View User Profile
-
Send Message
Posted Mar 12, 2013@g1l2o3n4o5j6a7d8
Everyone is using your map :D Its good, but its too big
-
View User Profile
-
Send Message
Posted Mar 12, 2013I forgot to let you know that in the previous version I had fixed an NPE in the onDisable() method. I can't remember what it was exactly.
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Mistererwin
I did, I have 2 CTF-MAP_
It throws an exception when I'm on the last map and I do /ctf next like this:
/ctf start goes to my first map /ctf next goes to my next map /cft next throws an exception and send me back to my default world
-
View User Profile
-
Send Message
Posted Mar 12, 2013@fbafaro
Do you have only one CTF-MAP_ ? If yes, put a 2nd map into your folder
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Mistererwin
ok, it work but I still have the issue when I'm the last map and I do /ctf next, it still throws an exception:
org.bukkit.command.CommandException: Unhandled exception executing command 'ctf' in plugin CTF v0.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514) at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:980) at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898) at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853) at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Mar 12, 2013@fbafaro
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Mistererwin
I added another map, now when I do /CTF start doesn't tp me to the first map and then when I do /ctf next, it show the name of the next map and another /cft next will produce the same error as earlier.
2013-03-12 11:16:02 [INFO] fbafaro issued server command: /ctf start 2013-03-12 11:16:02 [INFO] [CTF] Found map CTF-MAP_FIRST 2013-03-12 11:16:02 [INFO] [CTF] Found map CTF-MAP_VALLEY 2013-03-12 11:16:02 [INFO] [CTF] 0
> CTF-MAP_FIRST 2013-03-12 11:16:02 [INFO] Preparing start region for level 21 (Seed: 6244317265636132860) 2013-03-12 11:16:02 [INFO] [CTF] [CTF] Loaded map CTF-MAP_FIRST-
View User Profile
-
Send Message
Posted Mar 12, 2013@fbafaro
You are using my map! :D