Commit Graph

464 Commits

Author SHA1 Message Date
Steven Mattera
906dab28c1 Added MOB_SPAWNING state flag. 2011-05-03 01:30:06 -07:00
Yetanotherx
a665e86096 Don't deny placing a blacklisted item if the block clicked is a chest. People often complain that "i was just trying to open my chest" when they were holding water. 2011-04-30 12:26:39 -04:00
Wizjany
b1e509c6f8 Updated for 1.5 and added existing lightning protection. 2011-04-25 04:08:28 +08:00
Wizjany
1f69622a34 Added a lot of missing things to player listener. 2011-04-25 04:06:48 +08:00
Wizjany
215b2b5f75 Added config to stop players from trampling crops. Animals don't work yet (blame CraftBukkit) 2011-04-25 04:04:48 +08:00
Wizjany
1e8c91e92f Added override for flint and steel blocking. 2011-04-25 04:04:47 +08:00
Wizjany
19d447d67d Added handling for weather events. Depends on my craftbukkit pull request. 2011-04-24 15:55:26 -04:00
Wizjany
925fa2ee1b Updated for 1.5 and added existing lightning protection. 2011-04-24 15:53:32 -04:00
Wizjany
1cedf0e9a0 Added a lot of missing things to player listener. 2011-04-23 19:50:58 -04:00
Wizjany
ca8bb7f5f0 Added config to stop players from trampling crops. Animals don't work yet (blame CraftBukkit) 2011-04-15 00:20:15 -04:00
Wizjany
9e15a4a557 Added override for flint and steel blocking. 2011-04-14 21:17:11 -04:00
sk89q
af5d0c4b0e Re-added cake eat blocking on left click. 2011-04-13 03:11:05 -07:00
sk89q
08ab359534 Fixed region priorities, but it needs a test. 2011-04-13 03:07:17 -07:00
Steven Mattera
28c44e0b2f Added MOB_SPAWNING state flag. 2011-04-13 18:07:13 +08:00
Moo0
7038f49a1a Fix for "/region claim" claiming overlapping region when none exists. 2011-04-13 18:05:12 +08:00
sk89q
af25c15286 Merge branch 'master' of https://github.com/wizjany/worldguard 2011-04-13 03:00:27 -07:00
sk89q
ffc5281d59 Added protection.remove-infinite-stacks. 2011-04-11 12:34:11 -07:00
sk89q
ad659cd32e Fixed a major bug with the sign chest protection. It replaced the second line of the sign with "[Lock]". 2011-04-11 11:55:12 -07:00
sk89q
afd3cbd311 Added sign chest protection (needed it for my server). Just put [Lock] on the first line and names on the next three. The first name line must be the sign creator's, so you can track who made what. Friend lists are not yet supported. People with names longer than 15 characters (I believe 16 is the max.) are out of luck. 2011-04-11 10:13:42 -07:00
sk89q
a5a5f7e24a Made /wg report look better. 2011-04-09 02:25:47 -07:00
sk89q
1e203b58c3 Fixed a bug, partially, regarding unloaded worlds. 2011-04-07 00:22:15 -07:00
Wizjany
104b7c2cf2 Fixed falling into void and wolves still taking damage. Requires Craftbukkit 638+ 2011-04-07 00:35:52 -04:00
sk89q
1241e18f9c Added /worldguard report [-p] 2011-04-03 17:20:13 -07:00
sk89q
6566acf7eb Added more aliases to /region subcommands. 2011-04-03 11:05:48 -07:00
sk89q
4332ed92f2 Added /region select. 2011-04-03 11:04:18 -07:00
sk89q
2e7f96aab0 Fixed /region setparent. 2011-04-03 10:35:06 -07:00
Wizjany
3cb9b90ef0 Added config to disable damage from falling into the void. 2011-04-03 05:48:32 -04:00
sk89q
21a04cc8c8 Added anti-wolf-dumbness. 2011-04-02 22:44:45 -07:00
sk89q
dcc1b59627 Fixed region bypass. 2011-04-02 19:46:26 -07:00
sk89q
e8fb3e6d24 Added a region high frequency flags setting to disable high frequency flags. Enable it if you've got the system resources to support it. This covers the fire spread, lava fire spread, lava flow, and water flow flags. 2011-04-02 18:45:11 -07:00
sk89q
93d084d5ba Caught CircularInheritanceException exception. 2011-04-02 18:02:16 -07:00
sk89q
e45ecf9c86 Added the ability to clear parents with /region setparent. 2011-04-02 18:01:59 -07:00
sk89q
beb10e22f2 Changed the /region flag flags list to check permissions. 2011-04-02 18:00:48 -07:00
sk89q
64b12f8497 Improved vehicle place flag to handle boats. 2011-04-02 17:57:58 -07:00
sk89q
0821a08df2 Updated /god to remove fire. 2011-04-02 17:53:09 -07:00
sk89q
50870a9b32 Fixed flag resolution algorithm not catching NoSuchElementException correctly. Now the spawn flag works. Note that the IDs for the spawn and farewell/greeting flags were changed. 2011-04-02 17:49:11 -07:00
sk89q
b823446e28 Fixed flags, added separate lava flow flag. 2011-04-02 17:43:01 -07:00
sk89q
48b00874e5 Removed extra space. 2011-04-02 17:23:56 -07:00
sk89q
deba6c79f3 Re-implemented the region spawn location flag. 2011-04-02 17:21:05 -07:00
sk89q
c0be10ad94 Changed /god to mention /ungod. 2011-04-02 17:05:11 -07:00
sk89q
5010d35ff3 Added a basic API. 2011-04-02 16:26:35 -07:00
sk89q
5b5349fc34 Improved amphibious stuff, added pumpkin scuba. 2011-04-02 16:07:59 -07:00
sk89q
cc6ac93b7a Fixed auto-god mode and auto-amphibious mode. 2011-04-02 15:58:52 -07:00
sk89q
1b843b3586 Fixed /god. 2011-04-02 15:54:41 -07:00
sk89q
3b9a426547 Fixed some flags and permissions. 2011-04-02 15:39:44 -07:00
sk89q
b584b996a3 Fixed parenting not saving. 2011-04-02 14:11:12 -07:00
sk89q
896c7fc467 Improved the cake processing mix to be less bitter. 2011-04-02 13:48:40 -07:00
sk89q
bd2393342f Fixed the blacklist. 2011-04-02 13:35:57 -07:00
sk89q
762b10cb17 Fixed CSV->YAML conversion. 2011-04-02 12:15:40 -07:00
sk89q
9322eedb4e Fixed an error with the legacy flags. 2011-04-02 11:48:06 -07:00
sk89q
4e2a902b75 Fixed flag resolution algorithm. 2011-04-02 11:47:14 -07:00
sk89q
d3b8bd6f39 Fixed more default flag values. 2011-04-02 10:41:33 -07:00
sk89q
0fa64dad7f Fixed the default values for the flags. 2011-04-02 10:40:30 -07:00
sk89q
792e8663e6 Re-implemented the block/player interact hooks that changed in Bukkit recently. 2011-04-02 10:17:02 -07:00
sk89q
7c15c2de41 Re-added /worldguard set of commands. 2011-04-02 02:33:23 -07:00
sk89q
43137c3e53 Rolled in Stefan's changes. 2011-04-02 02:07:42 -07:00
sk89q
521ecd438e Added proper support for global regions and a region ID validation regex. 2011-04-02 02:03:32 -07:00
sk89q
949c6599b3 Disallowed '.' in region IDs. 2011-04-02 01:41:13 -07:00
sk89q
ea79efe693 /stack re-added. 2011-04-02 01:36:05 -07:00
sk89q
b4a89462f8 /locate re-added, but it doesn't seem to work. (Potential Bukkit bug.) 2011-04-02 01:26:22 -07:00
sk89q
70bd3d0e9a Re-added /slay and /heal. 2011-04-02 01:20:11 -07:00
sk89q
c33474e0f9 Added /god back in. 2011-04-02 01:16:10 -07:00
sk89q
3d0ebe5c91 Made /stopfire and /allowfire say the world that it was toggled for. 2011-04-02 00:42:19 -07:00
sk89q
a9ab0702e0 /region update added. 2011-04-02 00:33:07 -07:00
sk89q
9272741a3c Added more region commands. 2011-04-02 00:18:28 -07:00
sk89q
2b72a99608 Re-added /region setparent. 2011-04-01 23:39:13 -07:00
sk89q
4c38e10fe1 Re-added /region save and /region load. 2011-04-01 23:31:28 -07:00
sk89q
7806b48d34 Re-added /region remove. 2011-04-01 23:23:23 -07:00
sk89q
9803d6b731 Improved YAML loading/saving. 2011-04-01 22:46:45 -07:00
sk89q
649db3aca2 Fixed an extraneous space in an insignificant message. 2011-04-01 22:46:26 -07:00
sk89q
b75ab68e7a Completed marshalling implementations for all the flags and changed the LocationFlag to a VectorFlag. 2011-04-01 22:34:31 -07:00
sk89q
8ffc42d349 Added marshalling implementations for most of the flags, fixed configuration issue in WorldConfiguration. 2011-04-01 22:21:30 -07:00
sk89q
145c9750cd Added YAML protection database driver. 2011-04-01 22:12:29 -07:00
sk89q
056f8a57c7 Removed JSON database support. Restored flag loading support to the CSV database so that they can be ported over to the new format. 2011-04-01 18:24:34 -07:00
sk89q
94f0acf9f3 Fixed permissions not being loaded. 2011-04-01 18:05:24 -07:00
sk89q
40bf65d56a Updated for latest Bukkit. 2011-04-01 17:51:33 -07:00
sk89q
726e3a5c20 Added /region flag. DON'T USE THIS VERSION ON A PRODUCTION SERVER. 2011-04-01 13:39:29 -07:00
sk89q
d1cab0da7f More stuff works. 2011-03-30 12:01:11 -07:00
sk89q
ede4873c6a More progress. 2011-03-27 23:49:30 -07:00
sk89q
fd8c827bf1 Updated createDefaultConfiguration() to create parent directories. 2011-03-27 11:18:30 -07:00
sk89q
20afbdf264 More is working! DO NOT USE THIS YET or I will have to personally slap you. 2011-03-26 19:33:29 -07:00
sk89q
0dd92e5189 Work in progress. EVERYTHING IS BROKEN. 2011-03-26 16:59:06 -07:00
sk89q
4b1ba5acb0 Fixed permissions not being load()ed. 2011-03-22 09:34:40 -07:00
sk89q
edc94594eb Some cleanup. 2011-03-17 02:31:38 -07:00
DarkLiKally
837efb75d1 Updated iConomy.jar and added quickfix for timed flags crash 2011-03-14 12:01:43 +01:00
DarkLiKally
252208a479 Fixed DoubleRegionFlags 2011-03-10 16:18:30 +01:00
Redecouverte
2641cb7d4f fixed permissions for commands, hasPermission() does "worldguard." + perm so do prefix with "worldguard." 2011-03-09 13:36:10 +01:00
Redecouverte
9c91f06c5d re-added Init() functions to flags class, do not remove it, or the flags class will NOT be loaded on startup which will cause unexpected behaviour 2011-03-09 13:30:07 +01:00
sk89q
7fab4144ae Fixed bad merge. 2011-03-08 10:06:40 -08:00
sk89q
81eb2cad1a Some initial code reorganization. Todo: Have CSVDatabase handle flags so they can be ported over, and do the commands system a cleaner way. 2011-03-08 10:03:49 -08:00
DarkLiKally
eda7db7aca Updated MobType to CreateType 2011-03-08 08:54:33 +01:00
Valentin Churavy
36fef995e4 fixed nullpointer exception in GlobalRegionManager.java 2011-03-06 15:25:41 +01:00
Redecouverte
1c5ae9ef67 make sure the Flags class is always loaded on startup 2011-03-02 17:37:31 +01:00
Redecouverte
3bf18c41bb flags are now type-safe 2011-03-02 17:24:33 +01:00
DarkLiKally
7ab49f1909 Fixed command /buyregion 2011-03-02 16:44:02 +01:00
DarkLiKally
44b5e5548d added message if player has not enough money for the region 2011-03-02 16:28:01 +01:00
DarkLiKally
50ca9d129b Updated /buyregion command 2011-03-02 15:57:37 +01:00
DarkLiKally
7b725d655c Fixed sign alternative for /buyregion 2011-03-02 13:43:21 +01:00
DarkLiKally
3e9c7aa74b Fixed error with player-eat-check 2011-03-01 19:58:54 +01:00
DarkLiKally
916ed2652e Added check if player eats something 2011-03-01 19:43:50 +01:00
DarkLiKally
59a1726e8c Fixed heal flag (for max. player health(20)) 2011-03-01 15:18:34 +01:00
DarkLiKally
20f91b5258 Fixed denyspawn flag 2011-03-01 12:45:20 +01:00
Redecouverte
353ce7e825 removed legacy comments 2011-02-28 21:15:41 +01:00
DarkLiKally
df7409607f Added administrator notification functionality and flag for greets and farewells 2011-02-28 20:28:14 +01:00
Redecouverte
79b937e8d2 yet another fix for state flag fallback 2011-02-28 19:57:20 +01:00
DarkLiKally
83c6c9c743 Removed unused imports from WorldGuardVehicleListener.java 2011-02-28 19:47:25 +01:00
Redecouverte
6a2affc0f9 new global flags are now read from .yml files 2011-02-28 19:36:46 +01:00
Redecouverte
8ad713c183 implemented passthrough flag 2011-02-28 19:32:59 +01:00
DarkLiKally
f8fb746f64 Fixed WorldGuardVehicleListener.java 2011-02-28 19:19:45 +01:00
DarkLiKally
c6b3507bf4 Added placeVehicle Flag 2011-02-28 19:15:37 +01:00
Redecouverte
2dc95da6e0 moved registerEvents() int event listeners 2011-02-28 19:05:07 +01:00
Redecouverte
8f9bfcf474 enum flags now also take lovercase names 2011-02-28 18:51:37 +01:00
Redecouverte
a8b54757e9 fixed /region info and region flag fallback 2011-02-28 18:36:19 +01:00
Redecouverte
19cfd9edc6 renamed new map to not confuse gson 2011-02-28 18:14:44 +01:00
Redecouverte
03d0f962e5 some more fixes for the new flag containers 2011-02-28 18:08:52 +01:00
Redecouverte
0ff24627ca fixed npe with new flag containers 2011-02-28 17:47:51 +01:00
Redecouverte
4d8cd430b7 renamed isFlagAllowed() to isStateFlagAllowed() 2011-02-28 17:25:31 +01:00
Redecouverte
30b0e5d0b1 rewrote flag system to end the madness 2011-02-28 17:19:51 +01:00
Redecouverte
cdf067bba8 fixed crash in removeRegion 2011-02-28 11:00:37 +01:00
Redecouverte
e4d05e14ac now using new command system 2011-02-28 10:45:00 +01:00
DarkLiKally
82dc78523f Added sign alternative for /buyregion
Added flag for lever and button usability
2011-02-28 10:42:34 +01:00
Redecouverte
676e744c02 replaced string comparison with instanceof 2011-02-28 00:52:26 +01:00
Redecouverte
0d80265ff2 updated permissions example in config.yml, fixed typo in CommandTpRegion, removed debug output in RegionCommandHandler 2011-02-28 00:49:24 +01:00
DarkLiKally
442521a73c Added getIntersectingRegions() method for polygonal and cuboid regions 2011-02-27 21:03:46 +01:00
Redecouverte
dcef083e30 fixed worldguard.notify and worldguard.bypass permissions, optimized getApplicableRegionSet() calls 2011-02-27 19:31:49 +01:00
Redecouverte
162cd20f80 added permissions worldguard.region.priority.own and worldguard.region.priority.all 2011-02-27 18:43:39 +01:00
Redecouverte
c74433422a region priority is now set correctly in /region claim 2011-02-27 18:40:32 +01:00
Redecouverte
f338650b24 hopefully final fix for tnt block 2011-02-27 18:20:07 +01:00
Redecouverte
65c0d77d3e updated protection classes for getIntersectingRegions() 2011-02-27 18:16:09 +01:00
Redecouverte
06173a446a blacklist can now be used as whitelist 2011-02-27 17:48:07 +01:00
Redecouverte
d6adea447e json data is now reloaded if manually edited 2011-02-27 17:25:13 +01:00
Redecouverte
d042b785ed updated tnt fix, updated respawn teleport 2011-02-27 17:00:34 +01:00
Redecouverte
881846d301 fixed tnt block npe thanks to Brettflan, added claim-only-inside-existing-regions and max-region-count-per-player region options, updated ApplicableRegionSet for regions 2011-02-27 16:24:07 +01:00
DarkLiKally
2092cc43b3 Updated for iConomy 4.0 2011-02-27 09:54:43 +01:00
DarkLiKally
dc637d0f2b Fixed wall sign protection 2011-02-26 16:54:18 +01:00
DarkLiKally
987a20b33c Added ability to set a max. claim volume 2011-02-26 15:35:48 +01:00
DarkLiKally
dbf65f798f Optimized the countBlocks() method for polygonal regions 2011-02-26 14:56:49 +01:00
DarkLiKally
97aa259b2d Added method to count the blocks in a polygonal region 2011-02-26 14:54:25 +01:00
Redecouverte
770a108bad /region info now names locations correctly 2011-02-26 13:18:31 +01:00
DarkLiKally
71aaa574b2 Added method to count the blocks in a cuboid region 2011-02-26 13:11:27 +01:00
Redecouverte
a02fe633e2 fixed spawn/teleport flags 2011-02-26 12:49:14 +01:00
Redecouverte
0669bab563 added aliases /rd, /rc, /rf, /ri, /rl, /rp for region commands 2011-02-26 12:24:49 +01:00
Redecouverte
a258400443 fixed npe for onPlayerRespawn 2011-02-26 12:00:02 +01:00
Redecouverte
d02c5057c6 for
/region flag id name subname some string with spacaes

valueStr now contains 'some string with spaces'

this does only work for flags with a subname
2011-02-26 11:57:15 +01:00
Redecouverte
a473f47235 /tpregion now checks for flag rights 2011-02-26 01:18:50 +01:00
Redecouverte
7bedf6bb15 fixed logical error in playerlistener 2011-02-26 01:08:18 +01:00
Redecouverte
05239bccb0 updated FlagInfo, don't check for commands directly in CommandRegionFlag, use FlagInfo 2011-02-26 00:51:35 +01:00
Redecouverte
1d5c28f37f optimized getAffectedRegion() 2011-02-26 00:21:02 +01:00
Redecouverte
16fb6b4f9d fixed some major flaws in the flag system 2011-02-26 00:21:01 +01:00
Redecouverte
97b09aab34 added /region priority command, fixed loading region parent loading 2011-02-26 00:21:01 +01:00