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...)
@bombrown
Some classes, like engineer are WIP classes, so they won't really work ;)
When in the engineer class, I put up a dispenser and started shooting. A pyro was able to right click on the dispenser and steal all of my arrows. Can you fix this problem?
@Fillpant
ok.... ;)
@Mistererwin
oh... i was thinking of adding ctf to my original factions server onto another world, like the "world_normal" is for factions and CTF-MAP_map is for ctf, is it posible? oh and about special characters its my decoding format the "/" couldnt be changed and the┴ΊΪ▀ή±ά÷Ύ\ are due to a error i made wille messing with cmd and i found a way to bypass the bug i reported, when i do /ctf start i wait 2 sec and do /class and chose one so no prob :) thanks p.s please check ur pm's
@Fillpant
did u set your default world (via bukkit) to a ctf map? if yes: change it!
did u imported the ctf-map/world via multiverse? Unload it ;)
And maybe you should put your bukkit-server into a different folder:
Better don't use special characters in your folder names ;)
hey, i have trouble with loading map, when i try /start it trys to load and it says: and server gives me this error:the server's console output the pc where the server runs has 4gb ram and runs windows 7 and i was playing on another pc same specs. and i lost a map. also i cant se hwo to operate it with Multyverse btw thanks for this awesome pluggin i am stuck with it. :)
@kuba260198 @johnno99
Make sure to open the CTF.zip and put the CTF.jar into your plugins folder
how do i do whta you just said same thing happens were it wont load what do i do
@kuba260198
It looks like you uploaded an invalid/empty CTF.jar
Please make sure your .jar file isn't empty and re-upload the .jar file ;)
Please help CTF plugin does not want to load the
list of plugins:
Plugins (12): ServerLogonServerLogon, , Multiverse-CoreMultiverse-Core, , PermissionsExPermissionsEx, , WorldEditWorldEdit, , Multiverse-PortalsMultiverse-Portals, , WorldGuardWorldGuard, , EssentialsEssentials, , CraftBookCraftBook, , EssentialsChatEssentialsChat, , EssentialsProtectEssentialsProtect, , EssentialsSpawnEssentialsSpawn, , EssentialsAntiBuildEssentialsAntiBuild
Log server:
12:38:49 [INFO] This server is running CraftBukkit version git-Bukkit-1.6.2-R1.0-3-g9532cb6-b2887jnks (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT)
12:38:49 [SEVERE] Could not load 'plugins/CTF.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.(CraftServer.java:217)
at net.minecraft.server.v1_6_R3.PlayerList.(PlayerList.java:56)
at net.minecraft.server.v1_6_R3.DedicatedPlayerList.(SourceFile:11)
at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:107)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:215)
at java.util.zip.ZipFile.(ZipFile.java:145)
at java.util.jar.JarFile.(JarFile.java:153)
at java.util.jar.JarFile.(JarFile.java:117)
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243)
... 8 more
12:38:49 [SEVERE] Could not load 'plugins/mcctf.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:255)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.(CraftServer.java:217)
at net.minecraft.server.v1_6_R3.PlayerList.(PlayerList.java:56)
at net.minecraft.server.v1_6_R3.DedicatedPlayerList.(SourceFile:11)
at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:107)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:215)
at java.util.zip.ZipFile.(ZipFile.java:145)
at java.util.jar.JarFile.(JarFile.java:153)
at java.util.jar.JarFile.(JarFile.java:117)
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:243)
... 8 more
12:38:49 [INFO]
-Bukkit Auto Updater-12:38:49 [INFO] It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
12:38:49 [INFO] If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
12:38:49 [INFO] With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
12:38:49 [INFO] If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
12:38:49 [INFO] [PermissionsEx] sql backend registered!
12:38:49 [INFO] [PermissionsEx] file backend registered!
12:38:49 [INFO] [ServerLogon] Loading ServerLogon v1.4.1
12:38:49 [INFO] [Multiverse-Core] Loading Multiverse-Core v2.4-b527
12:38:49 [INFO] [PermissionsEx] Loading PermissionsEx v1.20.4
12:38:49 [INFO] [PermissionsEx] Initializing file backend
12:38:49 [INFO] Permissions file successfully reloaded
12:38:49 [INFO] [WorldEdit] Loading WorldEdit v5.5.6
12:38:49 [INFO] [Multiverse-Portals] Loading Multiverse-Portals v2.4-b548
12:38:49 [INFO] [WorldGuard] Loading WorldGuard v5.7.5
12:38:49 [INFO] [Essentials] Loading Essentials v2.12.1
12:38:49 [INFO] [CraftBook] Loading CraftBook v3.7-SNAPSHOT:3253-6e52828,master
12:38:49 [INFO] [EssentialsChat] Loading EssentialsChat v2.12.1
12:38:49 [INFO] [EssentialsProtect] Loading EssentialsProtect v2.12.1
12:38:49 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.12.1
12:38:49 [INFO] [EssentialsAntiBuild] Loading EssentialsAntiBuild v2.12.1
12:38:49 [INFO] Preparing level "world"
12:38:50 [INFO] Preparing start region for level 0 (Seed: 2186248159675345470)
12:38:50 [INFO] Preparing start region for level 1 (Seed: 2186248159675345470)
12:38:51 [INFO] Preparing start region for level 2 (Seed: 2186248159675345470)
12:38:51 [INFO] [ServerLogon] Enabling ServerLogon v1.4.1
12:38:51 [INFO] [ServerLogon] plugin correctly enabled
12:38:51 [INFO] [Multiverse-Core] Enabling Multiverse-Core v2.4-b527
12:38:51 [INFO] [Multiverse-Core] - Version 2.4-b527 (API v14) Enabled - By Rigby, fernferret, lithium3141 and main
12:38:51 [INFO] [AllPay] - Version 10.0 - hooked into Essentials Economy for Multiverse-Core v2.4-b527
12:38:51 [INFO] [Multiverse-Core] Loading World & Settings - 'world' - Env: NORMAL - Type: NORMAL & seed: 2186248159675345470
12:38:51 [INFO] [Multiverse-Core] Loading World & Settings - 'world_nether' - Env: NETHER - Type: NORMAL & seed: 2186248159675345470
12:38:51 [INFO] [Multiverse-Core] Loading World & Settings - 'world_the_end' - Env: THE_END - Type: NORMAL & seed: 2186248159675345470
12:38:51 [INFO] [Multiverse-Core] 3 - World(s) loaded.
12:38:51 [INFO] [PermissionsEx] Enabling PermissionsEx v1.20.4
12:38:51 [INFO] [WorldEdit] Enabling WorldEdit v5.5.6
12:38:51 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions.
12:38:51 [INFO] [Multiverse-Portals] Enabling Multiverse-Portals v2.4-b548
12:38:51 [INFO] [Multiverse-Portals] - Version 2.4-b548 Enabled - By Rigby and fernferret
12:38:51 [INFO] [Multiverse-Portals] 0 - Portals(s) loaded
12:38:51 [INFO] [WorldGuard] Enabling WorldGuard v5.7.5
12:38:51 [INFO] [WorldGuard] (world) TNT ignition is PERMITTED.
12:38:51 [INFO] [WorldGuard] (world) Lighters are PERMITTED.
12:38:51 [INFO] [WorldGuard] (world) Lava fire is blocked.
12:38:51 [INFO] [WorldGuard] (world) Fire spread is UNRESTRICTED.
12:38:51 [INFO] [WorldGuard] Loaded configuration for world 'world'
12:38:51 [INFO] [WorldGuard] (world_nether) TNT ignition is PERMITTED.
12:38:51 [INFO] [WorldGuard] (world_nether) Lighters are PERMITTED.
12:38:51 [INFO] [WorldGuard] (world_nether) Lava fire is blocked.
12:38:51 [INFO] [WorldGuard] (world_nether) Fire spread is UNRESTRICTED.
12:38:51 [INFO] [WorldGuard] Loaded configuration for world 'world_nether'
12:38:52 [INFO] [WorldGuard] (world_the_end) TNT ignition is PERMITTED.
12:38:52 [INFO] [WorldGuard] (world_the_end) Lighters are PERMITTED.
12:38:52 [INFO] [WorldGuard] (world_the_end) Lava fire is blocked.
12:38:52 [INFO] [WorldGuard] (world_the_end) Fire spread is UNRESTRICTED.
12:38:52 [INFO] [WorldGuard] Loaded configuration for world 'world_the_end'
12:38:52 [INFO] [WorldGuard] 0 regions loaded for 'world'
12:38:52 [INFO] [WorldGuard] 0 regions loaded for 'world_nether'
12:38:52 [INFO] [WorldGuard] 0 regions loaded for 'world_the_end'
12:38:52 [INFO] [Essentials] Enabling Essentials v2.12.1
12:38:52 [INFO] Essentials: Using PermissionsEx based permissions.
12:38:52 [INFO] [CraftBook] Enabling CraftBook v3.7-SNAPSHOT:3253-6e52828,master
12:38:53 [INFO] [CraftBook] CraftBook v3.7.8 is the latest version available, and the updatability of it is: UPDATE_AVAILABLE. You currently have version 3.7.7 installed.
12:38:53 [INFO] 1 cauldron recipe(s) loaded
12:38:54 [INFO] [CraftBook] Registered 3 custom recipes!
12:38:54 [INFO] [CraftBook] Successfully added 1 CommandItems!
12:38:54 [INFO] [CraftBook] Enumerating chunks for self-triggered components...
12:38:54 [WARNING] [WorldEdit] No compatible nms block class found.
12:38:54 [INFO] [CraftBook] 1875 chunk(s) for 3 world(s) processed (52ms elapsed)
12:38:54 [INFO] [EssentialsChat] Enabling EssentialsChat v2.12.1
12:38:54 [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.12.1
12:38:54 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.12.1
12:38:54 [INFO] [EssentialsAntiBuild] Enabling EssentialsAntiBuild v2.12.1
12:38:54 [INFO] Server permissions file permissions.yml is empty, ignoring it
12:38:54 [INFO] Done (4.545s)! For help, type "help" or "?"
12:38:54 [INFO] Starting GS4 status listener
12:38:54 [INFO] Query running on 94.23.200.118:20832
12:38:54 [INFO] /94.23.200.118:50889 lost connection
plugins
12:39:16 [INFO] Plugins (12): ServerLogonServerLogon, , Multiverse-CoreMultiverse-Core, , PermissionsExPermissionsEx, , WorldEditWorldEdit, , Multiverse-PortalsMultiverse-Portals, , WorldGuardWorldGuard, , EssentialsEssentials, , CraftBookCraftBook, , EssentialsChatEssentialsChat, , EssentialsProtectEssentialsProtect, , EssentialsSpawnEssentialsSpawn, , EssentialsAntiBuildEssentialsAntiBuild
ctf
12:39:24 [INFO] Unknown command. Type "help" for help.
help
12:42:50 [INFO] CONSOLE issued server command: /help
12:42:50 [INFO] To view help from the console, type ?.
@Mistererwin
ok i will please check out these videos
Necro
Mage
@tristinttt
EDIT YOUR COMMENTS!
And to change it: use a command aliases plugin!
how do i change the class commands like /engineer
(Kinda like mcctf.com)
@tristinttt
Look @ the link/ under building. The italic commands.
And please EDIT your comments!
You can change the distance from the sponges in the CTF-MAP.properties:
hboost and vboost
can you make all the classes that are on mcctf same of sponges I HATE THE SPONGES THEY TAKE YOU A FAR DISTANCE
How Do i Disable sponges?
so i got to set the flags and spawns
@salbasu
thanks ;)
@tristinttt
Yepp - You have to set the locations from Your spawn, spawnA, spawnB, flagA and FlagB
Building
The Only Problem is When you get a map From a server with WorldDl It gives your a error with This Map is in build-only mode! use /CtT next anybody know how to fix this
this plugin looks awesome, il try to put it on my server: blockgalaxy.no-ip.org and also has donation stuff available to put: AWESOME