Fixed paper API version, improved developers API
New Plugins Wiki: https://ultimateteams.gitbook.io/ultimateteams-docs
This is to be considered a major version, because of the big changes i've done.
So please read carefully and do not just drag and drop the file
New Features:
- Team Bank. Teams can now deposit and withdraw money from the team bank
- Team Join Fee. an option can be enabled to allow team owners (and managers) to set a join fee, that will automatically taken from players upon accepting an invite
- Invites now send a message featuring buttons to accept/deny the invite
- invites can now be sent with just /team invite <name>
- there is a new option in the config to always open the team list GUI when using /team list
- The messages now use MineDown, being 100% customizable, and the config has a new format to help finding messages
- Players can now disable invites /invites <enable/disable>, so a player with disabled invites can't be invited in a team
- the chatspy command now has some alies to prevent other plugins overriding the command: /teamchatspy, /tchatspy
- Added 3 new perms for team managers: FEE (manage the join fee), DEPOSIT (deposit money into the team bank), WITHDRAW (withdraw money from the team bank)
Fixes:
- Message sent upon wrong usage of the allychat is now customizable in messages.yml
- Message sent upon wrong usage of the team create command is now customizable in messages.yml
- Switched to the paper integration of the command manager for better performance
- chat spy messages will no longer sent to discord while using DiscordSRV
- fixed an issue that would prevent the plugin to load when Vault was not installed
- fixed an issue in the team gui that would diplay the members line for each team member
- fixed an issue that would send the teleport confirmation message 2 times in some cases
- much more that i can't remember
TO UPDATE:
if you missed the latest beta version go check out the changelog for it, and be sure to change that option in the config for team echests, otherwise they won't work
Delete your config.yml file.
Delete your messages.yml file
i did not have enough time to migrate all the messages to the new format. They will work just fine, and you can use MineDown in any of them to have new features such as clicable buttons, hover text, etc. i will do it within the next versions, so you will be able to do copy and past them manually, or just regenerate the file.
SPIGOT IS NO LONGER SUPPORTED
Will i be affected? most probably not. Almost all the servers (checking from bstats) are using paper forks, that includes like Purpur, pufferfish, leaf etc. If you are not using paper, use it. it is just way more optimized and there is no reasons to use spigot anymore.
1.19.4+ ONLY FROM NOW ON
As for paper, also almost everyones uses at least 1.20, so i updated to the 1.19.4 api to have more features that can help me bring more to the plugin. if you are running an older version don't update the plugin as it won't work.
If you find any issue please report them on GitHub
Added Team EnderChests!
This version is 99% production-ready but i marked it as beta while waiting for more tests and reported issues.
Teams can now have one or more shared enderchest (with variable size)
permission to use the echest: ultimateteams.team.echest
Team Echests are not compatible with cross-server yet
Admins can view, manage, delete, add, backup and rollback teams echests with their dedicated command **/teamadmin echest **
other fixes/additions:
- teams will now be updated even if there are no players online for cross-server setups that use REDIS (impossible with pluginmessage due to its limitations)
- teamchat spy messages will not be sent via discordsrv anymore
- invites now feature a clickable button for who receive it
- echests are updated real-time to prevent item dupes
TO UPDATE:
-
delete both your config.yml and messages.yml files
-
enable enderchest migration in the config, wait for the server to start, then disable it and restart again.
Thanks to dei0 for the echest system. check out his fork of ultimateteams, that features a slighly different team management (like upgrades for more members and warps)
INFORMATION REGARDING THE NEXT VERSION
in the next version i will convert the messages file to a new format, and it will be published probably within 2-3 days, so i wouldn't recommend you to change the messages file after it regenerates, since you will have to do it again.
i am also gonna add a little bank system, featuring only team balance for now, but with the future vision of adding an optional level system.
End Crystal will no longer damage players that are on the same teams/allies when friendly fire is disabled.
regarding respawn anchors, check here: https://github.com/xF3d33/UltimateTeams/issues/94
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.


