Commit graph

30 commits

Author SHA1 Message Date
Lucas Nicodemus
8d5cdf04a8 Update copyright to reflect actual year date. 2012-04-24 12:45:46 -06:00
stevenh
b6b5a2f1ca Added compatibiliy shims for old method signatures without which existing compiled plugins will error with missing method ...
This fixes #410
2012-02-24 11:37:43 +00:00
stevenh
41dbd31aac Converted all files to LF line endings 2012-02-21 15:56:34 +00:00
stevenh
4c09e7b66f Potential fix for #390 fixing the return of group.Permissions listing permissions as negated permissions
Added TotalPermissions method to get the combined total permissions as used for HasPermissions
Added totalpermissions to output of /v2/group/read output in RestAPI
2012-02-20 10:58:46 +00:00
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
stevenh
c7a9ee32cd Added ChatColor helper to Group useful for output methods 2012-02-13 22:23:01 +00:00
Lucas Nicodemus
bf9d0137f1 Added any missing license headers to all files 2012-01-01 03:06:48 -07:00
Lucas Nicodemus
c6abbfe4d2 ReSharper code reformat to match naming conventions and stuff 2011-12-30 14:38:04 -07:00
Zidonuke
33d304a4fa Finish new prefix and suffix system for groups.
Removed admin chat stuff and will now use prefix/suffix's
2011-12-22 17:41:47 -05:00
Zidonuke
8cf298ad85 Save player data on backups
Server Side Inventory security improvements, blocking trashcan and "banks" items
CovertCorruption is now more thorough.
PvP Modes, normal, always, disabled now configurable
Initial group prefix/suffix implementation
Range checks reworked, Killing ice blocks now ignored for ice rod.
Adding a NPC name to item banlist will block it from spawning
Added configs to disable snowballs and clown bombs from npcs.
2011-12-22 17:32:51 -05:00
Zack Piispanen
56beeb446a Fixed modgroup to actually update the local( ram ) copies of the groups. Also set it up to properly delete from a group. 2011-11-26 00:28:46 -05:00
high
f90b530531 Parents now implemented correctly as a separate column.
Negate permissions now work again.
2011-08-17 17:19:56 -04:00
Twitchy
5ff8680ccb Adds chat colors to player groups. 2011-07-31 23:36:21 +12:00
Zack Piispanen
7f2ff7614f Premissions now inherit from groups listed anywhere in the db, not just below them.
TSDEV-39
2011-07-22 16:29:29 -04:00
Zack Piispanen
cfcc0e7276 groups work, with inheritance, still need to remove order by 2011-07-20 20:55:49 -04:00
Zack Piispanen
453d3ea3b6 group recursively gets permissions 2011-07-19 19:48:07 -04:00
Twitchy
0997b5bd5d Adds group manager, editable only by DB program. 2011-07-11 20:33:03 +12:00
high
7e8486527f Added command aliases. 2011-07-01 09:36:01 -04:00
ricky
efc5ed5fcf Dunno why VS makes that change 2011-06-16 10:33:50 +10:00
high
e9dd445055 Console can now use ingame commands. Although they are the chat commands so right now some wont work like the ones that spawn bosses at you, etc. 2011-06-14 21:44:32 -04:00
high
fff6e1bcbc Changed Group. This isn't java. Don't use accessor/mutator methods. Use properties. 2011-06-14 17:06:17 -04:00
Shank
169950d1fd Added year and author name to GPL ness. 2011-06-12 01:20:20 -06:00
Maverick Motherfucker
3a2c6bb314 gpl up in dis bitch 2011-06-11 21:35:29 -07:00
Shank
dfc4325e59 ReSharper Code optimization 2011-06-05 23:36:41 -06:00
Maverick Motherfucker
24f7756370 did a debug session, fixed bugs 2011-06-04 10:35:20 -07:00
Maverick Motherfucker
8344801128 Started work on revamping command system for permissions, but I'm out for the night, cya tomorrow 2011-06-03 22:28:05 -07:00
Maverick Motherfucker
3774c30f7d Removed useless permissions class and finished loading groups 2011-06-03 22:06:18 -07:00
Maverick Motherfucker
f5723ee834 did a debug session and fixed some errors 2011-06-03 22:00:46 -07:00
Maverick Motherfucker
6f3f53f0dc Added hardcoded superadmin group 2011-06-03 21:39:18 -07:00
Maverick Motherfucker
bb2e9559f0 Added code to convey idea before I write all of it out, also added default config files, everything is subject to change 2011-06-03 21:27:56 -07:00