Grrrrr. I had a really nice reply to this all typed up and then the power went out while I was verifying a few things before posting.
Well, here we go again.
1) Check all of your {}'s in UTeam.txt. You have a few mismatched ones
2) You are going to have create a new usergroup for each team that has the same access level, or they will all end up on the team with the lowest number.
Based on the information in your first post you will probably want to do something like
groups.txt
"superadmin"
{
"inherit_from"
{
"spanishcap"
"piratecap"
"englishcom"
}
}
"spanishcap"
{
"inherit_from"
{
"admin"
"spanish"
}
}
"piratecap"
{
"inherit_from"
{
"admin"
"pirate"
}
}
"englishcom"
{
"inherit_from"
{
"admin"
"english"
}
}
"admin"
{
"inherit_from"
{
"operator"
}
}
"operator"
{
"inherit_from"
{
"respected"
}
}
"spanish"
{
"inherit_from"
{
"respected"
}
}
"pirate"
{
"inherit_from"
{
"respected"
}
}
"english"
{
"inherit_from"
{
"respected"
}
}
"respected"
{
"inherit_from"
{
"user"
}
}
UTeam.txt
"Out"
{
"teams"
{
"1"
{
"name" "Admiral"
"group" "superadmin"
}
"2"
{
"name" "Spanish Armada Capitán"
"group" "spanishcap"
}
"3"
{
"name" "Pirate Capitan"
"group" "piratecap"
}
"4"
{
"name" "English Fleet Commander"
"group" "englishcom"
}
"5"
{
"name" "Spanish Armada"
"group" "spanish"
}
"6"
{
"name" "Pirate"
"group" "pirate"
}
"7"
{
"name" "English Royal Fleet"
"group" "english"
}
"8"
{
"name" "Beggar"
"group" "user"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}
Now obviously I've left off quite a few pieces from both for my own sanity's sake, but they should be trivial to add.
For groups.txt, start by copying the above over /garrysmod/data/ULib/groups.txt, then delete misc_registered.txt in the same directory. Restart your server, and ULX will re-apply all the default allow/deny tables. From there you can modify access to suit your needs. The inheritance should be fairly easy to follow, remember it's recursive, and only pulls the allows, not denies.
For UTeam.txt, just add in your colors, models, gamemodes, etc...
This will give you the nice branching structure I believe you are looking for, allowing you to assign people access to one of the three branches.
Also, you have me quite intrigued by this interesting team layout. If you don't mind me asking, how did this come about?