1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-24 21:31:32 +02:00
Commit Graph

301 Commits

Author SHA1 Message Date
ElgarL
8967839e6d Remove unused imports. 2012-09-11 11:12:19 +01:00
snowleo
ed75ae3030 Missing final 2012-09-10 20:53:25 +02:00
snowleo
e02a0de520 Thread safety for GM 2012-09-10 20:49:07 +02:00
snowleo
128540b51e Revert bad synchronization
This reverts commit 9544bc35df.
2012-09-10 19:06:17 +02:00
ElgarL
f483545bbb Synchronize the world data holder. 2012-09-10 17:46:01 +01:00
ElgarL
9544bc35df Change to Hashtables to reduce the chance of a
ConcurrentModificationException pulling group/user data in an Async
thread.
2012-09-10 00:15:42 +01:00
ElgarL
ee10e8c7fc Include the GM version when logging errors. 2012-08-31 21:56:46 +01:00
ElgarL
2f6dd238b1 Give a better error when a subgroup is null. 2012-08-31 21:47:35 +01:00
ElgarL
221ccc498d iacc's anal 2012-08-21 21:28:26 +01:00
ElgarL
343cb169ef No more null errors from corrupt config.yml's. 2012-08-19 14:49:16 +01:00
ElgarL
73ebd8a24a Fix an error with Logging set to 'OFF' triggering a cast exception. 2012-08-14 13:26:02 +01:00
ElgarL
6ee9c8f8ec Better error report on malformed GlobalGroups. 2012-08-07 17:58:57 +01:00
ElgarL
b1d174292d Fix GlobalGroups not loading permission nodes. 2012-08-06 17:15:56 +01:00
ElgarL
03133fac97 Ignore stupid plugins which add empty permission nodes. 2012-08-06 07:05:20 +01:00
ElgarL
cdcbf2057e Fix mirroring now we are not using any Bukkit methods. 2012-08-03 11:15:14 +01:00
ElgarL
5e07ae3010 Stop using the YamlConfiguration in bukkit for our config handling. We
can now support periods in world names.
2012-08-03 10:36:26 +01:00
ElgarL
b7cf9d5681 Fix a cases sensitivity bug in world loading. 2012-08-03 08:54:06 +01:00
ElgarL
94b6f8f17c Fix a typo because Necrodoom is anal. 2012-07-13 16:22:52 +01:00
ElgarL
0e85f0f0be Change to our own Yaml parsing for globalgroups instead of using the
YAMLConfiguration class in bukkit.
2012-07-13 13:38:53 +01:00
ElgarL
2235364711 If a permission is found return the correct node for mangcheckp (not
null).
2012-07-10 14:35:08 +01:00
ElgarL
dfaa1db76f Merge branch 'groupmanager' of
https://ElgarL@github.com/essentials/Essentials.git into groupmanager

Conflicts:
	EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/BukkitPermissions.java
2012-07-10 14:27:50 +01:00
ElgarL
2ecddaa46e Stop force removing attachments and let Bukkit handle it's own mess. 2012-07-10 14:10:13 +01:00
Matt Baxter
733eaf7453 Fix critical flaw in permissions removal.
Potential for removing the removal entirely but this can be figured out later.
2012-07-10 06:24:17 -03:00
ElgarL
3767df465f Throw a better error than 'null' when someone removes all groups from a
yml.
2012-07-06 08:33:57 +01:00
ElgarL
ce0fdbb5cb Ignore any sub folders in the Worlds folder which start with a period
(fix for storing data in svn respoitories).
2012-07-04 11:32:17 +01:00
ElgarL
1e880373d4 Fix loading users with only numerals in their names to be seen as
strings.
2012-06-24 13:10:22 +01:00
ElgarL
2b3a1b3778 Only output a Data update message if something has changed. 2012-06-22 15:44:04 +01:00
ElgarL
a5bac7a3c8 Better update for the User object player reference. 2012-06-16 19:12:54 +01:00
ElgarL
8a8e7272f5 Clear the player reference on logout so it's refreshed upon a reconnect. 2012-06-16 19:04:40 +01:00
ElgarL
14b2af7d7b Allow 'manucheckp' to notify when superperms reports false but it is
really negated.
2012-04-22 12:12:50 +01:00
ElgarL
e843009a76 Fix forgetting sub groups on a manload. 2012-04-21 16:58:22 +01:00
ElgarL
e433b11f00 Remove unneeded dependency of craftbukkit (Eclipse building) 2012-04-21 02:32:02 +01:00
ElgarL
e2b92b6fa2 Prevent null perms getting past the GlobalGroups loader. 2012-04-18 22:22:35 +01:00
ElgarL
1df54c7984 Fix a couple of perms in GlobalGroups 2012-04-17 18:57:11 +01:00
ElgarL
a926f6c21d Re-initialize the WorldsHolder on a reload, as un-registering and
re-registering a new holder means all plugins have to check for the new
service on every quiery.
2012-04-16 23:54:33 +01:00
ElgarL
34569ba6c0 Correct formatting in command list. 2012-04-13 23:56:50 +01:00
ElgarL
31ce82edda Finally remove all deprecated methods. 2012-04-13 15:16:08 +01:00
ElgarL
a5dcfdbabb Code tidy 2012-04-13 15:00:55 +01:00
ElgarL
59b204d410 Stop using our own deprecated methods as we tell others to do. 2012-04-13 14:57:23 +01:00
ElgarL
b838cde648 Update all code formatting to use tabs for indentation. 2012-04-13 14:40:26 +01:00
ElgarL
2baa87036c Fixed the 'last' nested throw/catch and rework all user and group
reading to be certain to trap all errors.
2012-04-13 13:58:05 +01:00
ElgarL
f9b44317f0 Unregister the worldsHolder as a service on a reload/shutdown instead of
the whole plugin.
2012-04-12 03:21:38 +01:00
ElgarL
93b685d2ce Fix silly nested throw/catch statements. Errors are now correctly
generated when reading yml's.
2012-04-12 01:21:22 +01:00
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