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 Mar 20, 2013The permissions for this plugin are not working period. Please fix them
-
View User Profile
-
Send Message
Posted Mar 20, 2013Is it possible to have team members be able to hurt non-team members while they are in their headquarters, but the non-team members not able to hurt the team members whose headquarters they are currently standing in? Bascially, can I have non-members pvp turned off when they enter into headquaters that do not belong to them?
Thanks in advance.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@protocos
Dont thanks, im just in love with your plugin...
Thats what she said x.x
-
View User Profile
-
Send Message
Posted Mar 19, 2013Um i found a huge exploit with your plugin. You need to fix this asap. Add a permission node for - xteam.player.core.info asap. Players can /team info Teamname and it tells them of location of players.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@erickxaviers
I actually realized some of the default saving issues before I pushed the build to v1.7.4, I just figured people wanted regular teams to save properly before I moved on to other fixes
All three of these issues have already been fixed, however if those are the only issues, I'd like to fix a few more things before the next update, namely the default permission problem. I promise all of these fixes will be in the next patch. Thanks for the input though.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@FailingIcarus
I've put this on the list of current defects. Unfortunately the change to the bukkit convention for permissions seems to have changed something with default permissions. I'll lo further into it once I have a chance.
-
View User Profile
-
Send Message
Posted Mar 18, 2013So, I saw some problems (v1.7.4):
1. When you have some Default Teams, and u are the only player who join one of them and then LEAVES it, the default team is removed from the list... but when u join it and you are removed from the team by an admin, the team still there. Got it?!
2. No one can join any default team, cause the option "open" still reseting to "false" when the server restarts, and as I have only default teams, no one can invite any player too. Cause the teams have no leader or admin...
3. HQs of default teams are not saving when server restarts.
Conclusion: maybe you have to change the first loading functions of the plugin, I think (as a programmer too), all infos about default teams are been replaced by default values when the plugins starts to run. Good luck!
-
View User Profile
-
Send Message
Posted Mar 18, 2013on my op account it says /team create is not a valid command...
-
View User Profile
-
Send Message
Posted Mar 18, 2013Um im just using the base permissions file... do the "-" go before them? i have it set as xteam.player.core.create.*: default: true
Idk whats wrong all of them are like that.. :C
-
View User Profile
-
Send Message
Posted Mar 18, 2013@FailingIcarus
So I am assuming that your permissions before were something like "- xteam.*" so that each player would have permissions? And also, that you changed it to:
- xteam.player.core.*
- xteam.admin.core.*
- xteam.leader.core.*
...for each player?
EDIT: If nothing is working, could you let me know what permissions system you are using? I am trying to use PermissionsEX to replicate the error, but it seems to be working fine.
-
View User Profile
-
Send Message
Posted Mar 18, 2013@TheSnowMan1991
This actually has something to do with the positive case testing that I was talking about. I have all the checks to make sure the right errors are thrown, but I have yet to finish the checks to make sure data acts as it should. I will do my best to have this fixed soon. Thanks for the help.
EDIT: I just fixed this issue along with another one related to it. It will be in the next update... (I probably won't push too soon as I am waiting to see what other errors people bring to my attention). Thanks again for the input.
-
View User Profile
-
Send Message
Posted Mar 17, 2013Hey Protocos,
Just updated to the latest build, and running Craftbukkit 1.5 Dev:
It seems that the default team's HQ are not saved on server restart, and also the players in each team are cleared as well! Any ideas why this may be happening? There are no console errors...
-
View User Profile
-
Send Message
Posted Mar 17, 2013I fixed my first issue, it was not with this plugin however it says permission denied now that you changed all the permission nodes... I redid all the permission nodes but it still says permission denied...
-
View User Profile
-
Send Message
Posted Mar 17, 2013Everything in the info above should be accurate for 1.7.4, especially the permissions. PLEASE UPDATE as necessary. (NOTE! the permission node xteam.* for 1.7.3 and below now gives admin privileges, so change it to the three below for simple player permissions)
xteam.player.core.*;
xteam.admin.core.*;
xteam.leader.core.*;
-
View User Profile
-
Send Message
Posted Mar 16, 2013@FailingIcarus
Is this using '/team tele [player]' or just the standard '/tp [player]' that's in vanilla minecraft?
-
View User Profile
-
Send Message
Posted Mar 16, 2013Not sure if this is a problem with this plugin but when people type tp (user name) they do a forced tp to that player, they do not even have to do a / so not sure what the issue is
-
View User Profile
-
Send Message
Posted Mar 14, 2013Ok, so here is the situation right now:
• I'm on vacation currently.
• I have a somewhat stable build
• I have not yet added all of the positive test cases to the project
• I have fixed a few bugs and updated some code that desperately needed updating.
• I have not implemented many new features
• I have changed the permission nodes to reflect the Bukkit convention
I can push a build tonight and hope they approve it by tomorrow, but I cannot guarantee with 100% accuracy that new bugs will not emerge and take the place of the bugs I squashed from the last update. I will need to continue to write positive test cases even after the update since I want to be sure that I continue to eliminate possible bugs for future updates. Sorry it is such a slow process, but I am still trying to learn how to use better design principles when coding. Once again, please have patience, I'm not going to leave you guys...
-
View User Profile
-
Send Message
Posted Mar 10, 2013Update for everyone:
I'm currently in a car on a trip for spring break. In the spare time I have, I will try to do a lot of testing to verify that things work as they should before I try to push a build. The reason for the delay is namely all of the tests that I was writing (although things like school and work do get in the way). Honestly I'm not quite finished writing the positive test cases, but at least it throws and catches errors where they are supposed to be thrown and caught. I will need to continue writing these test cases even after I push a build, so feature adding will be slightly slow for a little while, unfortunately. All I can ask is that y'all have some patience while I try to sort things out. Thanks for supporting the project.
-
View User Profile
-
Send Message
Posted Mar 10, 2013@KeendBoy
Ok, look, I answered that question yesterday when the chrome client on my phone promptly crashed. Sorry I did not get to your post. Trust me, I do intend on addressing each one, I just have a lot going on right now. Also, it is true that similar things have been posted before. I will add it to the to-do list but you must understand that as a full-time student also doing part-time work, this project of mine has to take a back seat sometimes. Having said that, I have no intention of giving it up, so please just be patient.
@TheSnowMan1991
Thanks dude.
@Quinnatator
I actually have something like this on the to-do list, and it's more of a 'team locations' addon where you will be able to add, remove, and track as well as warp if you set that option or something.
-
View User Profile
-
Send Message
Posted Mar 10, 2013Seems like an amazing alternative to Factions! I'm just going to suggest something to add to your "to-do" list. Could you add something like the warps in Factions Plus where players can create warps and give all of their Faction/team the ability to warp there. I know your only one guy, so I'm not pushing it. Thanks.