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 17, 2012@chaseoes
Alright I seem to have fixed most bugs by deleting specific lines in the config for buttons that no longer exist, but now when the game is about to start I get this spammed, after the countdown.
Craftbukkit build: 2476
-
View User Profile
-
Send Message
Posted Nov 17, 2012It wont let me do /tf2 or anything that involves the tf2 plugin.
-
View User Profile
-
Send Message
Posted Nov 17, 2012My config is empty...
-
View User Profile
-
Send Message
Posted Nov 17, 2012@WizardCM
Are you using Craftbukkit? What Java version? Are you sure each of the enabled-maps in data.yml have corresponding .yml files and are setup correctly? Can you upload every file in the TF2 folder to Pastebin?
-
View User Profile
-
Send Message
Posted Nov 17, 2012@chaseoes
Still as many errors as before.
-
View User Profile
-
Send Message
Posted Nov 17, 2012VERSION 1.4 UPLOADED!
Download: http://dev.bukkit.org/server-mods/team-fortress-2/files/5-v1-4/
If you've been having problems please try this version first, and if you still have a problem/error, post it here along with the link that /tf2 debug provides you.
-
View User Profile
-
Send Message
Posted Nov 17, 201217:02:58 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'tf2' in plugin TF2 v1.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 5) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:5 02) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler. java:917) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:835)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:812) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:112) at net.minecraft.server.ServerConnection.b(SourceFile:39) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NullPointerException at me.chaseoes.tf2.GameUtilities.joinGame(GameUtilities.java:80) at me.chaseoes.tf2.commands.JoinCommand.execJoinCommand(JoinCommand.java :81) at me.chaseoes.tf2.commands.CommandManager.onCommand(CommandManager.java :92) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
-
View User Profile
-
Send Message
Posted Nov 17, 2012Please link me some map downloads!
-
View User Profile
-
Send Message
Posted Nov 17, 2012@chaseoes
i like the quality bug report the most :D
-
View User Profile
-
Send Message
Posted Nov 16, 2012Found a large fixable bug. It allows you to keep your TF2 items
How to reproduce:
This teleports you back to the sign lobby, allowing you to keep all your items and have godmode.
-
View User Profile
-
Send Message
Posted Nov 16, 2012@chaseoes
I found the issue. One of the arenas had a . at the end of the name in the arena yml file. (MineCo..yml)
This was the only spot the issue appeared. You should have the plugin check if there are invalid characters in the name of the arena, verifying the name of the arena is a possible name. Also the issue with the lobby wall sign seems to have dissapeared now. however, the arena with the . on it was the second to last created, and I had the lobby wall sign issue right from the creation of the first one. Not sure what was going on there but it seems to have worked itself out.
-
View User Profile
-
Send Message
Posted Nov 16, 2012@Redstoner_Pro
Can you upload the .yml file for your map to Pastebin?
@thomasvt1
Oh. Now you see the differences between the quality of bug reports. :P
-
View User Profile
-
Send Message
Posted Nov 16, 2012There seems to be an issue with this plugin on my server. I create the arena's exactly as it says in the tutorial section. Everything works great untill the final step where u create lobby sign. I place the sign, it says its created, but does not update the lobby wall. If i do a /tf2 join mapname, it tp's me to the lobby but tosses a - "an error has occured. Check console" message. I am able to get the signs to work by restarting server, then recreating signs. upon second creation they seem to work. That is, untill this last arena. I did everything as I have done before with he last 4 arenas, however this time I cannot get the lobby wall to create right. Now while looking at my server, I see it spamming a message -
2012-11-16 14:13:34 [WARNING] [TF2] Encountered an error while trying to update the lobby wall. This is usually harmless, make sure you have correctly set it with enough signs.
I know the lobby wall had/has enough signs on it. I restarted the server to see if it would fix this and now i get this error -
2012-11-16 14:31:16 [SEVERE] Error occurred while enabling TF2 v1.3 (Is it up to date?) java.lang.NullPointerException at me.chaseoes.tf2.capturepoints.CapturePointUtilities.getIDFromLocation(CapturePointUtilities.java:49) at me.chaseoes.tf2.Map.<init>(Map.java:21) at me.chaseoes.tf2.TF2.onEnable(TF2.java:53) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:272) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:254) at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:311) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:290) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:249) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:141) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:391) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
Any Idea of what is going on and any way to fix the wall sign creation issue?
-
View User Profile
-
Send Message
Posted Nov 16, 2012@chaseoes
you said that a few messages ago
"@LaxWasHere: Go
Now, this, is a quality bug report. :D
Will be fixed in the next version."
-
View User Profile
-
Send Message
Posted Nov 15, 2012Is it ok to over lap arenas?
-
View User Profile
-
Send Message
Posted Nov 15, 2012that would be awesome
-
View User Profile
-
Send Message
Posted Nov 15, 2012Can you make a Vampire Survival Plugin? Like the mini game Hypixel made, except a plugin, not redstone. Plus, I have a server you could test it on.
-ElectroidFilms
-
View User Profile
-
Send Message
Posted Nov 15, 2012i dont see a tutorial
-
View User Profile
-
Send Message
Posted Nov 15, 2012@tallster
The configuration. But how can you not like the sound of a dead cat!?
@tallster
Read the tutorial.
-
View User Profile
-
Send Message
Posted Nov 15, 2012and How do you make a class a donator class?