Jeffrey Wardian
6ea916295b
Removed superfluous recalculation call; Fixes BUKKIT-3728
...
The permission attachment interface provides two methods each for setting
and unsetting permissions. Each one also provides an extra call to the
recalculatePermissions() method on the permissible, which degrades
performance.
This commit removes the duplicate call to recalculate permissions.
2013-03-12 01:07:26 -07:00
feildmaster
f922cd87be
Made clearPermissions public. Addresses BUKKIT-1541
2012-04-27 12:31:42 -05:00
feildmaster
1c7f9c3d31
We default to OP
2012-04-27 04:59:53 -05:00
Wesley Wolfe
b2d7e49190
[Bleeding] Reworked OBP.Permission. Addresses BUKKIT-1120 and addresses BUKKIT-1121
2012-03-15 06:45:49 -04:00
Celtic Minstrel
17403d617a
Fix javadoc errors/warnings
2012-02-29 21:31:28 -05:00
Wesley Wolfe
7db0e50da7
[Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
...
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList
Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.
2012-02-29 10:23:16 -05:00
Erik Broes
eb9dc64493
Generic cleaning
2012-01-15 14:37:43 +01:00
Erik Broes
dce83b6ce4
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
Nathan Adams
fa9a2e158b
Fixed issue with hasPermission returning false wrongly
2011-11-02 22:49:25 +00:00
Nathan Adams
78616678ea
Fixed using the wrong type of Map for storing perm attachment values
2011-10-27 22:03:21 +01:00
Dinnerbone
e6c273e8b0
Many javadoc fixes thanks to Celtic Minstrel
2011-09-25 02:56:40 +01:00
Dinnerbone
aebf55d1f8
hasPermission should return correctly for undefined permissions
2011-09-21 00:54:40 +01:00
Dinnerbone
870b8e2c9e
All permissions now default to OP unless stated otherwise.
2011-09-21 00:29:01 +01:00
Dinnerbone
326f2aca9b
Permission registration in plugin.yml can now be easier, see https://gist.github.com/32dca3e937c1c42a4ed2 - also added "default-permission" option.
2011-09-20 21:20:07 +01:00
Dinnerbone
40237df89c
Don't lazy-load in PermissibleBase. This'll be a performance hit, but it's causing subscription issues.
2011-09-04 00:23:50 +01:00
Dinnerbone
0484a8bd84
Added the ability to access offline players & more reverse lookup fixes in Permissible.
2011-09-03 00:41:22 +01:00
Dinnerbone
20dd09d983
Some small fixes to permissions to register the correct Permissible in base and more accurate reverse lookups
2011-09-02 23:39:01 +01:00
Dinnerbone
8fccc8ffca
Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission
2011-07-20 18:05:04 +01:00
Dinnerbone
f35c694d80
Correctly report bad values for children perms in plugin.yml
2011-07-18 20:52:38 +01:00
Dinnerbone
914da8e887
Added new permission system
2011-07-17 17:17:47 +01:00