TShock/TShockAPI/DB
stevenh 098363a9cc Fixed internal object and DB inconsitencies for modified default groups
Fixed console errors for failed parent dependencies of default groups that already exist caused by fb11729547 consistency fixes

Made GroupManager.groups readonly to discourage overwriting it. Could still do with better encapsulation to prevent consistency problems if modified externally.

Added UpdateGroup method to GroupManager

Refactored Group handling of permissions and chatcolor to prevent inconsistent data
Notably:-
* AddPermission now does the right thing when passed the string "!permission"
* Converted ChatColor from method to getter / setter

Added RemovePermission to Group

Refactored GroupManager Permissions handling to ensure consistent data between DB and internal objects

Removed redundent AddGroup method in preference to a default value on the main method

Correct some tabs vs spaces

Added ParentName helper to Group

Fixed inverted parameters to error "Invalid parent {0} for group {1}"
2012-02-16 11:23:39 +00:00
..
BanManager.cs Added exception handling option to AddBan & Remove Ban 2012-02-16 11:11:30 +00:00
DBTools.cs Few other fixes 2011-08-06 13:49:47 +12:00
GroupManager.cs Fixed internal object and DB inconsitencies for modified default groups 2012-02-16 11:23:39 +00:00
InventoryManager.cs Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
IQueryBuilder.cs Fixed missing UNIQUE constraints when using SQLite 2012-02-13 23:44:58 +00:00
ItemManager.cs somepony forgot debug message here 2012-01-12 14:29:00 +01:00
RegionManager.cs option to overload Region.InArea() with x,y for more accurate Region detection. 2012-02-04 18:00:33 -05:00
RememberPosManager.cs Don't use remembered pos if we are on a different WorldID 2012-02-04 17:01:27 -05:00
SqlColumn.cs Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
SqlTable.cs Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
SqlValue.cs Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
UserManager.cs Added GetUsers method mirroring GetBans to enable RestAPI to provide a full users list as well as an active one 2012-02-13 22:23:01 +00:00
WarpsManager.cs Added any missing license headers to all files 2012-01-01 03:06:48 -07:00