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...)
Does anybody knows how to fix the /ctf leave command? When I type the command, it says: "You can't leave the game" :(
Thx in advance! :)
Can there be Donator Kits to this Plugin?
Could you add more information to the SCOREBOARD and CHATBOARD chat modes? I'd love them to have the same amount of information displayed as the HUD and CHAT chat modes have.
How do I set which classes are free and which ones are premium?Figured it out. Since I was an OP it listed all the classes as "available" and "free to everyone."
BTW this plugin's come a long way and I anticipate that it'll only get better.
Problem with yaml classes:
Can you give me the source code please?
Here is my error.....
[09:17:49 ERROR]: Could not load 'plugins/CTF.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/askarian/MisterErwin/CTF/CTF : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:255) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:628) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.Bukkit.reload(Bukkit.java:279) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:196) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:529) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
Caused by: java.lang.UnsupportedClassVersionError: net/askarian/MisterErwin/CTF/CTF : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65]
at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65]
at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65]
at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65]
at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65]
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65]
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65]
at java.lang.Class.forName0(Native Method) [?:1.6.0_65]
at java.lang.Class.forName(Class.java:249) [?:1.6.0_65]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) [craftbukkit.jar:git-Bukkit-1.7.2-R0.1-b2969jnks]
@Pikachukapi
Well you got Skype??! D: please have Skype. Tell me it.
@RevalationWolf:
Sorry wrong plugin... Its TagAPI. PermissionsEx is you make a group. For example, for my default group this is what I did.
Recruit: default: true prefix: '&a[Recruit]&b ' permissions: - modifyworld.* - CTF.*
make sure default is true, and you use the permissions correctly. For permission nodes on plugins, search one up on google or your internet browser. TagAPI has its own permissions aswell. If you want to make a rank with all permissions, go onto your server and type /pex group <GroupName> create It should make a group. You can use all the color codes (&1-&0) if you want a colored prefix. To make the prefix do /pex group <GroupName> prefix <PrefixYouWantHere>
I can't hit anyone even though they're on another team.. Is the a permission node for it?
Hey, My plugin just spits the same error everytime i try to set CTF spawn A/B or the flags
-No Map Loaded!
I have the map named CTF-MAP_Trojan
Still doesnt work Please Help! I type /CTF start It works but loads for a while, Then it just spams Tp's Me forcing me to reload the same world and in console tells me
"Restarting Cause no player has permission to set points!"
Also. How do you put. You are on team Red or You are on team Blue.
Please help me! How?
@Mistererwin The flag capping doesn't work. When I go to flag to cap. I have to place. Even if I have the AddonK. No stuff from AddonK works! Please help me!
@Pikachukapi But I went into the config for the ColoredTags. Nothing saying Player. But I got permissionsEx so how does it work? Like how will it put people in the group they're on?! Plus what config in the ctf? Theres nothing saying chat command to other players! D:
@RevelationWolf:
I told you, use the plugin Colored tags, and download Permissions Ex. Inside the permissions file you can make groups for players to have assigned teams for ctf, then let change the group prefix to Red (&4Red) and Blue (&1Blue).
@alexjvan:
Make sure when you download the file here that you drag the classes folder into the CTF config file. Also, make sure you have Multiverse Portals and create a world that is named
CTF-MAP_<MapName>. For example, type /mv create CTF-MAP_MyCtfMap. If you don't want to build a CTF map, download a CTF map from google then open up the CTF-MAP_MyCtfMap from the server file, delete everything in it, then copy and paste the files from the map you downloaded and drag them into the CTF-MAP that you created's file. Make sure to turn off the server than turn it back on during the proccess! Hope this helped you! :)
@Gdude78925p
You could use YML classes - in the classes folder is an Example...
@RevelationWolf
What doesn't work? :P
Hey could you guys please add the Dwarf class? It would be much appreciated!!!
@Mistererwin
But when I use the addons! D: It not work! For the flag so I don't have to place!!! I want to do it like mcctf.com but I need to place. Even when I use addon. Btw tagapi doesn't do colored names D:
@RevelationWolf
For the flag: http://dev.bukkit.org/bukkit-plugins/ctf/forum/addons/57177-addon-k/#p1
And to use the global chat: put a "!" infront of your msg ;)
To get "colored" nameplates, you could also use TagAPI (build in support)
@RevelationWolf
There should be some settings in the config file for the Flag Cap. and /a. If you want to make team colors for names download the plugin ColoredTags and set it up for player. (Only works if your server is a CTF server.) Here's the download link for Colored Tags: http://www.curse.com/bukkit-plugins/minecraft/colored-tags Hope this helped you!