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.
Any Ideas? http://pastebin.com/JSkst0G8 <
thats current version.I went back a build and now I get this on restarts. I think it starts up to soon or doesn't shut down fast enough to let it reload on a new start or something. I want to use this my players seam to love it but well. Them are my issues.
@protocos
Thanks a ton! :D
@Gnomeo76
So I included a feature inside the config file to set 'nopermissions = true' when the admin elects to have no permissions plugin. If this option is set to true then normal players just get the default set of team leader, team admin and team user permissions, while those who are 'op' get the server admin commands.
The reason team create doesn't work in the console is because I haven't included it as a console command. The way creation works, the player that issues the command is set as the leader of a team and the console is not a player in that instance. If you would like to create a team with someone as the leader, I would suggest the '/team set [Player] [Team]' command. Type /team in the console to see all of the other commands.
@tylertran007
I think it may have been either you or someone else in the past that suggested this. I think it is a great idea, but I think it should be an optional add-on to the main plugin. The way I'm setting up the API for the plugin, I may just include this as the first add-on module and bundle it in with a future update so users are not required to use it, but can drop it in the plugins folder to include it with the core plugin. Thanks for the feedback!
@protocos
I have a couple very bad needs for the new updates that come! Please add where you can declare war on other teams or ally other teams! This would help so much. Optionally make it like where your teammates names are green, enemies red, and allies blue! this would help so much! Anyhow, when you do ally or war a team please make it announce it in the chat like this: "Firemen has declared war on Watersboys" something like that. :D It would make it cool so people see who has peace treaties and war. And, add it where when you do /team info <team> you can see their ally list and enemy list for teams on there! Also, there's a bug where multiple names pop up of the same player of a team or they could make someone who never played a leader like "sdgajg" by accident. Another bug was being able to invite people who is already on a team and them accepting and being in two teams at once (only happened once). But yeah my main need is the ally/war thing! Thanks!
NinjaPVP: 192.99.19.209:25580
Any chance of usingTagAPI for coloured team names? Also, more importantly, how do I create a team? '/team create red' says you dont have permission, and if I do it from the server, it just says that is not a valid command.
@xxbabygirlstar
Did you update to the latest version?
@protocos
Is there a way I could report an issue with mine? The friendly fire isn't working at all.
Hey guys, I know many of you are in the full swing of summer and I wanted to give you an update on the project. I've had some free time on my hands between graduating and starting my job in 2 days, so I have been doing a TON of refactoring, testing, fixing, cleaning, adding features, and overall expanding xTeam so I can develop faster and with fewer hitches in the future. Part of the philosophy of the project is that it hopefully reflects my current ability in software development, as long as I can keep it updated and improving, the project should only continue to get better and better. I have updated the project to the next version (v1.8.1) which fixes some critical issues like the problem with permissions ('nopermissions = true' now works!) as well as added some very IMPORTANT features like anonymous error tracking. With this feature I, the developer, will be able to immediately see when something goes wrong on any server. Note that the data sent to the server only contains information that pertains to the plugin directly and nothing personal, which is in keeping with the anonymity goal that I've set for the project. Having said all that, if you are worried about server data being monitored, there is an option in the configuration file to set 'anonymouserrorreporting = false'. This just means that if you ever have any errors being thrown in the console from the plugin, I won't see them.
I should have more time to update the project now that I only have one big thing on my plate (a job) and not 16 other things. At any rate, I hope you guys are having a wonderful summer! Happy xTeam-ing!
Hey there, great plug-in. I'm having one major issue, though, and that is:
Any time I try to turn on friendly-fire (as in, people from the same team can smack each other), it never registers. It causes a problem in mini-games when people from the same team are put on opposite teams for games.
Help?
I don't understand why you need almost 1mb of code for a teams plugin, this can be done in under 30kb
Hello, i'm using this plugin on my server in place of Guilds. I was wondering if there is anyway to change the team display prefix's colour, or layout in anyway. I've searched through the files, and I couldn't find anything. Thanks.
Thx for making this! loving it, i use it on my server for survival :)
Hello Protocos, can you please add a lang.yml file with your plugin please, because I can't change the plugin messages and it's not good, because my server is a French server. If you can add this, please answer me because your plugin help me well but this problem is very big. Thanks a lot for your awesome plugin ! (Sorry for my english, i'm french).
Does this support sql? if not can you add it?
I must be a noob, but I can't seem to get permission to do anything. Is there something I'm missing?
@protocos
do you have skype?
the permissions Node xteam.core.user.headquarters is wrong it should be xteam.core.user.hq this one works
How does this work with Herochat? I would love if the team chat could be a channel in herochat and that the team tag is shown in other herochat channels.
Everything seems to work but i cant turn off friendly fire am i missing something i changed the config?
teamfriendlyfire = true
Hey guys, I didn't want to leave you in the dark again when it comes to updates for the plugin. I am, yet again, dealing with a very tough semester; one that continues to take more and more of my time each week. Fortunately for me (and you guys), this semester will be my last and then it is on to the real world.
I was able to make some good progress on some of the bugs (like the friendly fire issue and other miscellaneous issues), as well as begin some low level feature additions that the plugin has been desperately needing. The problem, unfortunately, is that these past two weeks have brought development to a screeching halt. I have hardly had a spare hour for relaxing and when I do, I don't always feel like coding.
Rest assured that I do intend to update you guys soon, and hopefully address as many developmental concerns that you might have. I will always love this plugin and what it stands for (in terms of the core PvP idea as well as my own personal skills development).
Thanks for understanding,
-protocos