TF2
Team Fortress 2
This plugin can optionally use TagAPI to color name tags.
This plugin does not need an update and will continue to work between Minecraft versions. However, you will need to update TagAPI each Minecraft version, as this plugin won't work if TagAPI isn't working.
Overview
TF2 is a fully functional plugin that allows you to simulate playing Team Fortress 2 from within Minecraft. It is based off of the popular map created by SethBling, only without any redstone required.
Players can click a sign to join a TF2 map, where they will randomly be assigned a team and teleported to their team's lobby. In the lobby, the player can pick a class using buttons, and wait for the game to start. The objective is for blue team to defend their capture points. Red team’s objective is to try and attack / capture blue team’s capture points. There is a time limit to each map, if that time limit is reached, and red team has not captured all of the capture points, then blue team wins. The moment red team captures all of the capture points, red team wins.
Example PHP code to display stats: https://gist.github.com/4490794
Requirements
- TagAPI and WorldEdit must be installed for this plugin to run.
- You will ideally need a TF2 map. We recommend this one, created by SethBling.
Example Gameplay
Features
- Fully automated lobby status wall using signs, displaying time left in the game, points captured, the status of the game, and more.
- Completely automated - players will almost never have to use commands, most everything is done through signs and buttons.
- Players are automatically balanced onto red/blue teams.
- Create custom classes defined in the configuration - players choose their class by using buttons you create and define as class buttons.
- The game lasts up until a timelimit defined by you.
- Your XP bar displays the status of the point being captured, and your level displays the total amount of kills you've made that game.
- AFK players are automatically kicked from the game.
Creating Your First Map & Setup
- Click here for a full tutorial on creating your first map.
- Click here for a quick tutorial on setting up a map. Only use this if you've created a map before and know how to use the commands it outlines.
Permissions
| Permission | Description |
|---|---|
| tf2.create | Allows everything required to setup a map. |
| tf2.play | Allows only normal gameplay commands. |
| tf2.button.normal | Allows use normal class buttons. |
| tf2.button.donator | Allows use donator class buttons. |
Need support?
We need the following things to help you:
- The output of the /tf2 debug command.
- A full startup log (from "Starting Minecraft server version..." to "Done!").
- Any relevant errors. "An internal error occurred" means there's an error waiting in your server log/console.
Commenting below is NOT the fastest way to get support! If you need help, click here to join our IRC channel on esper.net.




