Commit Graph

271 Commits

Author SHA1 Message Date
sk89q
b489da7fe4 Fixed commands so that they work in a recent version of Bukkit. 2011-01-21 01:32:23 -08:00
sk89q
786a0f6f2b Reduced the number of imports in WorldGuardPlugin. 2011-01-21 01:27:18 -08:00
sk89q
e2a940e01b Cleaned up code. 2011-01-21 01:21:36 -08:00
sk89q
6f3eaac008 Fixed NullPointerException in explode hook. 2011-01-21 00:51:50 -08:00
sk89q
02913780ec Fixed the item durability disable setting changing the damage value on an empty hand. 2011-01-20 11:23:13 -08:00
sk89q
f03a2263d8 Added checks for unchecked exceptions when resolving permissions. 2011-01-20 11:19:59 -08:00
sk89q
a8cd832c28 Fixed various cast exceptions with the blacklist loggers. 2011-01-20 11:16:59 -08:00
sk89q
200e07023f Fixed /locate printing the name of the wrong person. 2011-01-20 02:03:43 -08:00
sk89q
5fdd26b53f Fixed CSVDatabase spitting an error if the owners list was empty. 2011-01-20 02:01:50 -08:00
sk89q
b43881c299 Added /locate. 2011-01-20 01:54:47 -08:00
sk89q
6046f4defc Fixed teleport-on-suffocation setting. 2011-01-20 01:07:39 -08:00
sk89q
69ccb9f12b Implemented contact damage and fixed other damage protection. 2011-01-20 00:55:20 -08:00
sk89q
430f2f57e9 Made TNT blocking work. 2011-01-19 23:38:16 -08:00
sk89q
c3f0bbb41c Added /heal and /slay. 2011-01-19 23:31:20 -08:00
sk89q
7e481e6a9a Moved commands handling to be Bukkit-compliant. 2011-01-19 23:27:35 -08:00
sk89q
627de1aebd Changed how the player item event was handled. 2011-01-19 22:09:15 -08:00
sk89q
eade612981 Fixed WorldGuard not getting group lists for permissions correctly. 2011-01-17 19:45:53 -08:00
sk89q
86a917ddd1 Added creeper block support. 2011-01-17 18:38:12 -08:00
sk89q
e8503aa0b9 Now supports GroupUsers (through WorldEdit). 2011-01-17 17:55:56 -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
08229ed4f9 Made WorldGuard write default configuration files, more friendly. Removed hMod configuration files. 2011-01-17 00:05:35 -08:00
sk89q
a942fd08f5 Fixed NullPointerException related to the player item event. 2011-01-16 23:15:30 -08:00
sk89q
c96d534c26 Fixed fire spread disable preventing flint and steel too. 2011-01-16 19:38:29 -08:00
sk89q
789a9a9bb4 Fixed configuration file not being reloaded. 2011-01-16 13:33:23 -08:00
sk89q
36db436fa3 Implemented temporary permissions. 2011-01-16 12:56:17 -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
c82ee055e7 Updated stack command to use ItemType.usesDamageValue(). 2011-01-16 09:15:16 -08:00
sk89q
cb1c1efc35 Moved blacklist message flood logger to Blacklist. 2011-01-16 09:11:42 -08:00
sk89q
0037a4e83f Restored blacklist. 2011-01-16 02:50:41 -08:00
sk89q
c369b3c62a Removed item drop blacklist. 2011-01-15 23:50:29 -08:00
sk89q
0934a12205 Updated region protection to support chests. 2011-01-15 23:47:15 -08:00
sk89q
d19db5f86f Further progress on the port. 2011-01-15 23:21:27 -08:00
sk89q
5657ee6c90 Progress. 2011-01-15 16:33:21 -08:00
sk89q
43d83d8855 Fixed NullPointerException inside the ignite hook. 2011-01-12 09:15:04 -08:00
sk89q
d1cb628473 Updated WorldGuard to catch a missing WorldEdit. 2011-01-10 13:18:28 -08:00
sk89q
bfa1734d23 Fixed the NullPointerException in the damage hook caused by a null attacker. 2011-01-10 13:00:04 -08:00
sk89q
79f55a02cb Fixed NullPointerExceptions in item use hook. 2011-01-08 18:38:18 -08:00
sk89q
484fe22e9e Finished up regions support. 2011-01-08 18:26:49 -08:00
sk89q
119d8b1a81 Fixed /delarea and allowed it to use its own /delarea permission instead. 2011-01-08 16:42:09 -08:00
sk89q
953d1f0aed Add denial messages to region protection. Changed use-protected-regions to use-regions and turned it on by default. 2011-01-08 16:36:25 -08:00
sk89q
2e225a9452 Removed INVENTORY_CHANGE hook. 2011-01-08 16:35:35 -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
sk89q
802114c605 Commented out WorldGuardListener.onInventoryChange(). 2011-01-08 01:33:20 -08:00
sk89q
16bbd30209 Code cleanup. 2010-12-30 00:51:12 -08:00
sk89q
0021e789bc Removed com.sk89q.worldedit.blocks.BlockType. 2010-12-30 00:48:50 -08:00
sk89q
b496e88557 Fixed NullPointerException in WorldGuardListener.onSignChange(). 2010-12-26 10:31:54 -08:00
sk89q
696ae7c967 Changed blacklist hooks. 2010-12-25 22:16:45 -08:00
sk89q
601e15db5a Updated for Minecraft beta. 2010-12-25 21:50:05 -08:00
sk89q
f30b413b46 Added missing BlockType class. 2010-12-10 00:46:32 -08:00
sk89q
a9c4a81abe Added suffocation damage prevention. 2010-12-10 00:46:06 -08:00
sk89q
d619ed5798 Added coordinates to blacklist file logger. 2010-12-10 00:46:06 -08:00
sk89q
e94a9bf68f Added exact respawning and teleporting to home on death. 2010-12-10 00:46:06 -08:00
sk89q
257c12e727 Updated for 0.2.8. 2010-12-04 00:15:50 -08:00
sk89q
8b3eaa70fb Updated for newer builds of hMod. 2010-12-02 22:56:47 -08:00
sk89q
c96bb890b4 Caught NullPointerException caused by getting the players list too early. 2010-12-01 22:43:36 -08:00
sk89q
80df9c6aa4 Improved blacklist support for the new hooks. 2010-11-30 21:54:36 -08:00
sk89q
8073089da4 Updated for Minecraft update. Untested. 2010-11-30 17:24:07 -08:00
sk89q
0e1e92df13 Added option to prevent block damage created by flowing water (Minecart tracks, Redstone wire, etc.) 2010-11-30 02:44:01 -08:00
sk89q
d13f0b9191 Made /stack ignore buckets. 2010-11-30 02:33:51 -08:00
sk89q
aa2bffbd00 Fixed /god for the new hMod versions. 2010-11-30 02:27:13 -08:00
sk89q
95f074342c Fixed damage type prevention. 2010-11-30 02:04:12 -08:00
sk89q
74016bf93e Made amphibious feature in WorldGuard more efficient and fixed missing group console spam. 2010-11-30 01:41:07 -08:00
sk89q
3f8bac582c Added /reload WorldGuard command; adjusted wg-invincible so that it won't console spam every time someone joins. 2010-11-29 12:59:44 -08:00
sk89q
6b57e58d63 Fixed damage type protection affecting all entities. Added wg-invincible and wg-amphibious groups that let you give certain players invincibility or underwater breathing. 2010-11-29 12:39:12 -08:00
sk89q
19aa20537d Added the ability to disable fall, water, lava, and fire damage individually. 2010-11-29 12:30:42 -08:00
sk89q
cf31df35ec Switched water/lava bucket block to use new onItemUse hook. 2010-11-28 15:54:29 -08:00
sk89q
6d39ce7240 Added /stack command, alias /; to compact items into stacks (up to 64 items). Works for even non-stackable items like signs and it won't stack items with durability or infinite supply. 2010-11-26 01:06:32 -08:00
sk89q
0f3c1b94d7 Caught error message for when the configuration file does not exist. 2010-11-25 23:27:33 -08:00
sk89q
13cc6736e2 /god mode now at least lets you gain health while it is on. 2010-11-25 13:47:20 -08:00
sk89q
e42be555b1 Fixed spelling error in /god and allowed use of /god on others. 2010-11-25 02:37:50 -08:00
sk89q
313bdbd8bf Added spawn protection, updated login protection. 2010-11-24 23:55:27 -08:00
sk89q
765b606e18 Added login protection. 2010-11-24 23:13:42 -08:00
sk89q
c0be685846 Added /god mode. 2010-11-24 22:44:09 -08:00
sk89q
b7e91ac6d0 'Fixed' java.lang.NoSuchMethodError: Item.setDamage(I)V. 2010-11-24 13:09:53 -08:00
sk89q
2999f9d168 Removed warning emitted when a hook does not exist. 2010-11-24 12:43:18 -08:00
sk89q
b4d8b2095d Changed some configuration defaults: summary-on-start=true, disable-lava-fire=true, simulate-sponge=true, item-durability=false. 2010-11-24 12:41:32 -08:00
sk89q
e4af400acb Added a startup message indicating when all features all supported. 2010-11-24 12:17:26 -08:00
sk89q
ffa38f9fd1 Removed the block lag fix and cleaned up code. 2010-11-24 12:02:04 -08:00
sk89q
84ccabdf34 Improved missing feature detection. 2010-11-24 11:58:54 -08:00
sk89q
c0b4d95082 Added documentation for required hooks. Improved missing hook messages. 2010-11-23 22:42:30 -08:00
sk89q
f305b3a119 Hooks are now conditionally loaded. summary-on-start is now disabled by default and mentioned in the README. 2010-11-23 22:31:28 -08:00
sk89q
57acbebaf1 Fixed issue with the block lag fix dropping item stacks of 0 quantity. 2010-11-21 11:34:46 -08:00
sk89q
881f050f0d Inventory checks now won't be used if there are no on-acquire events. 2010-11-21 01:25:59 -08:00
sk89q
bc70678387 Updated for new version of durability fix. 2010-11-21 01:13:33 -08:00
sk89q
c3eef60672 Added no-physics-gravel, no-physics-sand, and allow-portal-anywhere. 2010-11-21 01:12:00 -08:00
sk89q
eb78b390ca Added item-durability and blacklist on-acquire event. Thanks to Dinnerbone for heading my requests :) 2010-11-21 00:45:16 -08:00
sk89q
0286900829 The notify, log, and tell actions will now trigger every time for the on-break, on-create, on-drop events. 2010-11-20 11:53:57 -08:00
sk89q
cf7874f776 Added comments and messages. Made the blacklist notification messages more compact and a different color. 2010-11-20 11:47:32 -08:00
sk89q
93c0295744 Added on-break event to the blacklist. 2010-11-20 11:13:18 -08:00
sk89q
9bc3a25191 Fixed signs being blank if they were denied via the blacklist. 2010-11-20 10:59:34 -08:00
sk89q
e95d7a8b6e Improved plugin compatibility with the block lag fix. 2010-11-20 10:56:47 -08:00
sk89q
ff8c48e69e Added fire spread spreading enabling and disabling commands. 2010-11-19 21:49:31 -08:00
sk89q
b9e84f7b4a Improved item drop list for the block lag fix. 2010-11-19 21:34:14 -08:00
sk89q
924e6f3777 Fixed typo in source. 2010-11-19 21:17:30 -08:00
sk89q
6d0d2ee538 Sponge now removes water and obeys new 'sponge-radius' configuration variable. 2010-11-19 21:14:01 -08:00
sk89q
8983d7bc84 Fixed classic water for the onFlow update. 2010-11-19 21:02:54 -08:00
sk89q
fc81a7034e Block lag fix now fakes block status 3 for other plugins. 2010-11-19 20:58:34 -08:00
sk89q
b7e5828c3f WorldGuard should now close loggers on disable and reload. 2010-11-19 20:34:38 -08:00
sk89q
e543ac733f Fixed errors caused by reloading the plugin. 2010-11-19 20:32:41 -08:00
sk89q
d09fcab7b3 Updated onFlow hook for the new changes. 2010-11-19 20:31:12 -08:00
sk89q
70c6b26db5 Added summary-on-start configuration setting to control whether the summary should be printed. 2010-11-19 20:09:26 -08:00
sk89q
1859fc5db2 Overhauled the blacklist system.
- The blacklist's method of preventing notification repeats is now better, instead waiting 3 seconds before notifying again (before it didn't notify again at all unless the user started using another blocked action).
- To give users the ability to receive notifications, the command to give permission to has been changed to /worldguardnotify, although the old one (that was never mentioned anywhere) still works.
- Water and lava buckets are now psuedo-blocked using an unreliable method that risks the stability of your server (no other plugin does it better though). Use it as your own risk.
- Added on item drop and on item use (i.e. chest) events.
- Chests, signs, and furnaces can now be blocked better with the blacklist system.
- The event names in the blacklist configuration have changed but the old event names should still work. The new names should make "more sense."
- A new "ban" action has been added to the blacklist.
- Action messages have been improved, now longer saying "destroyed" for everything.
- Logging to file has been completely changed, allowing you to use the date and time and the player's username in the log filename. It no longer rotates log files based on size, however.
- Logging to database is now supported.
2010-11-19 20:03:19 -08:00
sk89q
47a4046d47 Merge branch 'master' of https://github.com/Sturmeh/worldguard into Worldguard. 2010-11-19 02:12:11 -08:00
sk89q
7b3a8402a1 Added 'right click on' events to the blacklist. 2010-11-19 02:01:10 -08:00
sk89q
84eb9343ce Improved water/bucket fix by having it set back the original block. Unfortunately this doesn't do anything about setting water buckets into lava (creating obsidian). 2010-11-19 00:14:08 -08:00
sk89q
0a8dd85224 Added a bucket block fix, but not a great one. 2010-11-18 23:58:22 -08:00
sk89q
8a731617e1 Block lag fix: glass and snow should no longer drop any items. The block object is reset now after the canDestroyBlock() call to lessen the impact of the double hook call. 2010-11-18 10:44:04 -08:00
sk89q
028ec89d26 Added startup messages that indicate protection status. 2010-11-18 01:33:56 -08:00
sk89q
92edff6ffe Added protection and plugin support. 2010-11-17 22:51:41 -08:00
Sturmeh
d4a3e04622 Merge branch 'master' of http://github.com/sk89q/worldguard 2010-11-18 16:40:49 +11:00
Sturmeh
2562502d26 Added itemDropBlacklist 2010-11-18 16:40:43 +11:00
sk89q
e12fcdb1b8 Moved the block lag fix to a low priority listener. 2010-11-17 20:33:29 -08:00
sk89q
a7aed1a278 Fixed the block lag fix not allowing the destruction of leaves. 2010-11-17 19:34:06 -08:00
sk89q
e5dcb557dc Fixed the block fix dropping wood for redstone wire. 2010-11-17 12:22:40 -08:00
sk89q
447f192027 Changed project name to WorldGuard. 2010-11-17 12:05:07 -08:00
sk89q
6d56273682 Committed block lag fix. 2010-11-17 11:54:40 -08:00
sk89q
3aa265b553 Initial commit. 2010-11-14 00:55:01 -08:00