sk89q
0c0cbcc1b0
Added com.jolnox:bonecp as dependency.
2012-11-17 16:28:24 -08:00
sk89q
5882e30357
Add initialize() to RegionStoreFactory to allow some setup actions.
2012-11-17 16:27:50 -08:00
sk89q
4faf0a9b2e
YamlStore needs to call reindex() after loading.
2012-11-17 16:27:25 -08:00
sk89q
2e4093e953
Removed FatalConfigurationLoadingException and InvalidTableFormatException.
2012-11-16 17:00:50 -08:00
sk89q
1a9a3274a6
YamlStoreFactory added.
...
Example usage:
StoreFactory factory = new YamlStoreFactory(new File("regions"), "worlds/%s/regions.yml"));
2012-11-16 16:42:37 -08:00
sk89q
8671fbc396
Implemented YamlStore.close(), which does nothing.
2012-11-16 16:41:05 -08:00
sk89q
50c4b3c738
RegionStore and RegionStoreFactory now extend Closeable.
2012-11-16 16:40:29 -08:00
sk89q
23f0791231
Changed MySQLStore to LegacyMySqlStore.
...
We're going to need a new MySqlStore that is not so poorly written. This is going to need a lot of work.
2012-11-16 16:07:34 -08:00
sk89q
fa11dd6d62
Made YamlStore fit its interfaces so that there are no more compile errors.
...
It is, however, not yet ready, because it doesn't yet support custom flags or load in the old domain data.
2012-11-16 16:05:51 -08:00
sk89q
58fa6d1c0b
Extracted RegionStore.save(Collection<Region> added, Collection<Region> updated, Collection<Region> removed) into PartiallyUpdatableStore.
...
This is necessary because some stores need to always save the entire database at a time (namely the YAML store), and adding an "all" parameter to the partial save method would mean that partial stores could not be supported in the future.
2012-11-16 15:52:37 -08:00
sk89q
723f17b782
Region indices now implement Collection<Region>.
...
In addition, PriorityRTreeIndex now extends FlatIndex! That should reduce some code duplication.
2012-11-16 15:40:09 -08:00
sk89q
fe2e399451
RegionIndex now extends Iterable<Region>.
2012-11-16 13:49:33 -08:00
sk89q
6fa7faad12
Removed ProtectionDatabaseException and AbstractProtectionDatabase.
2012-11-16 13:43:14 -08:00
sk89q
c864a1c252
RegionStore.save(Region added[], Region updated[], Region removed[]) throws IOException as well.
2012-11-16 13:42:59 -08:00
sk89q
386288b89a
RegionStore's load() and save() methods can now throw IOExceptions.
...
ProtectionDatabaseException will be removed shortly.
2012-11-16 13:42:23 -08:00
sk89q
b3425b2630
Region is no longer abstract, added Region.setFlagUnsafe().
2012-11-16 13:39:26 -08:00
sk89q
f8105c3de0
Fixed Javadocs for shapes.
2012-11-16 13:38:44 -08:00
sk89q
bcf35085ed
Indices now have a separate reindex() method because large changes to the index have to be supported.
...
Therefore, indices are no longer thread-safe. They don't need to be.
2012-11-16 13:36:26 -08:00
sk89q
b7064cb102
Removed LegacyCsvStore and RegionDBUtil.
2012-11-16 10:12:59 -08:00
sk89q
6c282cfe0a
Moved Region's package to com.sk89q.worldguard.region.
2012-11-16 10:11:08 -08:00
sk89q
f8e0410d23
Finished com.sk89q.worldguard.region.shapes.
2012-11-16 09:28:46 -08:00
sk89q
e8274e76ca
Moved ProtectedRegion forward with some changes.
2012-11-15 17:17:56 -08:00
sk89q
393b15ac7a
Added IndexableShape and its abstract brother.
2012-11-13 23:19:11 -08:00
sk89q
38f40908ee
Say bye to com.sk89q.worldguard.domains.*.
2012-11-13 23:17:34 -08:00
sk89q
caee1df596
Moved MySQLToYAMLMigrator to com.sk89q.worldguard.migration.
2012-11-13 01:03:24 -08:00
sk89q
d9d655b6b2
Added RegionStore and RegionStoreFactory.
2012-11-13 01:02:41 -08:00
sk89q
cc9bbec1c9
Added support for RegionIndexFactories.
2012-11-13 00:57:29 -08:00
sk89q
2a504ffbde
Moved migration classes to com.sk89q.worldguard.migration.
2012-11-13 00:51:19 -08:00
sk89q
5f11c5710b
Changed RegionIndex.{add|remove} to take in multiple regions to update, which may be faster for some index types.
2012-11-12 21:33:05 -08:00
sk89q
5d3409be57
Moved region.indexes package to region.indices.
2012-11-12 21:29:02 -08:00
sk89q
ad921a2111
Updated the existing index code to work with the new RegionIndex interface.
2012-11-12 21:28:27 -08:00
sk89q
50ec8e5875
Added commons-lang:commons-lang:2.3 dependency.
2012-11-12 21:27:59 -08:00
sk89q
fc9e28ddb9
Started with defining the new RegionIndex.
...
This definitely no longer compiles.
2012-11-12 20:08:34 -08:00
sk89q
35e02459ea
Moved region classes to com.sk89q.worldguard.region. Preparing for some big changes.
...
The new classes will not (and should not) be backwards compatible, so the classes might as well be changed all around.
2012-11-12 01:24:34 -08:00
sk89q
0781ebc289
Added ?in-region and ?has-flag, and added the support to make protection models work.
2012-11-11 16:27:31 -08:00
sk89q
915e332a6b
Fixed issue with block-place RL event not being given a source entity.
2012-11-11 16:26:34 -08:00
sk89q
19859164ab
Moved settings loading in WorldConfiguration to loadSettings(), add preliminary loading of protection models.
2012-11-10 23:32:40 -08:00
sk89q
bb7f972897
Added resource models/ to distributed JAR.
2012-11-10 23:32:12 -08:00
sk89q
e355bb0055
Fixed missing exception message for an unknown action/criteria class in RuleEntryLoader.
2012-11-10 23:31:43 -08:00
sk89q
9b1b665da7
Removed some chest protection code, which will be replaced with RuleLists.
2012-11-10 22:35:57 -08:00
sk89q
6daf80229d
Fixed condition issue in EntityCriteria that broke entity type checking.
2012-11-10 21:29:31 -08:00
sk89q
dc1f3f54b1
Redesigned how RuleLists were compiled and created to be less roundabout.
2012-11-10 21:29:00 -08:00
sk89q
579143a5dd
Added support for the region query cache on Bukkit's side and added it to BukkitContext.
2012-11-10 10:48:25 -08:00
sk89q
f4e52f5cd7
Added Javadocs to BukkitContext.
2012-11-10 00:31:50 -08:00
sk89q
abea9689cb
Removed blacklist/region code for now, to be converted to RuleLists.
...
Additionally, a chat rule list event was added, the vehicle destruction event was routed to rule lists, and so was the bed enter event.
2012-11-09 14:49:45 -08:00
sk89q
2c7767f89f
Added RegionQueryCache, which will be used to for cached regions-contain-point lookups.
2012-11-09 12:18:54 -08:00
sk89q
5e75bf36c3
Added proposed protection models.
2012-11-06 22:04:25 -08:00
sk89q
a5814c4b32
Made the resolution of criteria parameters as all logical ANDs.
2012-11-06 10:29:41 -08:00
sk89q
70ae1c46a2
Fixed incorrect warning about unrecognized "entity" parameter in TellActionLoader.
2012-11-06 00:52:44 -08:00
sk89q
fc5c59ec85
Added support for the item attribute of the Context and routed PlayerInteract into item-use,.
2012-11-06 00:51:40 -08:00