Plugin category: Anti-Griefing Tools Suggested name: Friendly Teams What I want: I'd like a plugin which prevents friendly fire in Teams on Scoreboards and also changes their ingame nick to the team's color and prefix to for example "&7[&1Blue&7]" (Configurable). The plugin might punish the players and log their attempts to hurt somebody, number of punishments and warnings. The plugin might send a message to the attacker and the victim. Eg: You have 2 teams, Red and Blue. And you have a scoreboard like this. Points ---> Team Red (Points: x), Team Blue (Points: x) Team Red: Player 1, Player 2, Player 3 Team Blue: Player 1, Player 2, Player 3 I need a plugin that makes that: - Player 1 (Blue) can't hurt Player 2 (Blue) in any way (bow, sword, snowball, egg...). - Player 2 (Blue) can't hurt Player 3 (Blue), Player 3 (Blue) can't hurt Player 2 (Blue), etc... Example config.yml: Code: friendlyfire: false punish: false warnings: 3 kick: false #Hide "(warningtotal)/(warningtotal) warnings.", if in friendlyfire/punish/warnings, warnings is set to 1. message: Friendly fire will not be tolerated. (warningtotal)/(warningtotal) warnings. ban: false #Hide "(warningtotal)/(warningtotal) warnings.", if in friendlyfire/punish/warnings, warnings is set to 1. message: Friendly fire will not be tolerated. (warningtotal)/(warningtotal) warnings. kill: false tempban: false time: 1h notify: notifyattacker: true #Hide "(warnings)/(warningtotal) warnings.", if in friendlyfire/punish/warnings, warnings is set to 1. message: Friendly fire will not be tolerated. (warnings)/(warningtotal) warnings. notifyvictim: true message: &4(player) has tried to attack you! log: true #The log is saved as log.yml. prefix: true teamcolor: true customformatting: false start: &7[ end: &7] nick: teamcolor: true customformatting: false start: end: Pastebin: http://pastebin.com/0yYLx2tZ If logging is not enabled, the plugin doesn't log the bans and the attempts, but still logs the warnings, it's needed for the plugin to work. Example log.yml: Code: #The number of attempts, punishments and warnings of players to hurt somebody are saved here. Everytime a player is punished, the warnings are reset. UUID1: attempts: 10 warnings: 1 punishments: 3 UUID2: attempts: 10 warnings: 1 punishments: 3 UUID3: attempts: 10 warnings: 1 punishments: 3 Pastebin: http://pastebin.com/4byjj9iA Ideas for commands: Commands: "/friendlyteams reload" or "/ft reload" Description: Reloads the plugin. Reply: &7[&bFriendlyTeams&7]&r Reloading... "/friendlyteams bypass" or "/ft bypass" Description: Totally bypasses the plugin, also doesn't get logged even if enabled in config. Reply: &7[&bFriendlyTeams&7]&r Enabled bypass mode. "/friendlyteams remove (player)" or "/ft remove (player)" (Removes player from log.yml) Description: Removes a player from log.yml Reply: &7[&bFriendlyTeams&7]&r Removed player (player) from log.yml "/friendlyteams pardon (player)" or "/ft pardon (player)" Description: Resets a player's warnings. Reply: &7[&bFriendlyTeams&7]&r (player)'s warnings have been reset. Ideas for permissions: Permissions: friendlyteams.reload (Defualt to OP) friendlyteams.bypass (Defualt to OP) friendlyteams.remove (Defualt to OP) friendlyteams.pardon (Defualt to OP) When I'd like it by: Take your time. EDIT: Punishment/Logging side of the plugin are not necessary if it is too much trouble.
The scoreboard has this feature built into it already. Command: /scoreboard teams option <team> friendlfire <true|false>
kbunkrams97 tcvs I've already got friendlyfire set to false, but they're still able to hit their teammates. And this only covers a small part of the plugin.