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 Jul 24, 2013@bombrown
bombrown
I have fix it:
http://pastebin.com/TpBmf64W
-
View User Profile
-
Send Message
Posted Jul 24, 2013-
View User Profile
-
Send Message
Posted Jul 24, 2013My class I made failed to load. Can you help me out?
Here is my code http:pastebin.com/Ca5Apdra.
Here is the error
[WARNING] [CTF] A Incompatible magic value 1768779887 in class file Tank caused Tank to fail to load!
-
View User Profile
-
Send Message
Posted Jul 24, 2013@myslippy1
If you want to set the maxium player, you can do so in your server.properties.
I.E. Only allow twenty people on the server but they all may not be playing CTF.
-
View User Profile
-
Send Message
Posted Jul 24, 2013@Mistererwin
i have :D
http://dev.bukkit.org/bukkit-plugins/ctf/forum/classes/55655-ctf-pack-ger-version-by-kuelbsi/
-
View User Profile
-
Send Message
Posted Jul 23, 2013@Noplix
WOW.... looks cool - Maybe you could post them in the forums;) CLICK
Otherwise would I post them, but not w/ my mobile;)
@myslippy1
Set the player slot;)
@myslippy1
WorldEdit tool;)
-
View User Profile
-
Send Message
Posted Jul 23, 2013I have another question. Why does a compass teleport??? Is it for ops only or for everyone????
-
View User Profile
-
Send Message
Posted Jul 23, 2013ok thank you :D
-
View User Profile
-
Send Message
Posted Jul 23, 2013I have this one simple problem. Where would I set the maximum players that can play???
-
View User Profile
-
Send Message
Posted Jul 23, 2013@myslippy1
you can´t set maximum players :D
-
View User Profile
-
Send Message
Posted Jul 23, 2013I have this one simple problem. Where would I set the maximum players that can play???
-
View User Profile
-
Send Message
Posted Jul 23, 2013Mistererwin, sorry wollte hier Posten nicht bei den Anderen Seiten :D
Download link? SEE DOWN!
This is my CTF Class pack for you,
This Classes are Only good for a German Server i have edit Some Names from Classes and much more, Colored Name and description....
PS: I only Edit all Classes !!! not my own Creation!
[Classes]
- Archer
- Ghost
- Heavy
- Medic
- Ninja
- Pyro
- Scout
- Snake
- Soldier
- Thor
[Classes]
Please PM or Skype to me by Buggs!
DOWNLOAD LINK:
Kuelbsi CTF - Pack.jar (77 KB) https://mega.co.nz/#!3FsQzKBQ!AQnFNR_ZxN4VPbXhpCx0OV81wOYeTGokYcwLjqw9ZC0
PM to me and i give you the .java or the Full .java pack!
Skype: ==== lucianzwick1 ====
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Karelidas
Use TagAPI;)
@bombrown
right... But if your enchantment level is too high use: sword.addUnsafeEnchantment(...
And: player.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 9999 1)
-
View User Profile
-
Send Message
Posted Jul 22, 2013What code would you add to the armor and weapons? Also how do you add potion effects to the class like blindness, speed, strength, etc. (You showed me what do do with sword)
Thank you
@Runecrafter123
-
View User Profile
-
Send Message
Posted Jul 22, 2013@bombrown
try doing this: ItemStack sword = new ItemStack(Material.DIAMOND_SWORD, 0); sword.addEnchantment(enchantment.FIRE_ASPECT, 0);
the order for java is like this: 0,1,2,3,4,5,6 and so on... so if you wanted a diamond sword with sharpness 5 youd have to put 6 instead.
and i guess i fixed the problem with the world. i downloaded a previous version(1.5.1) instead. that seems to be working alright. but im sill having issues with the class, how it has so many errors and wont run on my server.
-
View User Profile
-
Send Message
Posted Jul 22, 2013I made my own class but I don't know how to enchant any of the items. Maybe you can help me out?
http:pastebin.com/Ca5Apdra
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Runecrafter123
Did you have your world in your main directory (where the craftbukkit is)? The name of the world should be in this format.
CTF-MAP_the name of the world
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Mistererwin
Hello, I have been experiencing a few problems. When i copied your class templates it shows up with a bunch of errors on eclipse and wont run on my server.
When i downloaded your plugin and tried to set up an arena, i started the game and random worlds kept generating until my server crashed.
Please Help! Thanks!
-
View User Profile
-
Send Message
Posted Jul 18, 2013@Mistererwin
Sure, but if I need distinguish team. How it do?
-
View User Profile
-
Send Message
Posted Jul 17, 2013@McDevOrg
It should work w/ 1.6.2....
@Karelidas
Set it a their helmet (or google ;))
@bombrown
You have to code them...
And the class generator is (I think) outdated...
But you can use the source from the archer, ninja, ... (Thread)