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 Aug 27, 2012When i use the command /xt open. There stands: Open joining is now enabled. But when someone try to join the team, there stands: The team has not invited you.
How can i make a team open joining so everybody can join without a invite?
I hope you know the awnser :)
-
View User Profile
-
Send Message
Posted Aug 26, 2012@OliverDollar
Right, this is definitely a problem at the top of the list of fixes. I am trying to rectify this and the saving issue as soon as possible, however this is a bit of a busy time of year what with the fall semester starting and also nearing the end of a development cycle on a project at work. I am still going to be as attentive as I can with this project but all I ask is that y'all have a little patience with me until things settle...
@lovemeseriously
:D You made my day.
-
View User Profile
-
Send Message
Posted Aug 26, 2012/me tosses factions out the window
-
View User Profile
-
Send Message
Posted Aug 26, 2012@protocos
Thank you for the reply, that sort of feature was pretty much what I needed. However I am having some trouble with the default teams, I have set the ones I want but when I add someone to one of the teams it creates a new team as if it is not aware of the default ones. Is there something I need to enable for the default teams?
Thanks for your help.
-
View User Profile
-
Send Message
Posted Aug 24, 2012@Benas1
Saving should work fine for 99% of users right now. Only the servers that use the 'default' teams might have problems. Default teams are teams that you can specify in the config like red,blue,green or whatever. They don't have leaders and can't be deleted if they don't have players. Those are the ones that aren't saving properly in 1.6.4 but they should in 1.6.5...
-
View User Profile
-
Send Message
Posted Aug 24, 2012@protocos
Is there something we should worry about? Teams aren't saved? It looks like everything works fine for me :c
-
View User Profile
-
Send Message
Posted Aug 24, 2012@Benas1
Actually it is the same kind of NullPointerException error, but at a different point in the code. Nothing to do with plugin conflicts, just slight carelessness on my part. I forgot to add a check to see if the wolfie's owner even had a team. Should be fixed in the next update along with the saving issue.
-
View User Profile
-
Send Message
Posted Aug 24, 2012With 1.6.4 still getting this error:
18:45:07 [SEVERE] Could not pass event EntityDamageByEntityEvent 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.callEvent(CraftEventFactory.java:80) at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:364) at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:386) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:591) at net.minecraft.server.EntityAnimal.damageEntity(SourceFile:124) at net.minecraft.server.EntityWolf.damageEntity(EntityWolf.java:169) at net.minecraft.server.EntityHuman.attack(EntityHuman.java:762) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1020) at pgDev.bukkit.DisguiseCraft.injection.DCNetServerHandler.a(DCNetServerHandler.java:25) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) 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.TeamPvPEntityListener.onEntityDamage(TeamPvPEntityListener.java:44) at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 22 more
Maybe other plugins are conflicting or something?
-
View User Profile
-
Send Message
Posted Aug 23, 2012UPDATE: Ok so I realized a day after releasing 1.6.4 that it had a small bug with default teams not saving properly with the new format. I am currently in the process of fixing this and testing it. If anyone has any other bugs that they know of, post them here so I can push them out to 1.6.5...
@CheeseBallz02
I am a fan of mediafire, but not a fan of outside linking necessarily since I do appreciate the aggregated statistics on the dev site here. That said, it shouldn't usually take very long after I post it for it to be up.
@kittsfu
Good point, I hadn't even thought about it... There is now a donation link at the top of the page for those benevolent souls out there. :)
@xxCoderforLife
Thanks!
@OliverDollar
I do have a system for what is known as "default" teams which has a few configurable options in the config. For the 'defaultteams' config option you specify something like defaultteams=red,blue,green,yellow and these teams won't get deleted. There are a few admin commands that you can check out above that detail what a server admin can do for these teams (like setting the headquarters). There are even more specific options if you need them such as requiring a player to join default teams and forcing the teams to balance when a player joins. If necessary though, you can set the team of a player using the '/team set [player] [team]' command. Hope that helps a little... If you have any other questions, feel free to leave them here.
-
View User Profile
-
Send Message
Posted Aug 22, 2012Is there anyway to have a team without a leader that will not be deleted if the team has no players in it? I am using this plugin to assign players to two different teams for an arena and I'm unable to keep two teams running when there are no players in the teams. As an alternative is there a way that an admin/OP can be the leader of several teams?
Thanks.
-
View User Profile
-
Send Message
Posted Aug 22, 2012Very Nice Plugin :D
-
View User Profile
-
Send Message
Posted Aug 21, 2012I dont see a donation button. Isn't it time to get one?
Perhaps there's people who base their minecraft server around this plugin, and whom wishes to give something small to motivate your work.
-
View User Profile
-
Send Message
Posted Aug 21, 2012Cant you just upload the lastest to mediafire for now?
-
View User Profile
-
Send Message
Posted Aug 21, 2012Ok, so I just posted 1.6.4 to the files page and it's currently pending approval from the forum mods. Just a heads up and clarification, I did update the way that the plugin reads/writes information to the save file to a much more modular format which should help in the future if/when more data needs to be saved for each team. This should NOT render your old save files incompatible since I wrote in a function that should translate the old save files to the new... But just in case, I would recommend backing up your save file for good measure.
Also, there were a few additions in the latest update that I tested as much as I could, but still might have a few bugs that I missed. I'll be watching the comments today and tomorrow to see if anyone comes back with anything peculiar... So as always, continue to be awesome and post questions, comments, concerns, bugs, suggestions or anything down below...
P.S. Regarding any suggestions: If I haven't added it yet, it doesn't mean I won't... but maybe in a future update. Some things take longer than others and if an idea/suggestion gains enough popularity or attention, I will make it a higher priority.
@Sypher40
:D Awesome!
-
View User Profile
-
Send Message
Posted Aug 20, 2012YES! PERFECT! This will be the base plugin for a Army PvP server, like Call of Duty or Modern Warfare.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@Benas223
I believe I fixed this, but I'm still adding/tweaking for the next update so stay tuned.
@lovemeseriously
Don't know if 'peaceful' team works in hardcore PvP servers, but maybe team leaders should be the only ones who can declare war...
@ZenRumiko
Interesting idea and I'll consider it to a point but keep in mind that the original purpose of this plugin was for survival PvP and not necessarily red/blue team deathmatch... That said, it's not necessarily off the table.
@re4397 @mrcashking228
As far as I know, the most recent update should still work with 1.3-RX.0. Both of the posts here and here suggest that things shouldn't just break. Having said that, I should have an update soon.
-
View User Profile
-
Send Message
Posted Aug 20, 2012Does this work 100% with 1.3?
-
View User Profile
-
Send Message
Posted Aug 17, 2012This Plugin is great, I think it would be a good idea to add something(/setKillsToWin) to it that lets you set an amount of kills for the team's to get, and one that limit is reached a chat message pops up saying "Blue team has Won" or whatever the name of the team was. Then the kills Would Reset and it Would teleport everyone into their bases and start again. You could also have the chat update when they were ten kills off or 1 kill off. Also You should add something like (/resetGame) which does the end game thing whenever. Anyway just some ideas I had.
-
View User Profile
-
Send Message
Posted Aug 12, 2012I am waiting for a update to v1.3
-
View User Profile
-
Send Message
Posted Aug 11, 2012hey, just an idea here. What if you made it so the pvp between teemates can be toggled by the leader of the group? the part in the config would just be the default and such. and maby even allow the choice of completely turning off pvp if the team decides to be a peaceful team?