1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-25 00:42:48 +01:00

218 Commits

Author SHA1 Message Date
ElgarL
341e5b0599 Depreciate PlayerTeleportEvent, PlayerRespawnEvent and PlayerPortalEvent
as it's all handled in PlayerChangedWorldEvent.
This also means we no longer update permissions before we change
worlds.
2012-02-15 06:15:31 +00:00
ElgarL
660bb8912e Depreciate PlayerTeleportEvent as it's all handled in
PlayerChangedWorldEvent.
2012-02-14 13:01:39 +00:00
ElgarL
2b854b217e Change Service registration to register WorldsHolder instead of
AnjoPermissionsHandler. This is the correct entry point for all data.
2012-02-11 10:36:55 +00:00
ElgarL
3b02d9ee91 Add some commenting 2012-02-05 16:41:34 +00:00
ElgarL
aaa92afc12 Fix world mirroring so it correctly creates data files and data sources
for partially mirrored worlds.
Fixed world mirroring so it returns the correct data for the
requested world
2012-02-05 16:30:58 +00:00
ElgarL
fadc8455cb Prevent getAllPlayersPermissions() processing a group more than once.
Improves performance when using complex inheritance structures.
2012-02-02 18:10:35 +00:00
ElgarL
cc6b2b7f8f fix setGroup to only block superperms update if update is false. 2012-02-02 02:41:10 +00:00
ElgarL
1894a5621c Fix a bug with getWorldData return the main world data for all mirrors,
instead of the worlds parent data.
2012-02-02 02:01:04 +00:00
ElgarL
dd1ce93811 Catch all errors in badly formatted groups. 2012-01-31 03:16:34 +00:00
ElgarL
a6eee4f654 Track the 'onPlayerChangeWorld' event as some teleports seem to not be
triggering a world move.
2012-01-30 17:08:55 +00:00
ElgarL
18fa38f3c0 Auto sort permissions on load to speed up population of superperms.
Negating a parent node after adding all nodes with * will now
correctly remove all child nodes of that parent before populating
superperms.
	  eg.
	      - '*'
	      - -vanish.*
	      - vanish.standard
2012-01-30 14:41:19 +00:00
ElgarL
8946f3a75a .project change for Eclipse Build tool 2012-01-29 21:37:50 +00:00
KHobbits
3ef32d1269 Merge remote branch 'remotes/origin/groupmanager' 2012-01-29 20:57:54 +00:00
ElgarL
c7474a9020 Fix players retaining permissions when demoted. 2012-01-29 10:54:24 +00:00
KHobbits
8e36855fb8 Merge remote branch 'remotes/origin/groupmanager' 2012-01-29 01:45:03 +00:00
ElgarL
3f2baa3c0b silly formatting change to test gitbot 2012-01-28 18:01:17 +00:00
KHobbits
7afb0d845e Merge remote branch 'remotes/origin/groupmanager' 2012-01-28 12:58:37 +00:00
ElgarL
4c78ab4f2a fix for an iterator error if there is only one element in the array. 2012-01-28 11:59:54 +00:00
ElgarL
17a3497b00 Fixed a bug when pushing superperms in the wrong order. 2012-01-28 11:47:39 +00:00
KHobbits
085250c72f Switch website URL's to point at wiki. 2012-01-28 00:20:46 +00:00
ElgarL
7695c9f5c7 Properly fix inherited negated nodes. 2012-01-27 13:09:11 +00:00
ElgarL
25806e7fa8 do not allow inherited permissions to negate higher perms. 2012-01-27 12:38:00 +00:00
ElgarL
6642d9996a Fixed an infinite loop error when using '/manudel' on a logged in
player. It caused setDefaultGroup to trigger a bukkit update when no GM
User existed yet.
2012-01-25 23:44:14 +00:00
ElgarL
29ca77791c Trap errors in fetching the mirrors map. 2012-01-25 22:43:07 +00:00
ElgarL
d6d4afc3f5 Check for a null player object in the PlayerTeleportEvent. 2012-01-25 22:35:24 +00:00
ElgarL
8a5eba9664 Fixed subgroups (I broke earlier). 2012-01-25 22:33:22 +00:00
ElgarL
d7bc467ee3 Fix trying to modify an unmodifiable collection breaking superperms. 2012-01-25 01:20:44 +00:00
ElgarL
8ba637a50a Fix typo/wording in changelog
Allow negation to the * permission node when populating superperms.
2012-01-24 19:41:22 +00:00
ElgarL
45ad79a0c2 Allow negations with the * permission node when population superperms. 2012-01-24 19:38:22 +00:00
ElgarL
6daee7b8a2 Fix hasOwnData to return a correct result with new mirroring system 2012-01-24 15:37:21 +00:00
ElgarL
ee9fcce050 Fixed isInList 2012-01-24 15:35:20 +00:00
ElgarL
5f626f1866 addSubGroup now returns a boolean for success/failure.
'/manuaddsub' now correctly reports if it was able to add the sub
group.
2012-01-24 14:21:07 +00:00
ElgarL
7d011cfe3a Added recursive loop detection for World mirroring (you may not set the
main world as a mirror of another).
Fixed fetching world data so it no longer returns the mirrored world
for groups. Each world data holder now points to the correct data set,
so can be returned as an object.
2012-01-24 14:08:53 +00:00
ElgarL
20e3179b3a Fixed infinite loop error on player join.
Optimized code to only update the player logging in instead of all
players online.
2012-01-22 23:46:26 +00:00
ElgarL
d83c7da92b Separated all events to be independent classes. 2012-01-21 20:18:40 +00:00
ElgarL
e638ef4f99 Fixed a random null error upon a player portaling. 2012-01-21 19:09:08 +00:00
ElgarL
be5c90e0b9 Update to new Bukkit Event system.
Update GroupManagerBridge for new event system.
2012-01-21 11:47:08 +00:00
KHobbits
45a44b526e Merge remote branch 'remotes/origin/groupmanager' 2012-01-19 15:34:00 +00:00
ElgarL
a5fb87e1d0 Fixed text when adding a subgroup to not say the player was moved. 2012-01-19 13:08:57 +00:00
ElgarL
4661382e7b Remove debug spam 2012-01-19 12:08:39 +00:00
KHobbits
e1b44c28e3 Merge remote branch 'remotes/origin/groupmanager' 2012-01-18 20:04:50 +00:00
ElgarL
6d59abaf72 Better optimize assembling of a players permissions and allow the * node
to populate all registered superperms.
2012-01-18 16:39:12 +00:00
ElgarL
a40ec03249 Added a tidy error message for invalid permission entries in
GlobalGroups.
2012-01-18 01:25:25 +00:00
KHobbits
7f633a110d Merge remote branch 'remotes/origin/groupmanager' 2012-01-17 23:50:05 +00:00
KHobbits
8096291cfa Merge remote branch 'remotes/origin/groupmanager' 2012-01-17 23:49:38 +00:00
ElgarL
6676461f65 v 1.9:
Optimize populating Bukkit perms so we no longer calculate the
child
nodes (Bukkit already does this).
2012-01-17 18:03:16 +00:00
ElgarL
a69f212232 Removed '- bukkit.command' form the globalgroups permission nodes. 2012-01-15 01:43:42 +00:00
KHobbits
72c3ca0b47 Merge remote branch 'remotes/origin/groupmanager' 2012-01-14 15:52:22 +00:00
ElgarL
dd93d7f99c Catch NullPointerErrors generated by blank permission nodes. 2012-01-14 15:48:55 +00:00
snowleo
9006183de4 Merge branch 'refs/heads/groupmanager' 2012-01-13 01:38:54 +01:00