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 Feb 3, 2013Thank you :)
-
View User Profile
-
Send Message
Posted Feb 2, 2013will you add more game types/modes?
-
View User Profile
-
Send Message
Posted Feb 2, 2013I tried to put the splash potion ID from minecraftwiki, but it came out as a regular potion. I also looked at the already pre-put splash potions, and their ID is way different from minecraftwiki?
-
View User Profile
-
Send Message
Posted Feb 1, 2013@AgentTripleC
Using their proper ID.
@Zachary_DuBois
Yes, a pressure plate is required.
-
View User Profile
-
Send Message
Posted Feb 1, 2013How do you put splash potions into classes???
-
View User Profile
-
Send Message
Posted Feb 1, 2013@follet2004
Same here. I can't seem to capture a control point within my map. :/ Does it need to be worldedit selected to work? Does there need to be a pressure plate on it? So many questions.
-
View User Profile
-
Send Message
Posted Jan 31, 2013org.bukkit.command.CommandException: Unhandled exception executing command 'tf2' in plugin TF2 v2.0.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:980) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:898) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853) at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at me.chaseoes.tf2.Game.stopMatch(Game.java:134) at me.chaseoes.tf2.GamePlayer.leaveCurrentGame(GamePlayer.java:165) at me.chaseoes.tf2.Game.leaveGame(Game.java:284) at me.chaseoes.tf2.commands.LeaveCommand.execLeaveCommand(LeaveCommand.java:34) at me.chaseoes.tf2.commands.CommandManager.onCommand(CommandManager.java:99) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
what just happened i had it working the it broke?
-
View User Profile
-
Send Message
Posted Jan 31, 2013When trying too capture a point it don't see too work.
-
View User Profile
-
Send Message
Posted Jan 30, 2013How do I give some money reward to the winning team?
-
View User Profile
-
Send Message
Posted Jan 30, 2013Please add a Team Deathmatch option! My server players keep bugging me for it and I want it too!
I know how hard it is to code java and make a plugin like this, so take your time!
-
View User Profile
-
Send Message
Posted Jan 28, 2013@Nathan501
Sneak and break the first sign.
-
View User Profile
-
Send Message
Posted Jan 28, 2013are you gona add more game types? besides cp.
-
View User Profile
-
Send Message
Posted Jan 27, 2013When I try to put a potion with the splash potion ID in minecraft wiki, it always turns out as a regular potion. What are the data values for the splash potions on TF2?
-
View User Profile
-
Send Message
Posted Jan 27, 2013I accidently placed the lobby wall somewhere i dident want it by mistake is there any way i can remove the lobby wall?
-
View User Profile
-
Send Message
Posted Jan 26, 2013Newest version while using /tf2 set spawn <map name>. the gui that comes up is wrong, you hit one thing and it does another.
-
View User Profile
-
Send Message
Posted Jan 26, 2013@ZwPBerserk
I can report the same thing with 0 plugins that alter damage. Players can get one hit killed very easily by arrows and swords even when at full health. Also, the plugin seems to have an issue with team fire. I have tested this out. If a blue guy attacks a red guy then another red guy shoots the first red player, This first red player dies, and the blue guy gets the kill for it. This is becoming a big issue. The plugin is not canceling the team damage event properly. This has happened up to several seconds later. I have gotten kills even though I had died, respawned and started running back to the objective.
We also seem to have a memory leak issue with this plugin as well. While the game is in progress the used memory is chewed up quickly then is instantly freed the moment the match is over. The game easily consumed 4 Gigs of memory in just a minute or 2, bringing my server down to 5TPS.
-
View User Profile
-
Send Message
Posted Jan 26, 2013@chaseoes
I've got the same.. and im using Heroes (no mcmmo).
Maybe it conflicts with both? :P
-
View User Profile
-
Send Message
Posted Jan 25, 2013@deleted_7536780
Plugin conflict, something is applying extra damage (mcMMO?).
-
View User Profile
-
Send Message
Posted Jan 25, 2013There seems to be an issue of "Insta" kills every now and then, people dying on 1 hit...
-
View User Profile
-
Send Message
Posted Jan 25, 2013@rasnyderiii
It should work on any Bukkit build above 1.4.