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 Dec 24, 2012@FuSe18
I actually uploaded 1.7.0 about an hour or two ago, but the admins have yet to approve it. If the errors aren't fixed lemme know and I'll release another patch.
-
View User Profile
-
Send Message
Posted Dec 24, 2012how about a quick release? then a follow up really need the errors fixed now
-
View User Profile
-
Send Message
Posted Dec 24, 2012@deleted_8579151
Today, wrapping up a few things...
-
View User Profile
-
Send Message
Posted Dec 24, 2012When you will realse the new update ? The plugin realy help to my server and the errors in the latest versions crash my server.
-
View User Profile
-
Send Message
Posted Dec 23, 2012Will do im good at reporting all bugs! lol wouldnt be a successful server if i didnt
-
View User Profile
-
Send Message
Posted Dec 22, 2012@FuSe18
So I actually fixed this when I refactored all of the command classes. It now checks for enemies more safely now. Thanks for the tip. Keep posting if you find new things. I'll have 1.7.0 out by the 24th...
-
View User Profile
-
Send Message
Posted Dec 22, 2012Heres the new error for you when typeing /team hq
2012-12-22 18:01:58 [INFO] Zackamac issued server command: /team hq 2012-12-22 18:01:58 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'team' in plugin xTeam v1.6.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:980) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:898) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853) at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/entity/CraftPlayer at me.protocos.xTeam.CommandInterpreter.HQ(CommandInterpreter.java:306) at me.protocos.xTeam.xTeam.onCommand(xTeam.java:295) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
-
View User Profile
-
Send Message
Posted Dec 22, 2012Right, Hey guys. I am sure you have all been wondering where I have been for the past few months, so here's a quick update. This has probably been my toughest semester, as a junior in college, as of yet. Specifically the programming studio class I was taking required a large portion of my time for working on group projects. My time was divided somewhere between programming studio, a 20-hour per week job I recently got, and if nothing else, homework.
Unfortunately I have left you all in the dark when it comes to xTeam, and for that I am truly sorry. At the beginning of the semester it seemed that I would be able to have a little time on the side for working on this project but unfortunately I have had little to none. Now that the semester has been over for a week or two though, I've been steadily progressing on a 1.7.0 build. With help from my special other on our private server, I have also been able to play-test some of the features/fixes that I have been adding/refactoring so hopefully they will come out even better than before.
I am hoping that some of the experience in programming studio will help as far as project management goes. For that matter, maybe some of the things I learn at work will help. Essentially what I have been doing is going back through old code and refactoring it entirely into new classes and adding more objects as needed. Mostly, this will turn the code into something that readable and usable. As of 1.6.5, it was getting a bit unruly to edit one file that held almost 2000 lines of code. Having said that I understand the need/want for new features and I will look into adding as much of these as possible.
In addition, since I have been a rather rude developer these last few months, (for which I am terribly sorry) I will try to go back through all of the messages and address each one. I may not respond directly to them, but I will at the very least make note of them in a project log I've been using.
Once again, sorry about any confusion I have been leaving here. It has been eating at me as well. At this rate I hope to release a newer stable 1.7.0 build by December 24 if anyone was wondering. I should mention though: Since I did a ton of refactoring to get it where it is, it will most likely have some bugs still lurking around, so feel free to post them in the comments so I can address them.
P.S. That stupid bug about the death event has been removed (sorry guys, I know it has been flooding logs)
TL;DR Very busy with work+school+programming studio, didn't have much time to work on the project this semester, been working on a stable 1.7.0 build to release on December 24.
EDIT: Ok so I've read through the messages since I last posted.
• I've seen a few relating to public source code. I do plan to do this, but just not at the moment. If you want to be able to use/change/build a new version you can use JD-GUI decompiler for now. Sorry, it's just not the highest priority. If it is any comfort, I am not abandoning the project... I was just a little busy this semester.
• I've also see the multiple logs about the playerDeathEvent. I want to thank each and every one of you for posting since I did say to in the original plugin description. xD I just want everyone to know that this has been fixed for 1.7.0. It was a dumb mistake on my part that shouldn't have affected any servers in ways other than a complete annoyance in the console.
• A War/Ally system is an option that is definitely on the table, but once again, not the highest priority. I will get to this eventually.
• I believe I fixed most of the default team errors, but if anyone notices anything after 1.7.0 please let me know.
• I am not sure about translations since I am only good in english. Once I make the source public, hopefully someone might be able to help with other languages.
• A team locations system is also another large addition that is on the table, but again not the top priority. Eventually I hope to be able to store team locations that all team members can see and navigate to (possibly warp to, but I haven't decided - I might just leave that up to the server admins).
• Team rallying is another thing that I plan on doing soon. We'll get there.
• @Benas1, @FuSe18 Sorry about the absence. I'll be releasing another build soon.
• @MrThunder_ I will probably do land protection as it's own add-on plugin in a separate jar file. I do plan to make it as simplistic and NOT overpowered as possible. But to each their own... It would be left up to the server admins to add in the jar if they want.
I hope this answers some questions. If anyone has anything else they want to ask me, feel free.
-
View User Profile
-
Send Message
Posted Dec 18, 2012We've decided your plugin is to good to switch from we figured wed give you another week before changing! I hope to see this plugin sooner as the new bug is here for you.
once the errors pop up and i can catch it ill post it for you.
Thanks for your time
-
View User Profile
-
Send Message
Posted Dec 17, 2012Another error for your plugin 2012-12-17 19:17:07 [SEVERE] Could not pass event PlayerDeathEvent to xTeam v1.6.5 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) 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:335) at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:253) at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:730) at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:605) at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:306) at net.minecraft.server.EntityHuman.attack(EntityHuman.java:794) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1124) at net.minecraft.server.Packet7UseEntity.handle(SourceFile:36) at net.minecraft.server.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113) at net.minecraft.server.ServerConnection.b(SourceFile:39) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NullPointerException at me.protocos.xTeam.TeamScoreListener.onEntityDeath(TeamScoreListener.java:33) at sun.reflect.GeneratedMethodAccessor116.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:339) ... 20 more
-
View User Profile
-
Send Message
Posted Dec 16, 2012error for you to look at btw
http://pastebin.com/J9LLkWXt
-
View User Profile
-
Send Message
Posted Dec 2, 2012can you please release the source code if you're not going to update it anymore? I'd like to fork it.
-
View User Profile
-
Send Message
Posted Nov 21, 2012I don't want to steer people. I was just pissed. :(
-
View User Profile
-
Send Message
Posted Nov 21, 2012It is just a tip. :D Don't worry.
-
View User Profile
-
Send Message
Posted Nov 20, 2012@MrThunder_
You really shouldn't be trying to steer away other people from this plugin, there are other servers that use a different type of protection plugin, but want people to be able to create groups
-
View User Profile
-
Send Message
Posted Nov 19, 2012Guys if you want Land Protection download Factions. I don't want it because this is for the most Hardcore PvP servers. I don't think people will use this plugin when you have Land Protection.
-
View User Profile
-
Send Message
Posted Nov 13, 2012Can you make an option that we can call other team for war? Please reply as soon as!!!
-
View User Profile
-
Send Message
Posted Nov 7, 2012Protocos's Last login: Sep 28, 2012 :/
-
View User Profile
-
Send Message
Posted Nov 3, 2012Whenever someone dies...
http://pastebin.com/jjBS8ZDP
(Read from bottom
> top)-
View User Profile
-
Send Message
Posted Oct 28, 2012Cool plugin. But when I make a team and Chat instead of the team name it says in big letter EXAMPLE.... Is there an easy fix?