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 Jun 4, 2013Runs like a charm! even made a few own maps already.
the only *problem* im experiencing is the chat functionality, since you got that on your todo list. i wont nag you about that :D
-
View User Profile
-
Send Message
Posted Jun 3, 2013Could you at least tell me how to fix the glitch so I don't have to wait :P
-
View User Profile
-
Send Message
Posted Jun 3, 2013@Mistererwin
Here's the link sir, hope you enjoy. https:www.youtube.com/watch?v=w64bN5pv90I
-
View User Profile
-
Send Message
Posted Jun 3, 2013@SlimesWithBowties
I think so, but I'm coding atm some addons ;)
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Mistererwin
Did you find out how to fix those things I told you :)
-
View User Profile
-
Send Message
Posted Jun 2, 2013@red0fireus
It's here: net.askarian.MisterErwin.CTF.listener.CListener.onDamage(CListener.java:82) :p And I think I'll fix it with the next version - I've already coded a few things...
@cartose777
Great - Just give me the link
@Speedysnail6
ok - I'm atm on the other computer...
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Mistererwin
sent you a request
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Mistererwin
I made the video, I'll upload it to YouTube tomorrow or the next day.
-
View User Profile
-
Send Message
Posted Jun 2, 2013Could you please add a download for the ctf to fix the skeleton glitch I opened up the folder that you added this time and I think I found the error its under CTF.game.java im not sure really but I found something that look just like the error import org.bukkit.entity.player except its with skeletons im not sure really mabey you can add a import org.bukkit.entity.Damage event and that will fix the shooting of the skeleton at players when they shoot it wont have an error mabey idk but if you could that would be helpful im trying to start and code a little but im not sure how to I hope I could be some help but I really think what I said was stupid so if it does help your welcome ;D
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Speedysnail6
Yes: muckled
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Mistererwin
Do you have a skype?
-
View User Profile
-
Send Message
Posted Jun 2, 2013@SlimesWithBowties
hm....yes
@red0fireus
Formating??? - And if your server is NOT in auto mode, your players 'll get their inventory back.
@Speedysnail6
It would be very nice - I'm trying to do something with bootstrap
@red0fireus
Please edit your comments & don't write a comment AND a PM! - look into the PM!
-
View User Profile
-
Send Message
Posted Jun 2, 2013Something is wrong with skeletons
-
View User Profile
-
Send Message
Posted Jun 2, 2013Ok everything is working on one glich this
2013-06-02 11:33:17 [SEVERE] Could not pass event EntityDamageByEntityEvent to CTF v0.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:89) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:377) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:402) at net.minecraft.server.v1_5_R3.EntityLiving.damageEntity(EntityLiving.java:677) at net.minecraft.server.v1_5_R3.EntityHuman.damageEntity(EntityHuman.java:684) at net.minecraft.server.v1_5_R3.EntityPlayer.damageEntity(EntityPlayer.java:358) at net.minecraft.server.v1_5_R3.EntityArrow.l_(EntityArrow.java:229) at net.minecraft.server.v1_5_R3.World.entityJoinedWorld(World.java:1355) at net.minecraft.server.v1_5_R3.WorldServer.entityJoinedWorld(WorldServer.java:614) at net.minecraft.server.v1_5_R3.World.playerJoinedWorld(World.java:1336) at net.minecraft.server.v1_5_R3.World.tickEntities(World.java:1224) at net.minecraft.server.v1_5_R3.WorldServer.tickEntities(WorldServer.java:480) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:563) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R3.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player at net.askarian.MisterErwin.CTF.listener.CListener.onDamage(CListener.java:82) at sun.reflect.GeneratedMethodAccessor424.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 20 more
-
View User Profile
-
Send Message
Posted Jun 2, 2013Ok. SO, do you need a site or no?
-
View User Profile
-
Send Message
Posted Jun 2, 2013Could you please add a true or false restart thing and set the default spawn for the game -_- so people wont lose there inventory cause my server people go to the inventory world or default and lose everything when the server restarts don't mess with the inventory just add a restart true or false and a set default spawn command that would be nice and then I would use this plugin on my server and give you a ton of credit. Please try this Thx :D
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Mistererwin
And also most of the time when i kill someone it says nothing, plus when i get killed it says that you killed yourself.
And a minor but annoying bug is that when you have the flag, the stuff that comes out of your head falls to the ground when you are have a roof touching it. This leads to confusion because i think i have the flag but i don't
-
View User Profile
-
Send Message
Posted Jun 2, 2013@SlimesWithBowties
ok.... and it was right
@SlimesWithBowties
correct
@Speedysnail6
If you onna di - I'll add webstats (mysql) to the plugin. I've for myself also a few ideas, but if you onna do, you can create also a Webdesign for this.
-
View User Profile
-
Send Message
Posted Jun 2, 2013@Mistererwin:
Please fix all those things I said!
-
View User Profile
-
Send Message
Posted Jun 1, 2013@BattleBlock:
You have to click on more classes and then on mcctf.com classes and download it.