fixes:
- fixed a bug that would let players create warps with spaces in the name, preventing them to delete them later
 - fixed a bug that would prevent damage caused by a player to himself if that player is in a team
 
additions:
- added admin transfer command /teamadmin team transfer <team> <newowner>
 - added team name in the team list GUI
 
to update, delete your teamsgui.yml file
Finally, added support for Folia
also, this version adds an option to change the default value of the teams friendly fire, making it possible to have team PvP enabled by default.
to update, either delete your config.yml file or add:
default-allow-pvp: true
in the team pvp section just under the bypass-permission
Team managers are now displayed separately in both team info and gui.
More damage types are now blocked between team members/allies:
- Melee attack
 - Projectiles (Arrows, SpectralArrows, Tridents,Snowballs, Eggs, Potions, etc.)
 - Fireworks shot from a crossbow
 - Primed TNT from another player
 
Teamchat, team gui, allychat permissions are now granted by default, fixing a "unknown command" error
to update:
either reset or add this to your messages.yml file:
team-info-managers-header: "\n\n&3Managers: &3&o(%NUMBER%)"
either reset or add this to your teamsgui file under line 48 (the team list lore):
managers: '&3Team Managers: &d'
Also, i updated the description here on Modrinth to display all the new permissions
This version fixes yet another issue with bedrock players and adds support for changing item slots in the GUIs and team chat toggle.
- Now you can use just /tc to toggle teamchat on and off and messages normally typed in the chat will be forwarded in the teamchat.
 
to update, delete your teamsgui.yml file
also, delete the messages.yml or you can just add this 2 lines at the end of the file (you still need to delete the teamsgui.yml):
chat-toggle-on: "&3Toggled Team Chat &a&lON&3."
chat-toggle-off: "&3Toggled Team Chat &c&lOFF&3."
fixed an error that happens when a bedrock player joins and floodgate support is enabled
Fixed a bug that wouldn't let team managers to invite players
fixed /team invite accept what would not work if invite was issued by a team manager.
Added Team Managers
with /team promote/demote <player>, you can now make players team managers.
Managers will be able to performs actions according to the permissios set by the team owner.
The team owner can manage permissions with /team permissios add/remove <permission>
The available permissions are:
- INVITE
 - KICK
 - PVP
 - RELATIONS
 - WARPS
 - RENAME
 - PREFIX
 - HOME
 - PROMOTE
 
each permission will grant usage of the corresponding commands/GUI
To update, please delete your messages.yml file or update it by looking at the github commit: https://github.com/xF3d33/UltimateTeams/commit/143d410075d833bbd588f2beca06df9d8613b563#diff-1c57d809edc36da705f89298fdace6d393381f6269427b87ce049291bd11c388
https://github.com/xF3d33/UltimateTeams/commit/3d91a060894cdefbb39fabb718f16afc4009a6f0
GUI system to manage your team and some bug fixes
- You can now manage your team with /team gui (requires permission ultimateteams.team.gui)
 - fixed a bug that showed the your team instead of the allied/enemy team when managing team relations
 - fixed a typo in the messages file
 
The GUI system initially shows:
- team info
 - home (left-click to tp, right-click to delete)
 - warps (left-click to open warps manager)
 - members (left-click to open members manager)
 - pvp (left-click to enable/disable PvP)
 - allies (left-click to open allies manager)
 - enemies (left-click to open enemies manager)
 
In warps manager left-click to tp, right-click to delete the warp
In Members manager right-click to kick the player from the team
In allies/enemies manager right-click to remove the team from your allies/enemies
All the icons materials, texts and lores are configurable in the teamsgui.yml file.
You can see images of the gui in the gallery section
To update, delete your teamgui.yml file
If your're upgrading from v3.x remember to run the migrator first
fixed the /team GUI being incomplete in v4.x
to update, please delete your teamgui.yml file
Fixed warps not migrating correctly from v3.x to v4.x
(if you have already migrated and have issue with warps just run the migrator again and it will be fixed)
This version adds some new features and a lot of bug fixes!
- Added /team rename command
 - Now banned prefixes/names are no longer case-sensitive
 - Now min/max name length is not the same as prefix length, and can be modified in the config
 - Now also prefixes can have colors and restrict the use of them by a permission
 - Fixed a bug where the message sent upon leaving a team would not color the team name
 - Fixed a bug that would display teams with colors in their name with the colors codes in command completions
 - Fixed a bug that would not let players create a team if they didn't have color permission even when not using colors
 - Fixed /team info command that would mess up teams name if colors are enabled
 - Fixed a bug that would count color codes as string length in names and prefixes
 - Fixed a bug that would display "not in team" in the prefix placeholder even if the player was in a team but the team had no prefix
 - removed unnecessary logs when using cross-server
 - Fixed a bug that would not update the online players in other servers while using cross-server
 - Fixed a bug that caused teams command to fail if the team had colors in the name
 - Fixed a bug that would let players hit allied/team members with arrow or tridents
 
