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.
@chaseoes
Help isn't working...and how do we remove maps or capture points?
Also, Wall still isn't updating.
@kyledag500
You need more signs on your lobby wall.
@superpeanut911
/tf2 help worked perfectly when I tested it. :| I'll have to fix it.
@kyledag500
Error looks like you don't have any capture points defined for a map. Make sure all your maps have at least two.
@bob7l
What do you think causes them? I've been unable to reproduce anything.
@CrazyToyKiller
Not using factions. Is anyone else having a PVP bug?
2012-11-04 21:29:06 [WARNING] [TF2] Task #199 for TF2 v0.1 generated an exception java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign at me.chaseoes.tf2.lobbywall.LobbyWall$2.run(LobbyWall.java:204) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:531) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:495) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:428) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
Everything works for me. Other than /tf2 help. It just throws lots of NPEs but sitting here with 20+ players online facing no visual gameplay issues
Ideas: 1. Add a map cycle. My server is full of games, and not everyone plays TF2. So the games are never full. I don't want 6 people in map 1, 4 people in map 2, and 7 people in map 3, it would be better to have a full map. 2. Make sure the world that TF2 is in is always daytime, and not raining.
Also, the wall doesn't seem to be updating properly..
Seems to be causing a bit of lag to my server...or maybe it's TagAPI?
Console:
http://pastebin.com/UDDNiPrB
Hey can you upload the source so i can fix my issues? I think ik whats causing the time issues.
@chaseoes
04.11 11:41:16 [Server] INFO java.lang.NullPointerException 04.11 11:41:16 [Server] WARNING [TF2] Task #947 for TF2 v0.1 generated an exception 04.11 11:41:16 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) 04.11 11:41:16 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419) 04.11 11:41:16 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:486) 04.11 11:41:16 [Server] INFO at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) 04.11 11:41:16 [Server] INFO at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:522) 04.11 11:41:16 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 04.11 11:41:16 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53) 04.11 11:41:16 [Server] INFO at me.chaseoes.tf2.capturepoints.CapturePoint$2.run(CapturePoint.java:81) 04.11 11:41:16 [Server] INFO at me.chaseoes.tf2.capturepoints.CapturePointUtilities.locationIsCapturePoint(CapturePointUtilities.java:72) 04.11 11:41:16 [Server] INFO java.lang.NullPointerException
@CrazyToyKiller
It's not a permission problem, their getting stuck in the lobby because the lobby timer gets stuck.
@bob71 do you use groupmanager or permissionsex
@bob7l
nope, i got war as other "fight" plugin
@CrazyToyKiller
I've done that.. How else would they join..
@bob71 you have to give the group tf2.play so they can do /tf2 leave
@thomasvt1
Yup! Thank god! I was starting to think i was the only one.. do you have any of those plugins i listed below?
New bugs with the latest version:
/tf2 help (doesn't work)
/tf2 leave (doesn't work)
/tf2 disable (hardly works)
@bob7l
my timers are getting hanging on 5 minutes and spamming the players
Hey, the timers keep getting stuck for no reason at all, I'm starting to suspect a plugin is canceling their schedulers.
Is anyone running a server fine with the following plugins?
SurvivalGames
pvparena
@thomasvt1 go here to fix the faction To Fix The No Damage On Faction Members
uhh, got some buggs,
1. players in same faction no damage 2. players keep creative, please use player.setGamemode 3. red = defending and blue = attacking