xF3d33 / UltimateTeams

https://modrinth.com/plugin/ultimate-teams
GNU General Public License v3.0
5 stars 4 forks source link

Teams can be created with a space in there name, breaking commands #13

Closed Feryc-Projects closed 2 months ago

Feryc-Projects commented 10 months ago

players can create team names such as "team team"

but these names do not get respected by the Ultimate Teams like when disbanding the team by teamadmin disband team team [12:54:46 INFO]: Could not find player team. They may be have not joined before.

xF3d33 commented 10 months ago

Hello, thanks for your report. so, I have to make so the plugin doesn't let you create a team with a space? also, are you using mysql or sqlite?

Feryc-Projects commented 10 months ago

plugin: Ultimate Teams 2.0.4 (standard no custom changes) server core: git-Paper-196 (MC: 1.20.1) sqlite brand new map (no config changes)

[13:43:25 INFO]: Feryc issued server command: /team create test test [13:43:25 INFO]: [UltimateTeams] Attempting to connect to database [13:43:25 INFO]: [UltimateTeams] SQLite Database Connected! image

most commands do not respect the team names with a space also it's not necessary to have the team names with a space, as if needed can still be set in prefix

xF3d33 commented 2 months ago

this should be fixed with the new version (2.1). if not, please let me know.