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

330 Commits

Author SHA1 Message Date
ElgarL
cb166b7db3 Minor optimization for groups 2011-11-25 16:34:34 +00:00
ElgarL
4964918172 Raised bukkit perms priority 2011-11-25 16:01:46 +00:00
ElgarL
75dabb0b32 Fix superperms to pass all tests
http://dev.bukkit.org/server-mods/superpermstest/
2011-11-25 15:49:35 +00:00
ElgarL
cbf8d1046d minimal optimizations 2011-11-24 16:45:57 +00:00
ElgarL
b07118a051 optimize getPermissionList 2011-11-24 16:34:05 +00:00
ElgarL
179a2ecff7 More optimization (charAt(0)) 2011-11-24 16:05:41 +00:00
ElgarL
bf8ee036d1 remove unused imports. 2011-11-24 16:00:46 +00:00
ElgarL
acd1c61c52 rewrite of comparePermissionString (snowleo) 2011-11-24 15:57:21 +00:00
ElgarL
8bc38bd5fa Optimize comparePermissionString 2011-11-24 15:28:32 +00:00
ElgarL
e5bb463269 remove bukkit perms check from checkUserPermission as it's performed in
checkFullUserPermission
2011-11-24 14:05:25 +00:00
ElgarL
8bcca0526b Optimize sorting to speedup permission tests. 2011-11-24 13:26:30 +00:00
snowleo
5a05219595 Merge branch 'refs/heads/groupmanager' 2011-11-22 15:12:20 +01:00
snowleo
e2b591b8ff GM does not need CraftBukkit 2011-11-22 06:02:47 +01:00
ElgarL
0c1d9d4e21 Stop throwing errors on an empty users file. 2011-11-21 09:51:31 +00:00
snowleo
8b2d076833 CB# 1467 B#1022 2011-11-20 14:03:00 +01:00
ElgarL
e33c2940be better groups match checking for globalgroups 2011-11-20 02:27:25 +00:00
ElgarL
ed272e3fee Prevent Group.equals tests throwing a NullPointerException for
GlobalGroups.
2011-11-19 20:46:34 +00:00
ElgarL
50f07f4ad7 Fixed a crash on reload due to bukkit not unloading plugins before
reloading.
2011-11-17 14:28:33 +00:00
ElgarL
bc1e16fcf1 Fixed GM holding files open and causing the time stamp to be incorrect.
This caused GM to require a '/mansave force' when it shouldn't be
needed.
2011-11-17 05:46:01 +00:00
ElgarL
0e1e5c8ead Added comments to groups.yml for global groups 2011-11-15 18:17:18 +00:00
ElgarL
6a5658f4f4 Remove bperms nodes which shouldn't be in globalGroups 2011-11-08 13:03:32 +00:00
ElgarL
de63a0ac1f Change to default users as examples 2011-11-07 22:15:58 +00:00
ElgarL
8704d6ed3a Minor optimization for Group loading/clone 2011-11-07 15:33:15 +00:00
ElgarL
51bcd3bac4 Fix for Users file being flagged as updated when it wasn't. 2011-11-07 01:59:12 +00:00
ElgarL
767422c8c8 Fixed Group/User reloading
Fixed Group.clone(dataholder)
2011-11-05 15:41:40 +00:00
ElgarL
5d9f11aecc Fix for file date conflict causing memory data to be wiped. 2011-11-04 23:13:42 +00:00
ElgarL
65b13ebebc Optimize notify test so it's not run as often 2011-11-04 18:20:09 +00:00
ElgarL
bf78620b5d Fix string compares 2011-11-04 18:12:37 +00:00
ElgarL
5086c2e4b7 Notification of being moved to the default group only happens if it's a
demotion/promotion (not on join).
2011-11-04 17:51:29 +00:00
ElgarL
7926792000 Fixed up javadoc comment errors 2011-11-04 09:36:11 +00:00
ElgarL
eba96c110b Fix for an error in checkFullUserPermission caused by players
disconnecting mid perms update.
2011-11-03 20:42:34 +00:00
ElgarL
5ef08d2250 Fix for an error in checkFullUserPermission caused by silly requests for
a null perm.
2011-11-03 20:29:30 +00:00
ElgarL
ceba3e0899 GM will now check to see if it's data files have been changed at each
scheduled save.
	  If the files have been altered (on disc) it will reload, so long as
the in-memory data hasn't changed.
	  If the files on Disc have changed AND there have been changes to it's
in-memory data it will show a warning.
	  You then MUST issue a '/mansave force' to overwrite the disc files,
or a '/manload' to overwrite the memory data.
2011-11-02 22:33:29 +00:00
ElgarL
4ee2f557a8 Prevent setting 'minutes' in the config to zero causing an error. 2011-11-01 12:12:32 +00:00
ElgarL
7bdb07536a Added a config.yml setting of 'validate_toggle' for those who prefer
'mantogglevalidate' to always be off.
2011-10-31 20:41:50 +00:00
ElgarL
976cdb7868 Expanded 'canUserBuild()' to include inheritance and subgroups. 2011-10-31 20:20:57 +00:00
ElgarL
1606260680 Fixed an error on 'manucheckv'. If the users doesn't have the variable
it fell through causing an exception.
Added checking of subgroups for Info nodes.
2011-10-31 20:07:21 +00:00
ElgarL
2e24240c49 Added Info node support to Global Groups. 2011-10-31 17:23:24 +00:00
ElgarL
1d477d8414 Typo's and formatting 2011-10-31 09:14:58 +00:00
ElgarL
40683e2429 Global Groups yml and class 2011-10-31 08:34:57 +00:00
ElgarL
45e19d724d Added Global Groups
Defined in groupmanager/globalgroups.yml.
Create groups in the yml with a g: prefix, then inherit in the worlds
groups files.
2011-10-31 08:34:07 +00:00
ElgarL
e85e721b4b Fixed GM loading world data files twice at startup.
Improved error reporting for invalid groups.yml
2011-10-31 02:06:25 +00:00
KHobbits
3150b73336 Cleanup last references to portal management in Essentials. 2011-10-30 01:37:18 +01:00
ElgarL
fd936c582a Fixed GM to recognize Superperm child nodes.
If you add a node like Towny.admin GM will now correctly report on
all child nodes.
2011-10-28 18:43:29 +01:00
ElgarL
7770c0b99c v 1.5:
- Fixed opOverrides and bukkit_perms_override to read the correct
entries.
	- Better commenting in config.yml
2011-10-27 00:04:54 +01:00
ElgarL
2951cca559 Added data.save.hours setting to config. This allow control over how
long backups are retained.
2011-10-16 08:58:45 +01:00
ElgarL
fff6601237 Simplified config.yml while retaining backwards compatibility. 2011-10-16 03:35:55 +01:00
ElgarL
9a1084ede9 Fixed reading world mirrors from the config. 2011-10-16 01:23:25 +01:00
ElgarL
ae8500fad4 Added a config setting - bukkit_perms_override: false
Enable to allow default Bukkit based permissions to remain enabled,
unless directly negated within GroupManager.
2011-10-12 00:16:53 +01:00
ElgarL
f4a8752ee0 v 1.4:
- Updated for Bukkits new YamlConfiguration.
	- Cleared remaining Cast errors cause by object cloning.
2011-10-11 22:05:21 +01:00