1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-14 02:24:16 +02:00

460 Commits

Author SHA1 Message Date
ElgarL
6329acf951 Expand GlobalGroups.yml and groups.yml to cover the VanishNoPacket
plugin. Demonstrating how to negate and add nodes when using the '*'
permission with inheritance.
2012-04-11 19:10:28 +01:00
ElgarL
59cf271674 Fix 'manuadd' to use the default or selected world (via 'manselect'), if
the world is not specified in the command.
2012-04-10 20:48:34 +01:00
ElgarL
41a786b836 Stop the error on shutdown if GM failed to load at startup.
GroupManager will now generate it's own log (in the GM folder) to
keep things tidy, but also to account of those players unable to
find/access their server.log.
Startup errors will now lock out ALL commands other than '/manload'
2012-04-10 20:40:04 +01:00
ElgarL
5e5038d05c Properly fix concurrent modification when removing all attachments. 2012-04-10 17:02:50 +01:00
ElgarL
930c2809a4 Added missing confirmation message on '/manload'. 2012-04-07 21:30:49 +01:00
ElgarL
c0133d45d7 Better handling of errors in user and group yml's. 2012-04-07 19:24:46 +01:00
ElgarL
f6daf12e36 Fix a concurrent modification error when removing all attachments. 2012-04-07 17:21:48 +01:00
ElgarL
321543089b Expand 'manwhois' to also list a users subgroups. 2012-04-07 11:47:07 +01:00
ElgarL
43c733393c Remove all permission attachments when performing a manload or restart. 2012-04-06 12:53:36 +01:00
ElgarL
006f8c3a73 Don't throw errors when attempting to remove permission attachments
(bukkit will have already removed it).
2012-04-05 21:06:48 +01:00
snowleo
4ffe3b7a23 Merge remote-tracking branch 'origin/groupmanager' 2012-04-05 17:05:43 +02:00
ElgarL
a407c6ed0c Fix an error I caused trying to modify an unmodifiable list when parsing
'*' permissions.
2012-04-05 15:02:08 +01:00
ElgarL
d8891569e9 Update to 2.0
Fix GM reporting of permission inheritance to retain the correct order.
Lower inheritance groups can no longer negate a higher groups
permissions.
2012-04-05 12:54:26 +01:00
ElgarL
77e15e9330 Prevent Null entries in group inheritance from throwing errors. 2012-04-03 14:30:27 +01:00
ElgarL
99e315e625 Added a new permission node 'groupmanager.op'. This will cause players
with this node to be treated as op's when using GroupManager commands
(they will still require each commands
permission node to use them).
2012-04-02 21:12:19 +01:00
ElgarL
4f2a13c223 Force remove player attachments on disconnect, and tidyup during player
join in case of any errors. Fixes a bug of losing permissions.
2012-04-01 03:44:37 +01:00
KHobbits
d6edf09eac Update default permissions. 2012-03-29 18:14:24 +01:00
ElgarL
0632fd253e Catch errors caused by bad indentation in yml's. 2012-03-29 14:02:53 +01:00
ElgarL
ee5922fbec Stop attempting to push empty permissions when players edit the yml's
incorrectly.
2012-03-29 13:41:59 +01:00
ElgarL
d1da8a3166 Update GlobalGroups.yml for new/changed Towny permission nodes. 2012-03-27 10:14:53 +01:00
ElgarL
e02a27fc8e Auto rename all case sensitive world folders to lower case (if
possible).
2012-03-26 20:06:59 +01:00
ElgarL
246c62ea15 Treat all world names as lower case for file handling (please check in
your worlds folder. You should have no folders with upper case letters
from now).
2012-03-26 19:18:19 +01:00
ElgarL
b13d2ae787 Correct Grammar 2012-03-22 17:54:59 +00:00
Michael Bonney
e0d15f8aa4 Removed Portuguese text, and added English replacements. Made more sense of the sentences, and also changed an incorrect message to it's proper form. 2012-03-21 16:13:34 +00:00
ElgarL
e111cb6f96 Don't remove an attachment on a player leaving as Bukkit never forgets
it. This fixes non mirrored permissions being messed up if a player
relogs.
2012-03-17 15:56:40 +00:00
ElgarL
ab825da214 Removed some debug spam. 2012-03-17 12:37:23 +00:00
ElgarL
3f15c9b52b Fix a globalgroup inheritance in groups.yml 2012-03-12 22:18:25 +00:00
ElgarL
fd32b29647 change []<> for optional command components 2012-03-06 16:23:57 +00:00
ElgarL
0b59531236 Expanded '/manuadd'to accept an optional variable for the world (eg
'/manuadd <player> <group> <world>').
2012-03-06 11:02:48 +00:00
ElgarL
af796bed24 Better reporting when a users.yml is failing to load. 2012-03-04 10:39:39 +00:00
ElgarL
a4e369b512 Minor change to globalgroups 2012-03-03 14:03:52 +00:00
ElgarL
47a03a993c Fix a silly logic error when testing bukkit perms 2012-03-03 13:47:59 +00:00
ElgarL
7b6d1b3226 Minor optimization when checking bukkit permissions. 2012-03-03 13:00:17 +00:00
ElgarL
0bea62ed00 Make 'manload' reload the config correctly. 2012-02-28 10:46:10 +00:00
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