TTT (Trouble In Terrorist Town)
PLEASE DO NOT REPORT BUGS/REQUEST FEATURES IN THE COMMENTS. CREATE AN ISSUE INSTEAD.
What is TTT?
Inspired by the popular Garry's Mod gamemode Trouble In Terrorist Town, this plugin attempts to emulate the game in Minecraft. At the start of a round, players are assigned a role: Innocent, or Traitor. It is the job of each group to eliminate the other. While the traitors are outnumbered, they have the advantage of knowing the role of all players. It will be up to the Innocents to decide who should live, and who's a traitor.
Note: This plugin requires the latest version of Steel.
Documentation (commands, permissions, tutorials, etc.)
Rich Documentation (GitHub wiki)
Legacy Documentation (BukkitDev)
Help, It's Broken!
If you should encounter a bug not listed on this BukkitDev project, please create an issue explaining in detail the bug and the steps taken to produce it. Please include an error log (if applicable), as I generally can't do anything without it. Please refrain from reporting bugs in the comments!
Translating TTT
I've set up a Crowdin page to help organize translations for the plugin. If you speak a language other than English, you can head over and contribute translations which will eventually be included in the plugin. It's really easy to use, and has an intuitive interface to make translating as painless as possible.
bStats/Telemetry
This plugin is designed to submit anonymous usage statistics to bStats.org. This includes a UUID, the Java version, online mode, plugin version, server version, OS version and arch, CPU core count, player count, and metrics version. This may be toggled via the plugin-metrics
config key. Click here to see them.
Additionally, TTT submits anonymous usage data to a remote server. This includes a UUID, the plugin version, the Flint API level, the plugin's operating mode, and summary statistics regarding arenas and rounds. This may be toggled via the enable-telemetry
config key.
Disclaimer
TTT includes an auto-updater which will automatically download new updates to the plugin by default. This may be toggled via the auto-update
key in the config.
External Links
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. Additionally, these builds often undergo little to no testing, so there is no guarantee they will function properly. You can download them here.
PLEASE DO NOT REPORT BUGS/REQUEST FEATURES IN THE COMMENTS. CREATE AN ISSUE INSTEAD.
@EpicTrance
Please create tickets for any errors you may find, as they are easier to manage that way.
New error:
2013-03-26 22:10:22 [SEVERE] Could not pass event PlayerCommandPreprocessEvent to TTT v0.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:958) at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:884) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:841) at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 3 at java.lang.String.substring(Unknown Source) at net.amigocraft.TTT.TTT.onPlayerCommandPreprocess(TTT.java:270) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 16 more
I just followed your tuturial step by step
The thing is the world was already there. idk if it is my multiworld management system
just to be clear the multiworld management plugin doesnt have to know about it?
@EpicTrance
What exactly are you doing to cause this? 0.1.1 was released specifically to patch this issue. TTT maps should only be joined with the plugin's built-in commands, which only allow players to join worlds which have been imported.
but when a player joins the world that is not TTT u get a bunch of errros
this over and over: http://pastebin.com/trtERgnf
@EpicTrance
That would defeat the purpose of the plugin, which is to allow for multiple worlds to be used as maps. When you import a world, the plugin creates a copy of it prefixed by "TTT_". When a player joins a map, the "TTT_" world is loaded, and the player is sent there. Once a game is finished, players are teleported back to the main world (level 0), and the map prefixed by "TTT_" is deleted and replaced by the original folder which was imported in order to roll it back.
@caseif
cant you just make an option in the config which world it uses because it changes the worlds name to TTT_worldname
@EpicTrance
...
That's how the plugin works. You import a world, and when players join a game in that world, it teleports them there.
multiworld support?
@MCForger Add me on Skype: TheFitSoldier
@TheFitSoldier
If I become a helping developer on this project I will be sure to add this feature!
I really hope that there is a sign system being implemented into this soon, like in HG! That's be so cool, really what I'm waiting for! :)
If you need help I would be glad to help as I like this plugin a lot. My Skype is: seanmcdoanld
@dragonic999
The spawn point needs to be set in the NBT data of the world you import. This can be changed manually with NBTEdit, or visually with MCEdit.
I Am Seriously Confused , How Do We Actually Set Spawn And Everything Or We Cant?
This plugin looks awesome! I'm definitely going to try this on my server!
@TheFitSoldier
@TheFitSoldier
That's up to the server owner to put together. I hope to have Survival Games-style signs added by 0.5, so that should hopefully make things easier.
So there isn't some waiting room or lobby?
@SirFloofy
I've never used Multiverse, but from what I understand, you need to import worlds to use them. It's the same with this plugin, so it should cause any problems so long as you don't import a map into both plugins.
Hey,
I'm a bit confused. I currently have 5 maps:
01:24:42 [INFO] ====[ Multiverse World List ]==== 01:24:42 [INFO] Creative - NORMAL 01:24:42 [INFO] world_nether - NETHER 01:24:42 [INFO] World - NORMAL 01:24:42 [INFO] HardcorePVP - NORMAL 01:24:42 [INFO] BuildingWorld - NORMAL
Would adding this plugin pose any issues if I wanted it separate from all the other worlds? :)