Jeevan Bohara

Hey make a advance professional plugin of teamvteam team members limit 3 including owner no allies or anything for a smp add commands like /team create <color shows every color> <name name of the team that will be shown in chat and player head side like essentialxchat and vault and etc> /team invite<user>(invites the user for team sends a tick and cross I'm chat can join with a click or deny and expires in 5 minutes and shows team name to join ) /team accept<name of team> (shows all team names who have invited the user) /team disband (disbands the team only owner ask two time's) /team kick <user> (to kick a member from team) /team info(shows the team info like owner member which they r on) /team list (shows all teams according to a-z no ranking no numbering) /team help(shows all commands in different lines blue gray type font no boldness style just professional) /teama tvt <team1> <team2> (asks two times to the executor teleports both team members to the selected teleport arena and let's them fight sending a title your team vs <name> team in title and subtitle and for other players <team1> vs <team2> at title and Subtitle and show a boosbar when started like <&bteam1> vs <&4team2> in dark red bossbar colour and if a team wins show the team name of winner in white text colour at bossbar and aqua colour of bossbar and teleports them back to their places where they were teleported from even the loser who dies and it shall not end until all members of team dies ) /teama settp1 (sets the location where the executor is standing at and t

Kodari AI
KodariOct 22 at 5:41 pm 1

The generation was stopped before any content could be produced.

Jeevan Bohara

Hey make a advance professional plugin of teamvteam team members limit 3 including owner no allies or anything for a smp add commands like /team create <color shows every color> <name name of the team that will be shown in chat and player head side like essentialxchat and vault and etc> /team invite<user>(invites the user for team sends a tick and cross I'm chat can join with a click or deny and expires in 5 minutes and shows team name to join ) /team accept<name of team> (shows all team names who have invited the user) /team disband (disbands the team only owner ask two time's) /team kick <user> (to kick a member from team) /team info(shows the team info like owner member which they r on) /team list (shows all teams according to a-z no ranking no numbering) /team help(shows all commands in different lines blue gray type font no boldness style just professional) /teama tvt <team1> <team2> (asks two times to the executor teleports both team members to the selected teleport arena and let's them fight sending a title your team vs <name> team in title and subtitle and for other players <team1> vs <team2> at title and Subtitle and show a boosbar when started like <&bteam1> vs <&4team2> in dark red bossbar colour and if a team wins show the team name of winner in white text colour at bossbar and aqua colour of bossbar and teleports them back to their places where they were teleported from even the loser who dies and it shall not end until all members of team dies ) /teama settp1 (sets the location where the executor is standing at and the team1 shall be teleported here and every member of it and start the fight between both teams and when every team member of theirs dies then tp back each of them to previous location) /teama settp2 (same as settp1) /teama pause (freezes everyone in tvt both teams and say fight is paused in title and Subtitle and their HP and Regen and hunger everything) /teama resume(resumes the match unfreezes them) /teama results (results of before fight like whom team vs whom team win every matches proper results and which team won ) /teama restart( restart the tvt and restores their inventory as before which they came with and tps back in tp1 and tp2 location only for those who are at team team teams and HP restore) /tvt spectate (teleports to spectate area selected by admin ) /teama setspectate(sets player teleport location to watch other teams fight) /teama forcestop (cancels the ongoing tvt and teleports back to their location and send title and subtitle tvt cancelled for their teams) /teama banitem <name mace, totem_of_undying>(removes the items from every players inventory if it's their while team v team selected And teleported> /teama limit <name ender_pearl totem_of_undying> <amount 64 128 500 8 4 16> (can't have more item than specified by admins removes the amount by limiting it in inventory when tvt started ) /teama build on/off(let's them build while tvt started tp location/teama break on/off(let's them break blocks in tvt started) [no glitches in this plugin and no problems with other plugins and etc teleports back safely after duel of teams to their previous location and celebrate when a team wins send winning sound for winner team members and disabled beacon for losing team members and no bugs no dupes no anything cool and professional no bold styles use small caps fonts for texts prefix blue gray different lines info for commands ᴀʙᴄᴅᴇꜰɢʜɪᴊᴋʟᴍɴᴏᴘǫʀѕᴛᴜᴠᴡхʏᴢ₁₂₃₄₅₆₇₈₉₀ ]

Kodari AI
KodariOct 22 at 6:18 pm 4
TeamVsTeam
A professional team-based PvP plugin for SMP servers. Players form teams of up to 3 members with a comprehensive command system including team creation with color selection, invitations with clickable accept/deny messages that expire in 5 minutes, disband confirmation, kicking, info, and alphabetical listing. Admin commands manage Team vs Team battles with teleport arena setup, pause/resume functionality, item banning and quantity limits, build/break toggles, spectate mode, force stop, and match results tracking. Battles feature boss bars showing team matchups, win celebrations with sounds, beacon disabling for losers, and safe teleportation back to original locations. Includes professional small-caps typography styling throughout.
  1. Add the plugin foundation, persistent team management, and the /team commands.

  2. Add arena setup, confirmed team-vs-team matches, pause/restart/stop, spectator and match administration.

  3. Add safe inventory/location restoration, chat/tab tags, match protections, and persistent results.

Created the TeamVTeam plugin with persistent teams capped at three members, clickable five-minute invitations, owner-only kick and double-confirmed disband, alphabetical team listing, and team-colored chat and tab names.

Added two-confirmation match starts, arena and spectator spawn setup, pause/resume/restart/forcestop, a match boss bar, winner announcements and saved results. Participants’ inventories and locations are restored after matches, including after death or reconnect. Admins can also configure banned items, item limits, and arena building or breaking.

Set the arena with /teama settp1, /teama settp2, and optionally /teama setspectate; then start a match with /teama tvt <team1> <team2> and confirm twice.

Jeevan Bohara

Remove double name of team in chat ahead of players name and make it in small caps no [] with space ahead of name professional selected colour and add/team leave and /teama build place on off doesn't works for normal player they shall able to break or place immediately when it's on means can place or break off means can't break or place and if when tvt happening if the team shall have 2 players online for tvt and 3 players maximum and teleported and teleport back to their places even when they die and everything shall working properly and /teama pause (it doesn't stops players fighting at their places like don't let them hit or move for both teams and /teama resume (move and hit other again) /teama pvp on/off(enables and disables pvp for the players in tvt duels working correctly everything plugin all and the sound doesn't sends of disabling beacon and winning sound fireworks etc make them send

Kodari AI
KodariOct 23 at 9:49 am 2
  1. Fix the duplicate chat prefix and apply the team color/name styling cleanly.

  2. Add /team leave and correct arena build/break toggles and PvP controls.

  3. Fix paused-match restrictions, minimum online roster validation, death/return handling, and match sounds.

  • Team names now appear once before the player name: selected team color, small caps, no brackets. Chat formatting is left to the server’s chat plugin rather than overridden here.

  • Added /team leave. Members can leave outside a match; owners must disband the team.

  • /teama build [place] <on|off> and /teama break <on|off> now control placing and breaking for match participants immediately. Pausing still blocks arena edits.

  • Matches now require at least two online members per team. /teama pvp <on|off> toggles PvP immediately and sets the default for future matches.

  • Pausing blocks movement, combat, item use, projectiles, health regeneration, and hunger changes; resuming restores play.

  • Fixed reconnect/death restoration so participants’ saved locations and inventories are restored after the match. Winners receive the victory sound and fireworks; losing participants receive the beacon-deactivation sound.

Jeevan Bohara

Hey I want you to add /teama bossbar remove all(bcz it doesn't removes bossbar after ending and add/teama finale<name of team> (chooses a winning team for whole tvt matches and send everyone subtitle and title and removes all bossbar and who's their name rockets sound winning sounds and add/tvt lspectate (leaves the spectate mode and teleports back to where he executed spectate command even after completing duel. And change all commands do/jteam who only have /team command using let other remain same and add /teama min <1 2 3 4 8 how much players to execute tvt with others teams sets> /teama max <how much players can be in team and tvt 8 20 5>

Kodari AI
KodariOct 23 at 8:34 pm 5
  1. Add /teama bossbar remove all and /teama finale <team> with match-ending cleanup and winner announcements.

  2. Add /tvt lspectate to exit spectating and return to the saved location, including after a duel ends.

  3. Make /jteam the team command alias while retaining the other commands.

  4. Add configurable /teama min and /teama max team-size settings.

  1. Added /teama bossbar remove all and /teama finale <team>. Finale ends the active match for that team, announces the winner to everyone, triggers victory fireworks and sounds, and removes all tracked bossbars.

  2. Added /tvt lspectate; it returns players to where they ran /tvt spectate, even after the match ends.

  3. Renamed the team command to /jteam and updated its help text and invitation buttons. /teama and /tvt remain unchanged.

  4. Added /teama min <players> and /teama max <players>, saved in config. Defaults remain min 2 and max 3; max cannot be set below the current minimum or an existing team’s size.

Jeevan Bohara

Hey I want you to add commands of /duel <player> (sends a duel to their users but not giving any items or anything when accepted with their on kit and send executed open a menu in center a player head and at side option to loss items enabled/disabled rounds maximum 20 sends a duel message to another user with the both player having their own inventory not same not their own and when loss items enabled they shall drop their items at last round if 1 drop at 1 round and when a player dies make another winner and let the winner stay at the location for 20 seconds and tp back the loser to it's location if item loss disabled don't drop item and also give them their same inventory back every round to fight and add another option in gui block place/break enable/disable if disabled they can't place blocks anywhere or break if enabled they can and for normal players who doesn't have operator too and when a player dies send you lost and beacon disabling sound and winner shall be send you won the duel sound and no glitches) /duel results shows all duels result in an menu also if there is ongoing duel there shall not be any other duels until it's ended and no duping or etc shall happen they shall not be able to put anything at enderchest and etc if item loss is disabled and they shall not drop anything after dieing and restore to their same inventory before sending duel /duel cparty (creates a party just like team and able to invite maximum 5 players and must have 2 players online before sending and add /duel disband /duel leave /duel info /duel list same as jteam and add /2v2 <name of party>(must have 2 players in both not more than 2 players and teleports for 2v2 to an selected arena same as duel arena if ongoing duel or 2v2 or 3v3 or 4v4 or 5v5 don't send and say ongoing match already and also open menu like /duel when send to an party and working and/3v3 /4v4 /5v5 sam lne must have 5 4 3 players on both not more than it and only one location where it teleports to set location /duela settp1 settp2 tps 2 teams at any location one of them 1v1 2v2 3v3 4v4 5v5 and working everything and to the receiver of duels shall show every details like block break/places enable or disable item loss enable or disable all of them and ask two times before accepts/duel accept<those who have sent> everything property teleported back to location title subtitle no glitches if somebody left in fight cancel the whole dhek 5v5 4v4 3v3 2v2 tp them back to their places and the left player when joins the server no enderchest or item drop or item pickup in item loss disabled just fight and smooth and use small caps before given and no bold /duels lb most wins user /party also disband party after owner leaves and doesn't rejoin for 8 minutes and same with members to leave/party kick /duel cancel asks both party owner or duel players to cancel /duel spectate anyone will be teleported at gamemode spectater and can't move just can look head directions and when ends tp back spectater at survival if spectater leaves queue him for tp back at location upon joining and gamemode survival /duel spectate leave Make everything working properly.

Kodari AI
KodariOct 23 at 9:34 pm 8
  1. Inspect the existing commands, match/arena handling, and project setup; build the duel core on the project’s current patterns.

  2. Add party challenges, team-size matches, party management, and arena setup.

  3. Add duel results/leaderboard, spectator controls, disconnect recovery, and cleanup protections.

  1. Duel core is in place: configurable challenges, double confirmation, rounds, arena spawns, inventory restoration/item-loss handling, block controls, and mutual cancellation. Next I’m extending it to party and team-size matches.

  1. Added persistent duel parties, /party management with five-player capacity and eight-minute offline cleanup, plus /2v2–/5v5 challenges that require exact, fully online rosters and share the single-match lock. Next: results, leaderboard, and duel spectating.

Implemented the duel and party match system.

  • /duel <player> opens a settings menu for item loss, block changes, and best-of 1–20 rounds. The challenged player sees the settings and must accept twice.

  • /duela settp1 and /duela settp2 set the duel arena spawns.

  • /duel cparty [name] creates a party. /party and /duel support party invites, accept/deny, leave, disband, kick, info, and list. Inactive members are removed after 8 minutes; an inactive owner’s party is disbanded.

  • /2v2, /3v3, /4v4, and /5v5 challenge another party with exactly the required number of online members. Duel, party, and TvT matches share a single active-match lock.

  • Added /duel results, /duels lb most wins, and player win profiles. /duel spectate [player] locks spectators to head movement; /duel spectate leave returns them to their saved location in survival. Spectator returns and player restores are saved across disconnects.

During duels, inventories reset between rounds when appropriate; disabled item loss prevents drops and pickups, and ender chests and other containers are blocked. /duel cancel requires agreement from both duelists or party owners.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
16 4,866
src/main/java/com/kodari/teamvteam/TeamVTeamPlugin.java
package com.kodari.teamvteam;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public final class TeamVTeamPlugin extends JavaPlugin {
    private TeamManager teamManager;
    private ArenaManager arenaManager;
    private MatchManager matchManager;
    private DuelManager duelManager;
    private DuelPartyManager duelPartyManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        teamManager = new TeamManager(this);
        arenaManager = new ArenaManager(this);
        matchManager = new MatchManager(this);
        duelPartyManager = new DuelPartyManager(this);
        duelManager = new DuelManager(this);

        TeamCommand teamCommand = new TeamCommand(this);
        getCommand("jteam").setExecutor(teamCommand);
        getCommand("jteam").setTabCompleter(teamCommand);

        TeamAdminCommand adminCommand = new TeamAdminCommand(this);
        getCommand("teama").setExecutor(adminCommand);
        getCommand("teama").setTabCompleter(adminCommand);
        SpectateCommand spectateCommand = new SpectateCommand(this);
        getCommand("tvt").setExecutor(spectateCommand);
        getCommand("tvt").setTabCompleter(spectateCommand);
        getCommand("duel").setExecutor(duelManager);
        getCommand("duel").setTabCompleter(duelManager);
        getCommand("duels").setExecutor(duelManager);
        getCommand("duels").setTabCompleter(duelManager);
        getCommand("duela").setExecutor(duelManager);
        getCommand("duela").setTabCompleter(duelManager);
        for (String command : new String[]{"2v2", "3v3", "4v4", "5v5"}) {
            getCommand(command).setExecutor(duelManager);
            getCommand(command).setTabCompleter(duelManager);
        }
        getCommand("party").setExecutor(duelPartyManager);
        getCommand("party").setTabCompleter(duelPartyManager);

        Bukkit.getPluginManager().registerEvents(new TeamListener(this), this);
        Bukkit.getPluginManager().registerEvents(matchManager, this);
        Bukkit.getPluginManager().registerEvents(duelManager, this);
        Bukkit.getPluginManager().registerEvents(duelPartyManager, this);
        for (Player player : Bukkit.getOnlinePlayers()) {
            updatePlayerIdentity(player);
        }
    }

    @Override
    public void onDisable() {
        if (matchManager != null) {
            matchManager.shutdown();
        }
        if (duelManager != null) {
            duelManager.shutdown();
        }
        if (teamManager != null) {
            teamManager.save();
        }
        if (arenaManager != null) {
            arenaManager.save();
        }
    }

    public TeamManager getTeamManager() {
        return teamManager;
    }

    public ArenaManager getArenaManager() {
        return arenaManager;
    }

    public MatchManager getMatchManager() {
        return matchManager;
    }

    public DuelManager getDuelManager() {
        return duelManager;
    }

    public DuelPartyManager getDuelPartyManager() {
        return duelPartyManager;
    }

    public void updatePlayerIdentity(Player player) {
        if (player == null || teamManager == null) {
            return;
        }
        Team team = teamManager.getTeamForPlayer(player.getUniqueId());
        if (team == null) {
            player.setDisplayName(player.getName());
            player.setPlayerListName(player.getName());
            return;
        }
        ChatColor color;
        try {
            color = ChatColor.valueOf(team.getColor());
        } catch (IllegalArgumentException exception) {
            color = ChatColor.WHITE;
        }
        String taggedName = color + Text.smallCaps(team.getName()) + " " + ChatColor.WHITE + player.getName();
        player.setDisplayName(taggedName);
        player.setPlayerListName(taggedName);
    }
}