Jeffrey Wardian
c6f2ec2eee
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
a11efdcfb7
Made clearPermissions public. Addresses BUKKIT-1541
2012-04-27 12:31:42 -05:00
feildmaster
1eb3d54c4b
We default to OP
2012-04-27 04:59:53 -05:00
Wesley Wolfe
23c519acb7
[Bleeding] Reworked OBP.Permission. Addresses BUKKIT-1120 and addresses BUKKIT-1121
2012-03-15 06:45:49 -04:00
Celtic Minstrel
d839b6d639
Fix javadoc errors/warnings
2012-02-29 21:31:28 -05:00
Wesley Wolfe
ca7aab6f4f
[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
88c17a7f86
Generic cleaning
2012-01-15 14:37:43 +01:00
Erik Broes
b9fca3c04d
Generic cleanup of warnings, whitespace and style.
2011-12-25 16:02:30 +01:00
Nathan Adams
841872d591
Fixed issue with hasPermission returning false wrongly
2011-11-02 22:49:25 +00:00
Nathan Adams
cf34c6c305
Fixed using the wrong type of Map for storing perm attachment values
2011-10-27 22:03:21 +01:00
Dinnerbone
fe4f4c5f58
Many javadoc fixes thanks to Celtic Minstrel
2011-09-25 02:56:40 +01:00
Dinnerbone
8068859828
hasPermission should return correctly for undefined permissions
2011-09-21 00:54:40 +01:00
Dinnerbone
78ad4c3f22
All permissions now default to OP unless stated otherwise.
2011-09-21 00:29:01 +01:00
Dinnerbone
5774aaa6a0
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
11ac7cd366
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
e1f69e0867
Added the ability to access offline players & more reverse lookup fixes in Permissible.
2011-09-03 00:41:22 +01:00
Dinnerbone
ce0d959728
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
ca86ea1eb7
Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission
2011-07-20 18:05:04 +01:00
Dinnerbone
40bbf19ca2
Correctly report bad values for children perms in plugin.yml
2011-07-18 20:52:38 +01:00
Dinnerbone
fb594732b5
Added new permission system
2011-07-17 17:17:47 +01:00