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.
thx for a awesome plugin. but i have this problem. when i have teleported to my team hq. it works good, the first time. then it says you can't teleport within 60 seconds of last teleport. so i with 60 sec. when i try again it says. you can't teleport within 60 seconds of last teleport - 10 seconds left. some minutes later i try again, you can't teleport within 60 seconds of last teleport - 3300 seconds left.
awhat should i do?
@vegan88
So do I: Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSkeleton cannot be cast to org.bukkit.entity.Player at me.protocos.xTeam.TeamPvPEntityListener.onEntityDamage(TeamPvPEntityListener.java:37)
Sure the author will fix.
Can you maybe add an option that makes the /team commands work with /t? or /xt? or something other than /team? It conflicts with the /team command from the War plugin,
http://forums.bukkit.org/threads/mech-fun-war-v1-7-1-doolittle-minecraft-pvp-arenas-tdm-ctf-more-1-2-5-r1.250/
Thanks, eriorkless
EDIT:
Damn, /xt works. You're awesome, thanks for being so smart xD
@Magr8326
Yeah I think adding an invite command would be a very good solution.
@iJumbo
I agree about zone protections. If zone protection was added I'd have to look for something else :(
I get the following exception (I think) every time someone fires a bow (at an entity):
2012-05-27 11:44:37 [SEVERE] Could not pass event EntityDamageByEntityEvent to xTeam org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:363) at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:381) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:608) at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:38) at net.minecraft.server.EntityArrow.F_(EntityArrow.java:214) at net.minecraft.server.World.entityJoinedWorld(World.java:1262) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106) at net.minecraft.server.World.playerJoinedWorld(World.java:1244) at net.minecraft.server.World.tickEntities(World.java:1151) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftCreeper cannot be cast to org.bukkit.entity.Player at me.protocos.xTeam.TeamPvPEntityListener.onEntityDamage(TeamPvPEntityListener.java:37) at sun.reflect.GeneratedMethodAccessor233.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:301) ... 14 more
I am using bukkit 1.2.5-R2.0 and xTeam 1.5.2
I absolutely love this plugin. I didn't want factions, and this plugin is a perfect alternative! There is only one problem. "/xteam join Team password" is different than "/xteam join team password" and "/xteam join TEAM". This can be very annoying when there is 50 teams with the same name
Solution 1: Add a feature where you can use "/team invite player" so that players dont join the worng team.
Solution 2: Another way to solve this problem is by auto-matching team names and separating join and create commands
If you are able to implement one of these features into your wonderful plugin, I will be very grateful!
@protocos
I like the fact there is no zone protection, we are still debating whether to switch since it is quite different from factions.
Good job. This plugin is greater than Factions 100x (IMO). My players are going to love it so much when they see this. Please keep it simple and up to date :D
Oh btw will the hq be protected, can a player get the team prefix if he joins, and is there a way to make creating a team costs money?
@SimonWhitePDX
...To set someone up as team admin, after you create the team and they join the team, use '/team promote [name]' to make them an admin for that team. once they're an admin, they can use '/team sethq' to set the team headquarters.
...This is an interesting issue that I can't say I have heard of yet. Could you maybe list a few more details so that I might narrow the issue down? Did you maybe change the config file names somehow?
...I've considered making some sort of help video but as it stands, I don't necessarily consider this plugin completely fleshed out. As soon as it hits a "non-ßeta" stage, then I'll see what I can do.
I can't for the life of me figure out how to set someone to be a team admin and set the head quarters. Help?
Also, I have used the permissions to allows team tele to any user, but when I type it in it says that there are no teammates near me, then says that the closest teammate is X blocks away, my radius is set to the default 500, and this command still says none near at 1 block.
This plugin seems super awesome, but a more in depth set up, maybe a video or something would be legit.
@iJumbo
Understandably since as of right now, there is no land protection. I aim to rectify this soon with a highly moderated system but it may take some time. See previous post...
@zoomafou
This is something of a future goal for the plugin - to have a manageable land protection with much more moderation than something like towny, factions, or residence. While, for instance, I enjoy some security from the land protection while I'm on the server, I believe it doesn't support an atmosphere of PvP very well, so ideally, when I have it finished, it will be something like a rent system where you have to 'maintain' your land through paying for it.
Looks awesome, may make the switch from factions to teams but my community may not like it.
Any chance you would be able to hook into WorldGuard or something similar with this? So when you make an area you can assign it to a team.
@TheSandwichMakr
Heh, thanks for that, I should be working on the plugin in the next few days now that school is all but finished for the summer. Thanks for the tip.
I found a small typo. When typing any xTeam command in a world it is not enabled in is says xTeam is diabled in this world. Theres no "s" in disabled.
@tachohentai
@QweSteR2221
This is a new bug with 1.5.2 when trying to typecast a Ghast to a Player. I do not believe it should hinder gameplay but I will have it fixed in the next update.
@Requadin
It's an interesting Idea but it would require having to modify the way the plugin saves information. I'll definitely consider it.
@QweSteR2221
me too T_T
Hey man, thank you for this awesome plugin. But I'm suggesting you to make a "Team Death Spawn" feature. I mean just like /team hq but when a player dies, it teleports him to death spawn of the team. Every team has a different deathspawn. That could be used to build Team Hospitals etc. I hope you can do something like that.
Edit: By the way, I'm using this plugin instead of the other guild plugins. I have two nations. Every player joins one of them randomly and automatically. /town makes them teleport to their own castle and the players which are in the same nation cannot harm each other. It's kinda free-build but it gets more dangerous as long as you go far far away from your nation's castle. That's a really good way to have the Survival-Freebuild-PVP features in the same time. That's a RPG server and i have a special Language file which changes You died -> You're Unconscious and Respawn->Try to open your eyes. That's way i need a deathspawn for each team. It allows players to "find themselves after the unconscious time" in the hospital of their castle.