xTeam

xTeam Plugin
Brief Description
xTeam is a team-based PvP plugin that allows for creating and joining teams, setting a headquarters and various other features. It is meant for use on hardcore PvP servers where land is not protected.
This is a mod I've been working on for some time. Initially I figured a mod like this would be made eventually and I would just switch to using the alternative instead of mine but surprisingly I haven't quite found an equivalent. Factions is nice but if you want more of a 'hardcore' team plugin, then this mod is for you.
____________________________________________________________________________
!!! IMPORTANT !!!
Version 1.8.1 of the plugin contains an Anonymous Error Reporting feature for sending errors directly to me when they are thrown.
This feature does not reveal any private information. In fact the only one thing that could possibly identify the client is encrypted even from me. The benefit of this feature is that I can see which errors are happening the most and fix them more quickly. Having said that, there is an option in the configuration file to disable this feature by setting 'anonymouserrorreporting = false' if you feel so inclined. Just know that if this is disabled, I will not be able to see what errors are happening frequently from your server.
____________________________________________________________________________
Command Aliases: '/team', '/xteam', '/xt'
Command Parameters: {optional} [required] pick/one
Features
- create and join teams
- get info for any team
- change the team tag
- set a headquarters
- rally team to a location
- teleport to teammates and headquarters
- teleport to return location that is saved upon using any of the other teleport functions
- teleport to rally location set by team leader
- promote and demote players to use team admin commands
- team chat function to toggle between team chat and regular chat
- disable friendly fire
- wolves can be team members too!
- default teams for automatic joining on login
Team User Commands
- /team - main help menu for xTeam
- /team {help} {Page} - user help page for xTeam
- /team info {Team/Player} - get team info or other team's info
- /team list - list all teams on the server
- /team create [Name] - create a team
- /team join [Team] - join a team
- /team leave - leave your team
- /team accept - accept the most recent team invite
- /team hq - teleport to the team headquarters
- /team tele {Player} - teleport to nearest or specific teammate
- /team return - teleport to saved return location (1 use)
- /team rally - teleport to team rally location
- /team chat {On/Off} - toggle chatting with teammates
- /team message [Message] - send message to teammates
Team Admin Commands
- /team sethq - set headquarters of team
- /team invite [Player] - invite player to your team
- /team promote [Player] - promote player to team admin
Team Leader Commands
- /team demote [Player] - demote team admin
- /team disband - disband the team
- /team open - open team to public joining
- /team remove [Player] - remove player from your team
- /team rename [Name] - rename the team
- /team tag [Tag] - set the team tag
- /team setleader [Player] - set new leader for the team
- /team setrally - set rally point for the team
Server Admin Commands
- /team chatspy - spy on team chat
- /team debug {Option} - server admin debug menu for xTeam
- /team disband [Team] - disband a team
- /team demote [Team] [Player] - demote team admin
- /team hq [Team] - teleport to team headquarters for team
- /team promote [Team] [Player] - promote player to admin
- /team remove [Player] [Team] - remove player from team
- /team rename [Team] [Name] - rename a team
- /team tag [Team] [Tag] - set team tag
- /team open [Team] - open team to public joining
- /team set [Player] [Team] - set team of player
- /team sethq [Team] - set team headquarters for team
- /team setleader [Team] [Player] - set leader of team
- /team setrally [Team] - set team rally point for team
- /team teleallhq - teleports everyone to their headquarters
- /team tpall [Team] - teleports a team to yourself
Console Commands
- team {help} - console help menu for xTeam
- team debug {Option} - console debug menu for xTeam
- team demote [Team] [Player] - demote team admin
- team disband [Team] - disband a team
- team info [Player/Team] - get info on player/team
- team list - list all teams on the server
- team promote [Team] [Player] - promote player to admin
- team remove [Player] [Team] - remove player from team
- team rename [Team] [Name] - rename a team
- team tag [Team] [Tag] - set team tag
- team open [Team] - open team to public joining
- team set [Player] [Team] - set team of player
- team sethq [Team] [World] [X] [Y] [Z] - set headquarters of team
- team setleader [Team] [Player] - set leader of team
- team setrally [Team] [World] [X] [Y] [Z] - set rally point of team
- team teleallhq - teleports everyone to their headquarters
Permission Support
- Supports bukkit SuperPerms (PermissionsEx, PermissionsBukkit, and bPermissions, etc.)
Permissions Nodes
- xteam.core.user.accept - Allows team users to accept an invitation
- xteam.core.user.chat - Allows team users to chat/msg their team
- xteam.core.user.create - Allows team users to create a team
- xteam.core.user.headquarters - Allows team users to teleport to headquarters
- xteam.core.user.info - Allows team users view team info
- xteam.core.user.join - Allows team users to join a team
- xteam.core.user.leave - Allows team users to leave a team
- xteam.core.user.list - Allows team users to list all team names
- xteam.core.user.return - Allows team users to return to saved location
- xteam.core.user.rally - Allows team users to rally to a location
- xteam.core.user.tele - Allows team users to teleport to teammates
- xteam.core.user.* - All team user core commands
- xteam.core.admin.invite - Allows team admins to invite other players
- xteam.core.admin.promote - Allows team admins to promote teammates
- xteam.core.admin.sethq - Allows team admins to set a headquarters
- xteam.core.admin.* - All team admin core commands
- xteam.core.leader.demote - Allows team leaders to demote teammates
- xteam.core.leader.disband - Allows team leaders to disband a team
- xteam.core.leader.open - Allows team leaders to open team to public
- xteam.core.leader.remove - Allows team leaders to remove players
- xteam.core.leader.rename - Allows team leaders to rename team
- xteam.core.leader.setleader - Allows team leaders to set leader of team
- xteam.core.leader.setrally - Allows team leaders to set rally point for the team
- xteam.core.leader.tag - Allows team leaders to set team tag
- xteam.core.leader.* - All team leader core commands
- xteam.core.serveradmin.chatspy - Allows server admins to spy on team chat
- xteam.core.serveradmin.debug - Allows server admins to debug the plugin
- xteam.core.serveradmin.disband - Allows server admins to disband a team
- xteam.core.serveradmin.demote - Allows server admins to demote a player on a team
- xteam.core.serveradmin.hq - Allows server admins to teleport to any headquarters
- xteam.core.serveradmin.promote - Allows server admins to promote a player on a team
- xteam.core.serveradmin.reload - Allows server admins to reload the configuration file
- xteam.core.serveradmin.remove - Allows server admins to remove player from a team
- xteam.core.serveradmin.rename - Allows server admins to rename a team
- xteam.core.serveradmin.tag - Allows server admins to set team tag
- xteam.core.serveradmin.open - Allows server admins to open a team to the public
- xteam.core.serveradmin.set - Allows server admins to set the team of a player
- xteam.core.serveradmin.sethq - Allows server admins to set the headquarters of a team
- xteam.core.serveradmin.setleader - Allows server admins to set the leader of a team
- xteam.core.serveradmin.setrally - Allows server admins to set the rally point of a team
- xteam.core.serveradmin.teleallhq - Allows server admins to teleport everyone to their headquarters
- xteam.core.serveradmin.tpall - Allows server admins to teleport a team to current location
- xteam.core.serveradmin.* - All server admin commands
- xteam.core.* - All core commands
Configuration
Contains data that the plugin uses universally - feel free to change the values to suit your needs. Also contains the permission nodes for the plugin. Use these inside whatever permissions plugin you desire to enable or disable commands for certain people or groups.
NOTE: As this project is still in Beta stage, I will be adding/changing features until I'm satisfied with the basic functionality of the plugin. For updating to a newer version of the plugin, check to see whether there are any configuration file changes. If so, you will want to reload the configuration file or add the new options yourself.
FAQ
Many of the frequently asked questions about the plugin.
Source Code Repository
Feel free to download the current source code at https://github.com/protocos/xTeam/
Links
Donations
I work on this project in my spare time and I will always have a love for Minecraft no matter what, but it certainly does make me smile when people feel like contributing. Donating to the project helps encourage me to continue providing support and feedback to all of you awesome peoples! If you feel like helping out, there's a link at the top right of the page. ;)
Bug Reports
Please leave any questions, comments, concerns, and potential bugs in the comments. I will try to squash them when I can. Having said that, I am a real human being, so if the bug is not fixed right away, please be patient.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@Nazerbs
Well, see the problem with removing everyone from a team at once is that once a team is empty, it is automatically disbanded... The only way that teams save without players on them is if they are default teams.
-
View User Profile
-
Send Message
Posted Sep 10, 2012@protocos
Ok, that does not help much. But i have found a way around my problem anyway :D
Thanks for the plugin, Naz
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Nazerbs
I am thinking that this would be similar enough to something like '/team remove [team]' which I will be adding in a future update. Hope that helps...
-
View User Profile
-
Send Message
Posted Sep 9, 2012Hey could you just add a admin command to remove all members from a team, when people are being abusive they are going to lose all there members and have to start again. Thanks, Naz
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Flurry33
The best way to reset everything including config options and delete all teams is to delete the folder "xTeam" in the "plugins" folder.
-
View User Profile
-
Send Message
Posted Sep 7, 2012How do I reset the plugin completely.
-
View User Profile
-
Send Message
Posted Sep 4, 2012@lovemeseriously
Honestly there's not much I can do about it besides research the issue and see if any other plugins handle teleports differently. This is an issue I have had with Minecraft for a while that's not really specific to any plugin code. I'll see what I can dig up.
@lompelap1
I'll look into it...
@KAJSERCRAFT
This bug shouldn't be an issue at all since the part of code that it is in had not been implemented yet. I'll get rid of the error though.
-
View User Profile
-
Send Message
Posted Sep 4, 2012@DavMicrofix
Good idea, I think I might add '/team remove [team]' to the console commands too..
@ollieri3
Yes, as it stands, the team tag feature is very rudimentary right now and simply reflects the teams name exactly.
@KAJSERCRAFT
'/team accept' - nice. Probably gonna be in the next update then.
-
View User Profile
-
Send Message
Posted Sep 3, 2012@lompelap1
When i reload the server, or restart. all the default teams HQ point is gone...
-
View User Profile
-
Send Message
Posted Sep 3, 2012I use default teams, I got 2. Devils & Angels.
But everytime i set the HQ at a point and I relog/reload, the HQ point is gone. I only have this problem with team Devils. I hope you know the awnser :)
-
View User Profile
-
Send Message
Posted Sep 1, 2012hey, im not sure why but whenever a player types /team hq sometimes, they fall out into the void and die. I think it may be because the hq is set right next to bedrock level but is there a way to prevent trhis?
-
View User Profile
-
Send Message
Posted Sep 1, 2012Loving this plugin, but is there a chance you could add in an Accept Invite command so when you get invited to a team instead of typing /team join teamhere you can type /team accept teamnamehere its more intuitive. And in the config could you allow us to edit the error messages, i like freedom over that sorta stuff. Anyways GREAT plugin and thanks a ton!
Regards
P.S. I got this bug in my console i think it may be from xteam:
... 21 more at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) at java.lang.reflect.Method.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.GeneratedMethodAccessor2925.invoke(Unknown Source) at me.protocos.xTeam.TeamScoreListener.onEntityDeath(TeamScoreListener.java:33) Caused by: java.lang.NullPointerException at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at pgDev.bukkit.DisguiseCraft.injection.DCNetServerHandler.a(DCNetServerHandler.java:25) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1020) at net.minecraft.server.EntityHuman.attack(EntityHuman.java:762) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:349) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:663) at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:307) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:322) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) org.bukkit.event.EventException
-
View User Profile
-
Send Message
Posted Sep 1, 2012With latest xteam version:
20:27:57 [SEVERE] Could not pass event PlayerDeathEvent to xTeam org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) 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 org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:322) at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:307) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:663) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:595) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:349) at net.minecraft.server.Entity.z(Entity.java:297) at net.minecraft.server.EntityLiving.z(EntityLiving.java:263) at net.minecraft.server.Entity.h_(Entity.java:216) at net.minecraft.server.EntityLiving.h_(EntityLiving.java:435) at net.minecraft.server.EntityHuman.h_(EntityHuman.java:158) at net.minecraft.server.EntityPlayer.g(EntityPlayer.java:203) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:128) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.protocos.xTeam.TeamScoreListener.onEntityDeath(TeamScoreListener.java:33) at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 22 more
-
View User Profile
-
Send Message
Posted Aug 31, 2012@protocos
Hi again just wondering. Do you have to set the team's tag or is it done automatically. And I very much agree with your comment about land protection below. I do hope you implement that feature. Also keep up the good work I love this plugin :)
-
View User Profile
-
Send Message
Posted Aug 31, 2012Is there a other way to remove a compleet team without removing all the players from the team . Like one admin command to remove a compleet team /team delete [teamname] or something
-
View User Profile
-
Send Message
Posted Aug 30, 2012@Jesse_Cogan
RIght, and I've thought about this, but trying to think about the future of the plugin, I think it would cause confusion in the long run. Mainly because when someone logs onto a server, they would probably start asking if this is xTeam land protection or no land protection... I've considered that maybe if it was a separate .jar file that maybe that would clear some of the confusion. That way they could use /plugins to see if xTeamLandProtection.jar was included or something like that. If I add land protection, methinks this would probably be the best course of action.
-
View User Profile
-
Send Message
Posted Aug 30, 2012Instead of having a poll on land claiming or not. You should make land claiming toggle in the config?
-
View User Profile
-
Send Message
Posted Aug 30, 2012@tin54321
Mi español no es muy bueno, pero lo intentaré ... Tienes que poner el "xTeam.jar" dentro de la carpeta "plugins" en la carpeta del servidor Bukkit. Luego, cuando se inicia el servidor, debe cargar el mod.
@lovemeseriously
Hmm, so this is the second report I've heard that the timer continues even after the server should have removed the TaskID... It's one of the more difficult bugs to diagnose since I can't duplicate it. I will keep on the lookout for issues with this and stay on the hunt for it but I can't really tell when it will be fixed. I may eventually just rewrite that function from the ground up and try to diagnose as I go... We'll see.
@GeBoMac
Hopefully it will continue to get better! ;)
@ollieri3
Good idea! I've done this before and some mods are just completely unhelpful but I may be able to find something useful in another mod and replicate it... I'll look into the invite/open problem.
-
View User Profile
-
Send Message
Posted Aug 30, 2012@protocos
Ah I see. Could you perhaps look into how factions bypasses it ? Also I have a problem where people can only join a team if the team in open. Invites don't allow the person to join. Any idea on this ?
thanks
-
View User Profile
-
Send Message
Posted Aug 29, 2012I love this plugin, much better than factions