Commit Graph

32 Commits

Author SHA1 Message Date
Redecouverte
9b4a7c705b configuration is now per-world, updated permissions, made commands compatible with console where possible, /region flag now checks correctly for permissions, & some fixes 2011-02-25 16:50:28 +01:00
DarkLiKally
3341574e02 Replaced some tabs with spaces 2011-02-25 12:22:58 +01:00
DarkLiKally
b9fe5d2afc Added iConomy support:
- Ability to pay for claiming a region (price per block)
- Ability to create buyable regions with custom price

NOTE: inserted only placeholders for countBlocks(); so buy on claim will not work correctly

INFO: I had not enough time to test it
2011-02-25 01:36:47 +01:00
DarkLiKally
5f12d99e73 Added water flow flag 2011-02-24 23:14:26 +01:00
Redecouverte
5411a294e7 implemented heal, greeting and farewell flag 2011-02-24 21:14:42 +01:00
Redecouverte
f821e277de geter with default values for extended AreFlags data 2011-02-24 21:11:31 +01:00
Valentin Churavy
18c2164049 added basic support of region teleport in ProtectedRegion 2011-02-24 20:29:47 +01:00
Valentin Churavy
cd599849b2 55: Improved corner handling (Corners are now always inside a
PolygonalRegion)
2011-02-24 17:32:06 +01:00
Redecouverte
23aa6dc743 getAreaFlag now respects region priority 2011-02-24 14:52:22 +01:00
Redecouverte
b90fb6a2b0 polygonal regions are now recognized by /region command, added extended AreaFlags data functions to ApplicableRegionSet, fixed isFlagAllowed in ApplicableRegionSet can only be executed once problem, updated region managers to not just forward all regions to ApplicableRegionSet 2011-02-24 14:24:23 +01:00
Redecouverte
17c8ed9ebc fixed typo in getRegionManager 2011-02-24 12:42:20 +01:00
Redecouverte
a091a32c26 updated imports and comments 2011-02-24 12:14:26 +01:00
Redecouverte
23970a4e36 extended AreaFlags data storage, fixed typo on renaming old regions.txt 2011-02-24 12:06:27 +01:00
Redecouverte
f61a9ab5cc added multiworld support for regions and json region database 2011-02-24 11:19:35 +01:00
DarkLiKally
c9c747693d Added ability to change default values of region's flags in config.yml for: FLAG_LIGHTER, FLAG_TNT, FLAG_CREEPER_EXPLOSION, FLAG_MOB_DAMAGE 2011-02-22 15:06:25 +01:00
Valentin Churavy
4b72805a69 55: ProtectedPolygonalRegion should now handle edges better. 2011-02-22 13:58:05 +01:00
sk89q
aee81f918e Added polygonal regions. They don't save/load yet, nor can you make them in-game yet. They were tested to work a week ago though. 2011-02-20 12:10:42 -08:00
sk89q
feb9ce6633 Re-added priority tree region manager implementation. Add and removal operations are not yet optimized. 2011-02-12 16:09:21 -08:00
sk89q
43489ca087 Changed how ApplicableRegionSet iterated over the region set, allowing it to be reused. 2011-02-12 15:49:55 -08:00
sk89q
005ac41820 Added PvP default flag. 2011-01-30 01:36:59 -08:00
sk89q
f666f1baa9 Fixed creeper and chest flag conflicting. 2011-01-24 09:12:32 -08:00
sk89q
772d2cb580 Added ability to disable chest protection. 2011-01-24 02:35:33 -08:00
sk89q
765d7402fa Added parent-child relationships to regions, overhauled region code, added global build flag, improved flag support. 2011-01-21 15:23:11 -08:00
sk89q
5fdd26b53f Fixed CSVDatabase spitting an error if the owners list was empty. 2011-01-20 02:01:50 -08:00
sk89q
251647c7a2 Added some priority support. 2011-01-17 02:31:32 -08:00
sk89q
95f49f34d0 Cleaned up code. 2011-01-17 00:19:23 -08:00
sk89q
b01b67f64c Cleaned up code. 2011-01-17 00:16:02 -08:00
sk89q
30d9978412 Fixed various issues with regions. 2011-01-16 11:54:03 -08:00
sk89q
5db7f124ac Added region claiming, some fixes. 2011-01-16 10:44:37 -08:00
sk89q
484fe22e9e Finished up regions support. 2011-01-08 18:26:49 -08:00
sk89q
960dc2cd48 Changed ProtectedCuboidRegion to do its bounds check without Vector. 2011-01-08 16:35:15 -08:00
sk89q
345ac35649 Added area protection code borrowed from WorldEdit. While the framework is currently quite flexible, the implementation still needs work. 2011-01-08 02:04:21 -08:00