Перейти к содержимому
Mineforgian

Simple Team Generator

Easily gererate a Team ingame and let other Players join via team-specific Code

Загрузки
543
Подписчики
3
Обновлён
21 декабря 2025 г.
Лицензия
MIT

Опубликован 17 октября 2025 г.

Исходный код

This Datapack provides:

dialog GUI to create Teams

  • Display Name and Color (will be displayed in front of the player's name)
  • a name field for the game-code (just enter the Name without spaces and special Caracters)
  • after creating you get a 6-digit Code for joining
  • available with the command /dialog show @s teams:add for operators level 2 and aboth

/trigger command to join

  • use /trigger Team set <code> to enter the Code
  • negative values let you leave the Team
  • just /trigger Team to get the Code of the current Team
  • 10 minutes Cooldown for joining (can be adjusted via /scoreboard players set .Cooldown Team_Cooldown 12000 by default)
  • available for everyone (operator level 0 and aboth)

list-function

  • lists all Teams in pages of 10 per page
  • buttons for joining, removing the Team and listing it's Members
  • clicking on the page-counter, suggests a command for changing the page ( has to be replaced)
  • avaialabe with /function teams:list to operators (level 2+) (/function teams:list1 for datapack version 1.2 or below)

function to load generated Teams on new world

  1. copy command_storage_teams.dat from the data folder in your old world folder and paste it at the same place in your new world folder
  2. load Datapack (min. version 1.2) and run function teams:take_copy
  3. Teams are being copied to new world with same Team-Codes
  4. Players can get Team-Codes of old world with /trigger Team and rejoin the old Team with them

unistall function (datapack version 1.4+ only)

  • /function teams:uninstall
  • disables the datapack
  • removes Teams (can be reloaded with /function teams:take_copy1 like described aboth starting at 2.)

help function (datapack version 1.4+)

  • shows this text
  • /function teams:help

Important to know:

  • the Mods are just the datapack converted into mods and should work exactly the same
  • datapack with dialog -> restart the world or server
  • nut fully tested, can break at any time (but should not)
  • may have problems with paper or bukkit (purpur works)
  • have FUN!

Ченджлог

1.4Релиз1.21.9, 1.21.10, 1.21.11 · 21 декабря 2025 г.

Added unistall and help function

1.3.1Релиз1.21.9, 1.21.10, 1.21.11 · 9 декабря 2025 г.

Just added support for 1.21.11 and made my name in the load message linked to my Mordinth profile

1.3-ModsРелиз1.21.8, 1.21.9, 1.21.10 · 4 декабря 2025 г.

just converted it into mods (with the Modrinth Tool)

1.3Релиз1.21.8, 1.21.9, 1.21.10 · 26 ноября 2025 г.

added:

  • teams:remove dialog for removing Teams
  • List-Function is formated in Pages (counter goes up to 32 pages, more pages possible)

changed:

  • the function for listing Teams is now called teams:list instead of teams:list1
  • each Team in the list function has extra Buttons for joining, listing the Members and removing it
  • the Team naem is shown when hovering over the formated Name (instead of being in brackets) for saving space

fixed:

  • teams:join dialog does work for players without op-level 2
  • the teams:take_copy1 function does now corectly pick up up to 200 Teams
1.2Релиз1.21.8, 1.21.9, 1.21.10 · 24 октября 2025 г.
  • list function shows 200 Teams instead of 63
  • the Team-Code is no more announced to everyone by the /random command (the message for the creator is still there)
  • added version format (not used right now)
  • added function teams:take_copy
1.1Релиз1.21.8, 1.21.9, 1.21.10 · 20 октября 2025 г.

added list function

1.0Бета1.21.8, 1.21.9, 1.21.10 · 18 октября 2025 г.

First Release ever

Not working for non-operators

Комментарии

Загружаем…