1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-23 21:01:37 +02:00
Commit Graph

226 Commits

Author SHA1 Message Date
ElgarL
c51a22df1b Prevent promoting players to, and demoting to GlobalGroups. 2012-02-25 09:29:54 +00:00
ElgarL
48072b6c99 Prevent adding inheritances to globalgroups. These are permissions
collections, not player groups.
2012-02-25 09:22:54 +00:00
ElgarL
f3f29351da Removed BukkitPermsOverride as this is now the default with bukkit
handling child nodes.
2012-02-21 18:40:54 +00:00
ElgarL
d904709d06 Update for Bukkit R5 compatability.
Removed some unused variables.
2012-02-21 18:38:08 +00:00
snowleo
e37fd0383c Merge branch 'refs/heads/groupmanager' 2012-02-21 17:34:45 +01:00
snowleo
8cd0c2d81d Updated Essentials to work with R5 2012-02-21 17:33:46 +01:00
ElgarL
a1959783f3 A command of '/manload' with no world arguments now performs a full
reload of GM.
2012-02-18 09:05:28 +00:00
ElgarL
f9b9110201 comment name change 2012-02-15 06:16:33 +00:00
ElgarL
3fd7635397 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
e6c762fdcb Depreciate PlayerTeleportEvent as it's all handled in
PlayerChangedWorldEvent.
2012-02-14 13:01:39 +00:00
ElgarL
ec654f6412 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
6404fc031a Add some commenting 2012-02-05 16:41:34 +00:00
ElgarL
29ec27d4fa 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
c8dfbb5383 Prevent getAllPlayersPermissions() processing a group more than once.
Improves performance when using complex inheritance structures.
2012-02-02 18:10:35 +00:00
ElgarL
d809c6d0c4 fix setGroup to only block superperms update if update is false. 2012-02-02 02:41:10 +00:00
ElgarL
0e3c4a1368 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
413b03315f Catch all errors in badly formatted groups. 2012-01-31 03:16:34 +00:00
ElgarL
83a227d050 Track the 'onPlayerChangeWorld' event as some teleports seem to not be
triggering a world move.
2012-01-30 17:08:55 +00:00
ElgarL
b5ae4f2955 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
00ca22bad1 .project change for Eclipse Build tool 2012-01-29 21:37:50 +00:00
KHobbits
f1cee6d0d9 Merge remote branch 'remotes/origin/groupmanager' 2012-01-29 20:57:54 +00:00
ElgarL
46a694d41b Fix players retaining permissions when demoted. 2012-01-29 10:54:24 +00:00
KHobbits
d60ae36a0c Merge remote branch 'remotes/origin/groupmanager' 2012-01-29 01:45:03 +00:00
ElgarL
cdfed7a79e silly formatting change to test gitbot 2012-01-28 18:01:17 +00:00
KHobbits
750fabcddd Merge remote branch 'remotes/origin/groupmanager' 2012-01-28 12:58:37 +00:00
ElgarL
5efb151b30 fix for an iterator error if there is only one element in the array. 2012-01-28 11:59:54 +00:00
ElgarL
c101c1ca6b Fixed a bug when pushing superperms in the wrong order. 2012-01-28 11:47:39 +00:00
KHobbits
4f1eb9f1cb Switch website URL's to point at wiki. 2012-01-28 00:20:46 +00:00
ElgarL
cacf235d18 Properly fix inherited negated nodes. 2012-01-27 13:09:11 +00:00
ElgarL
9077d6c9af do not allow inherited permissions to negate higher perms. 2012-01-27 12:38:00 +00:00
ElgarL
747b129aa2 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
dab4a4f587 Trap errors in fetching the mirrors map. 2012-01-25 22:43:07 +00:00
ElgarL
53d3bfa977 Check for a null player object in the PlayerTeleportEvent. 2012-01-25 22:35:24 +00:00
ElgarL
d7e814d55c Fixed subgroups (I broke earlier). 2012-01-25 22:33:22 +00:00
ElgarL
540b480427 Fix trying to modify an unmodifiable collection breaking superperms. 2012-01-25 01:20:44 +00:00
ElgarL
59a78f05c7 Fix typo/wording in changelog
Allow negation to the * permission node when populating superperms.
2012-01-24 19:41:22 +00:00
ElgarL
3a559ae1ad Allow negations with the * permission node when population superperms. 2012-01-24 19:38:22 +00:00
ElgarL
09deec5770 Fix hasOwnData to return a correct result with new mirroring system 2012-01-24 15:37:21 +00:00
ElgarL
a3f1105a64 Fixed isInList 2012-01-24 15:35:20 +00:00
ElgarL
adcd99626f 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
710a27a53b 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
6237e2e51f 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
8d5224444c Separated all events to be independent classes. 2012-01-21 20:18:40 +00:00
ElgarL
0bf58b939d Fixed a random null error upon a player portaling. 2012-01-21 19:09:08 +00:00
ElgarL
84fc2887e3 Update to new Bukkit Event system.
Update GroupManagerBridge for new event system.
2012-01-21 11:47:08 +00:00
KHobbits
92c2e1777d Merge remote branch 'remotes/origin/groupmanager' 2012-01-19 15:34:00 +00:00
ElgarL
7ee3919175 Fixed text when adding a subgroup to not say the player was moved. 2012-01-19 13:08:57 +00:00
ElgarL
16d537bd6c Remove debug spam 2012-01-19 12:08:39 +00:00
KHobbits
3dcfb94ece Merge remote branch 'remotes/origin/groupmanager' 2012-01-18 20:04:50 +00:00
ElgarL
9c052b5178 Better optimize assembling of a players permissions and allow the * node
to populate all registered superperms.
2012-01-18 16:39:12 +00:00