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.
@AssRealm
In regard to the second suggestion, the concept of team competition/leaderboard/ranking has been on the table for a while. What I'd like to do eventually is just put up a poll for the biggest features that everyone might want added. Then one-by-one add them based on priority.
@AssRealm
In regard to the first suggestion, I had something in mind along the lines of a rent-for-land system though I'm still not sure all users would enjoy this feature. However the way I was envisioning it was something to the effect of claiming land = maintaining land. So if you claim a plot of land, and lets say there is a price-per-block of 1 in-game currency to every block, then each real-time day that you own the land, you have to pay "rent" to the server. I would probably have a bank system for each team that the team leader manages and keeps full. Then every day at midnight, the server "withdraws" x amount from the team bank based on how much land the team owns. No money = land becomes unprotected. The economy side of it would probably be completely left up to the server manager in terms of how each player would earn money to put in the team bank but I would probably integrate it with iConomy somehow so that it would be easy to manage. With this method, it is essential that each team member pay into the bank to keep the land that they own. This way claiming land would not be a stupid process that takes some of the fun out of PvP - it would be an ongoing commitment to keep your land protected. Also, if a team becomes inactive on a server, over time, their bank depletes and the land will eventually become unprotected and claimable/griefable by other teams.
It still needs some fleshing out, but before any of that happens I need to fix the "not saving team data when a server crashes" and before that happens, I need to study for finals... :(
Love the plugin, but for some reason does it not seem to care about what team they are on when they are in the nether,
Team Blue, can attack others from team Blue.
it works fine in the normal world.
One small little feature that might be necessary, (easy to do also):
/team tpall - teleports whole team to you (op/admin permission)
but for only 1 team / not all teams
@protocos
Suggestion:
Could you make online/offline protection?
Meaning when [configurable] amount of member of team is online protection is off, same goes for more. All members offline, protection is on. So that there is at least [Configurable] amount of person to defend. This allows multiple region to be claimed anywhere from the same team. Eg one island to claim by /team claim <- like factions.
Point for Teams?
Points can be get via pvp/mining then when one team has higher points that other they can claim other peoples land blabla?
@silversm
This will be my primary focus on the the next minor update... possibly an entirely new system for storing and retrieving data dynamically. Having said that, these next three weeks will be stressful to say the least with final exams...
@protocos
when it resets
@silversm
Hmm. I've heard a few similar reports but the others who have had problems have said this happens when the server crashes... Are you experiencing symptoms when a user leaves the game or when the server gets reset?
hey the plugin is great but every time someone gets off the teams reset.
@ThedarkdudeZ
The only thing I've implemented with spout is something related to a namechanger.
Essentially what it does is this:
If it looks like there is something conflicting, which it sounds like it is, then you can disable the feature in the config file.
The goal of this feature was so that people don't have to worry about being seen through walls while they're in their base...
@protocos
Thanks for reading my comment, first of all. I have just found a with the nameplates, though. I use a plugin called 'DispNameChanger', for spout and lets me change peoples overhead names, instead of just in-chat names. I don't know if this is a problem with xTeam or with DispNameChanger, but for some reason peoples names are coming up as usual overhead, whilst still being the changed name, in chat.
If this is not your fault, then sorry. Here is a link to DispNameChanger, if you need it.
http://dev.bukkit.org/server-mods/dispnamechanger/
Thanks!
@ThedarkdudeZ
Interesting, I hadn't messed with spout for a bit because the recommended build was behind and it was causing problems, but I might look into that... It sounds fun. ;)
Also, somewhat related, I actually don't mind a lot of what factions does. It's just that factions makes claiming land and maintaining it WAY to overpowered in my humble opinion. I might eventually add some sort of feature like land ownership eventually, but it would have to be highly moderated (something like paying 'rent' to the server) and NOT as cheap as many other plugins out there (like factions, towny, or residence). I would also probably make it where it is completely not necessary for xTeam to function properly (like it does now)...
I know you don't want to remake factions in any way, but one feature of factions, which I love is the capes with Spout. This isn't a request for you to add it, I was just wondering if you were ever going to. I fin it is a great way to reward users in teams, without having to download a whole other plugin for it.
Great plugin though!
@maxmbhc
Like I said before, whenever I release 1.5.1 I'll be changing it to a 'worldsdisabled=' feature. As for now, the xTeam.cfg should be in the xTeam folder in the plugins folder for your server. It is generated when the plugin can't find one already present. Hope that helps.
Hey pro,
Look like a great plugin and I installed it on my server but it says "diabled on this world" or something like that though its my main! Any help? I looked at your posts b4 but IDK where the config for that is!
@Basxt
I separated the permission nodes into xteam.join and xteam.create so that the admin could determine who gets creation rights if they want to keep the amount of teams small... The permission node you are looking for is xteam.create.
EDIT: OH, nevermind, I get what you are saying. Just type '/team join <teamname>'. If the team does not exist already, then it will automatically create it. I might just add a hidden command in the next update just for intuition's sake.
@protocos
Wow that helped! Thanks!
now my only problem is that, I can`t create a team. neither the players.. what`s the command for it? I don`t see it when I type /team:S
@Basxt
I realized that something like this would happen after I uploaded the file. In the next bugfix update im going to CHANGE the worldsenabled feature to a worldsdisabled feature. That way by default all of your worlds are enabled. This will flip the functionality of the configuration option.
For now though, if you need the immediate fix, just add the line 'enabledworlds=world,world_nether,world_the_end' to your config file and add any extra worlds you have to the list separated by commas. I will be changing this though like I said.
@Basxt
So teams aren't saving when you restart the server? Are you using the soft restart by typing 'stop' in the console or just exiting? Teams should save when the plugin is disabled... Any information would be helpful. Thanks.
I`m very sorry to say, But anyone got an idea when I just time /team, it says xTeam is disabled for this world. I know that I have to enable it but: How.
Also how do we create teams? /team create does not work..
@suzukijr
Oh and when my server restarts the teams get deleted :/