-
View User Profile
-
Send Message
Posted Nov 5, 2012I just set up an IRC channel so you guys can catch me live! #mctf2 on esper.net.
Here's a link to chat using the web: http://www.esper.net/publicirc.php
-
View User Profile
-
Send Message
Posted Nov 5, 2012@mjkaufer
They can join mid-game.
Looks like your problem is on line 10, you're trying to give DAMAGE_ALL to a diamond pick, which will fail.
-
View User Profile
-
Send Message
Posted Nov 5, 2012@mjkaufer
Can you upload it to a site like pastebin?
-
View User Profile
-
Send Message
Posted Nov 5, 2012@chaseoes
Thanks for your response. My VIP heavy is as follows.
VIPheavy: armor: helmet: 306.PROTECTION_PROJECTILE.2 chest: 307.PROTECTION_PROJECTILE.3 legs: 308.PROTECTION_PROJECTILE.2 boots: 309.PROTECTION_PROJECTILE.2 inventory: - 278.1.DAMAGE_ALL.1 - 261.1.ARROW_INFINITE.1 - 373,32757.5 - 262.1 potion-effects: - SLOW.1.forever
My spy is as follows.
VIPspy: armor: {} inventory: - 267.1.DAMAGE_ALL.3 - 261.1.ARROW_DAMAGE.3 - 373,32757.5 - 373,14.3 - 262.32 potion-effects: - SPEED.1.45
-
View User Profile
-
Send Message
Posted Nov 5, 2012@mjkaufer
Sounds like you got the name of an enchantment wrong, can't really help without seeing the config for the classes.
The game automatically starts when a certain percentage of players out of the playerlimit for that map have joined. The percent is configurable in the config.
@Minecraft222
No. Just no.
@Juelz0312
No, sorry.
@superpeanut911
-.-
@pchard
Check the .yml file for your map and remove the third capture point. If it says there's one then there is. After you remove it you might have to restart (or if it goes back after a restart do it with the server stopped).
-
View User Profile
-
Send Message
Posted Nov 5, 2012Why is everyone having so many problems with this plugin... Mine is running awesome! Just a few NPE's but everything works as supposed too...
-
View User Profile
-
Send Message
Posted Nov 5, 2012I mean config, sorry.
-
View User Profile
-
Send Message
Posted Nov 5, 2012Can we have an option to switch do that red team defends? Perhaps in the console?
-
View User Profile
-
Send Message
Posted Nov 5, 2012Hello.
I managed to set up the plugin just fine after your tutorial.
However, we have encountered some issues..
- Cannot hurt each other. - When we are 2 players, and one is blue and the other is red, red captures #1, quits, and then another player wants to join, he captures #2, and then it says head to #3..
We have not set capture point #3...
Also, the game doesn't reset when both players do /tf2 leave
-
View User Profile
-
Send Message
Posted Nov 5, 2012i cant join my games?
-
View User Profile
-
Send Message
Posted Nov 5, 2012i cant join my games?
-
View User Profile
-
Send Message
Posted Nov 5, 2012I made a few custom classes and they all worked except for two: 'VIPheavy' and 'VIPspy'. When I try to use VIPheavy, it gives me the following error message and gives me nothing.
11:31:56 [SEVERE] java.lang.IllegalArgumentException: Specified enchantment cann ot be applied to this itemstack 11:31:56 [SEVERE] at org.bukkit.inventory.ItemStack.addEnchantment(ItemSta ck.java:301) 11:31:56 [SEVERE] at me.chaseoes.tf2.ClassUtilities.changeClass(ClassUtili ties.java:141) 11:31:56 [SEVERE] at me.chaseoes.tf2.listeners.InteractListener.onPlayerIn teract(InteractListener.java:90) 11:31:56 [SEVERE] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) 11:31:56 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg atingMethodAccessorImpl.java:25) 11:31:56 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:597) 11:31:56 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav aPluginLoader.java:339) 11:31:56 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist eredListener.java:62) 11:31:56 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(Simpl ePluginManager.java:477) 11:31:56 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl ePluginManager.java:462) 11:31:56 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callPl ayerInteractEvent(CraftEventFactory.java:177) 11:31:56 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(Item InWorldManager.java:366) 11:31:56 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand ler.java:650) 11:31:56 [SEVERE] at net.minecraft.server.Packet15Place.handle(SourceFile: 58) 11:31:56 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager. java:282) 11:31:56 [SEVERE] at net.minecraft.server.NetServerHandler.d(NetServerHand ler.java:111) 11:31:56 [SEVERE] at net.minecraft.server.ServerConnection.b(SourceFile:35 ) 11:31:56 [SEVERE] at net.minecraft.server.DedicatedServerConnection.b(Sour ceFile:30) 11:31:56 [SEVERE] at net.minecraft.server.MinecraftServer.r(MinecraftServe r.java:569) 11:31:56 [SEVERE] at net.minecraft.server.DedicatedServer.r(DedicatedServe r.java:215) 11:31:56 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServe r.java:486) 11:31:56 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:419) 11:31:56 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:818)
VIPspy gives me nothing, but produces no error.
-
View User Profile
-
Send Message
Posted Nov 5, 2012Can you make it so that when people are in spawn, they can't attack eachother?
-
View User Profile
-
Send Message
Posted Nov 5, 2012Can you define an autostart command, please?
-
View User Profile
-
Send Message
Posted Nov 5, 2012@chaseoes
How many people does it take for the game to start?
-
View User Profile
-
Send Message
Posted Nov 5, 2012@kyledag500
Then add it in anywhere.
-
View User Profile
-
Send Message
Posted Nov 5, 2012@chaseoes
Still no...I am 100% sure it's not there. I used the search.
-
View User Profile
-
Send Message
Posted Nov 5, 2012@calloftheduty25
Mine takes 4ever as well!
-
View User Profile
-
Send Message
Posted Nov 4, 2012@calloftheduty25
Why can't you join a game? Do you have permission? Did you follow the tutorial correctly?
-
View User Profile
-
Send Message
Posted Nov 4, 2012Can You Guys do something about this 2 problems: 1: my server take 10 minutes to start up since i installed your plugin 2: I cant join a game
But still i understand that there's bugs and its just been released so ill just say that you guys made a awesome plugin and it has lots of potential! :)