Thanks to @onurbzxp and @DJKenduc for their reports on GitHub
You need to reset your config.
You need to reset your messages file. Otherwise you can add this at the end of the file:
team-name-change-successful: "&3Successfully changed team name to &6%TEAM%&3!"
team-tag-cannot-contain-colours: "&3Sorry, the team prefix cannot contain '&' or '#' characters."
do not directly update from v3.xx, check the changelog from v4.0.
- Added an option to restrict the use of color codes with a permission (check the config)
 
You need to reset your config. Otherwise you can add this at the level of team.create:
require-perm-for-color-codes: false
You need to reset your messages file. Otherwise you can add this at the end of the file:
use-colours-missing-permission: "&3You don't have the required permission to use color codes"
do not directly update from v3.xx, check the changelog from v4.0.
This version is production-ready, but the file is still marked as BETA since i didn't create the migrator for v3.x yet.
- Added support for Hex color codes (#ffffffWHITE)
 
if your not updating from v4.0.4-BETA you need to regenerate your config completely
do not directly update from v3.xx, check the changelog from v4.0 This version can be considered production-ready.
- Now you can use color codes in team name (check the config)
 - some minor bug fixes
 - modified config structure to make it easier to understand
 
You need to regenerate your config completely
do not directly update from v3.xx, check the changelog from v4.0 This version can be considered production-ready.
Now team creation can charge players game currency via Vault
Vault and an economy plugins are required to enable this feature
You need to reset your config. Otherwise you can add this at the end of the config file:
economy:
  # Whether to enable economy (Vault is required)
  enable: true
  # The cost to create a team
  team-create: 100.0
You need to reset your messages file. Otherwise you can add this at the end of the file:
not-enough-money: "&3You don't have enough money for this action. Required balance is: &6%MONEY%"
do not directly update from v3.xx, check the changelog from v4.0 This version can be considered production-ready.
fixed errors while using SQLITE/H2/PSQL and some minor issues.
do not directly update from v3.xx, check the changelog from v4.0
Removed unnecessary messages in console while using cross-server and some minor issues
don't update directly from 3.xx. read changelog from v4.0
Cross-Server Support!
This version finally adds support for multi-instance setups. You will need a MySQL/MariaDB database and optionally (for more performance) a Redis server.
THE CURRENT DATABASE SCHEMA ISN'T COMPATIBLE!!! While this version might be utilized for production, as i tested it a lot, you can't use data from previous versions. If you try you might permanently corrupt all data! (i will create a migrator in the next updates)
This version is almost a complete rewrite of the plugin, i fixed a lot of issues and i honesty don't remember them all, but here's all i can remember:
- Cross-Server support
 - Now Allies and Enemies are considered "relations" between teams. Each team can add any other team as either Ally or Enemy, but they are considered so only if both teams have the same relation for each other
 - PvP between allies is restricted
 - Finally added allychat
 - teamchat and allychat now support %TEAM% and %PLAYER% placeholders in the format
 - new Lib for Folia support (coming in the next versions)
 - /team ally/enemy remove commands will only show allied/enemies team in the suggestions (command completion)
 - if an invite gets denied the sender will receive a notification
 - A LOT of bug fixes and other small new features
 
To update you need to regenerate both your config.yml and messages.yml
If you find any issue with this version, or wish to see new features please open an issue on GitHub
commit: https://github.com/xF3d33/UltimateTeams/compare/main...cross-server


