diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..13926dbf --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,534 @@ +# Changelog + +## 5.9 + +* Added a config option to allow explosion flags to only prevent block damage +* Added allow-tamed-spawns setting, on by default. This will stop WorldGuard from culling tamed animals. +* Added config option and flag to prevent soil from drying naturally. +* Added formatting codes, &k/l/m/n/o and &x (reset). +* Added snow-fall-blocks option to config to restrict snow fall to certain blocks +* Allow players to add newlines (\n) via command, not just manually in yml. +* Allow the console to load/save all region managers with one command. +* Changed entity report format slightly. +* Check bypass perms for item-drop flag. +* Check for entities and projectiles removing items from frames too. +* Fix being able to use bonemeal to turn tall grass into double plants. +* Fix number of arguments for migratedb command. +* Fixed addowner/addmember commands adding command artifacts. Specifically, "-w " will no longer be added when using it. +* Fixed milking cows in protected areas due to changes in Bukkit. +* Fixed ProtectedCuboidRegion::getPoints() returning points in wrong order. +* Fixed snowman trails being treated as snow fall. +* Make /rg list default to own regions if the player doesn't have permission otherwise. +* Protected items in item frames in protected regions. +* Resolved an issue where explosions of type OTHER_EXPLOSION were ignoring the world configuration settings. +* Send item-use blacklist event when right-clicking entities. +* Transformed the BlockFadeEvent handler into a switch. + +## 5.8 + +* BREAKING CHANGE: This version has been built for versions of Bukkit for MC 1.6.1 and newer. Do not try to use this version of WG on an older Bukkit version. +* Added support for Minecraft 1.6+. Actual support of new 1.6 additions is dependant on Bukkit. Please use a newer build of Bukkit if, for example, you seem to be unable to add "Horses" to your lists of entities. +* Added mobs.disable-snowman-trails to disable the trails left by walking snowmen. +* Added -a flag to /region removeowner and /region removemember to remove all objects. +* Teleporting is now handled by entry/exit flags. If this is causing people to get entirely stuck inside entry/exit deny regions, set the new setting 'use-player-teleports' to 'false' in your configuration. +* Updated formatting for region commands, especially /region info. +* Changed permissions checking for /region commands to be more consistent, checking for region IDs as a sub-node. This means that if some permissions for some region commands no longer work, add '.*' to the end of permission lines for WG in your permission plugin. + +## 5.7.5 + +* Refixed a few issues from 5.7.4. + +## 5.7.4 + +* BREAKING CHANGE: Removed the cyan "**" in front of greeting and farewell messages to allow more customizability. You can re-add them by adding "&c**" to the flag. +* Fixed an issue enderpearling inside exit/entry deny regions. +* Added checks to players teleporting in and out of exit/entry regions. +* Fix bad matching in blocked and allowed command flags. +* Fixed heal flag bugs when player max health was increased. +* Add fishing to xp blocker. +* Applied other-explosion flag to entity damage as well. +* Fixed an issue with interaction that should allow blacklisting item use actions with no block involved (eg fishing rods, potions) +* Fix witherskull/fireball settings not being differentiated in one case +* Allow cow milking in no-build areas +* Fix infinite durability breaking items instantly. + +## 5.7.3 + +* Fixed the error caused by Bukkit's change of the TNT minecart API. + +## 5.7.2 + +* Updated to MineCraft 1.5. +* Added TNT Minecart support. They are handled with the same flags/settings as TNT. +* Added mining and smelting xp handling to the xp drops flag and setting. +* Fixed a few edge cases for placing items on region borders. +* Legacy: Fixed issue with //stack not respecting item metadata. + +## 5.7.1 + +* Added a vine growth config option and flag. +* Added support for many commands to be used from console. Usage is with -w flag and a world name e.g. /rg addmem -w /rg flag -w +* Fixed bug that blocks placing plants in flower pots. +* Fixed permissions check for /rg tp +* Fixed enderchests not being accessible (they are now part of the USE flag) +* Fixed an issue with slabs being placable in protected regions. This was also fixed in CraftBukkit but has been left in for users running other versions. +* Fixed wither skulls being handled with other fireballs, despite having their own settings. +* Fixed item frames being placable on region borders. +* Fixed a bug that made explosions more ineffective than they should have been. +* Fixed bonemeal usage in protected regions. +* Fixed special minecarts being placable in protected regions. +* Fixed bugs being placable on region borders. +* Fixed wolves bypassing pvp flags. + +## 5.7 + +* Fixed thread sync issue with FlagStateManager. +* Fixed dragon egg region protection not working in certain cases. +* Added beacon and anvil usage protection in regions. +* Add mobs.block-enderdragon-portal-creation to stop enderdragons from making portals on death. +* Fix TNT being lethal in some case when damage was disabled. +* Fix snowballs and enderpearls being able to knock players back in pvp deny regions. +* Add subcommand support for allowed and blocked command flags. +* Add max-players-allowed and max-players-reject-message flags to limit the numbers of players in a region. +* Fix players being able to plant cocoa beans in protected areas. +* Add an enderpearl flag to prevent players from teleporting to and from regions. +* Added mobs.block-other-explosions config setting and other-explosion flag to block explosions caused by uncovered things, such as other plugins. (It doesn't actually have to be a mob) +* Fix mob damage setting and flag not blocking the DoT wither effect. +* Ghast fireball flag will not block blaze fireballs from lighting things on fire. +* Fixed players without region permissions being able to trigger tripwires, use enderchests, use wooden buttons, and put plants in flower pots. +* Added mobs.block-zombie-door-destruction setting to stop zombies from breaking down doors while difficulty is set to hard. + +Thank you to thvortex, Dilandau, tophathacker, and Dark_arc for their contributions this release. + +## 5.6.5 + +* Fixed a regression that caused paintings and item frames to no longer be properly protected. + +## 5.6.4 + +* Added mobs.block-above-ground-slimes to block slimes spawning naturally above ground. +* Added security.deop-everyone-on-join to de-op all players when they join. +* Added security.block-in-game-op-command to prevent usage of /op from in-game. +* Fixed a NullPointerException in PlayerInteract involving water potions and potion blocking. +* Fixed an issue with snowballs being blocked in regions. +* Changed dragon eggs to be checked like it is a broken block in regions. +* Moved developer's WGBukkit class to package com.sk89q.worldguard.bukkit. + +## 5.6.3 + +* Added helper WGBukkit class to get references to WorldGuard from other plugins. +* Added physics.vine-like-rope-ladders to make ladders work like vines. As long as the top ladder block is present, ladder blocks will hold even if they have no block behind them, like a rope ladder. +* Fixed NullPointerException in PlayerInteractEvent caused by potion blocking. +* Fixed mobs.block-{item-frame,painting}-destroy not working. + +Thank you to def for testing the above fixes and features. + +## 5.6.2 + +* Fixed potion blocking not working well for splash potions. + +## 5.6.1 + +* Added a mycelium-spread region flag. +* Added a dynamics.disable-mycelium-spread configuration setting. +* Added new gameplay.block-potions option. For example: gameplay: block-potions: [invisibility, speed] +* Fixed a bug in the entity explosion event handler that caused a NullPointerException. + +Thank you for gabizou for his contribution in this release. + +## 5.6 + +* Added official support for Minecraft 1.4. Support for 1.3.2 (and below) is still provided in this release. +* Added support for new and existing explosion types. +* Added support for blocking withers with the following settings: mobs: block-wither-explosions: false block-wither-block-damage: false block-wither-skull-explosions: false block-wither-skull-block-damage: true +* Added support for blocking item frames (and their use) in protected regions. +* Added item frame destruction region flags (if you wish to disable item frame destruction completely). +* (Re-)added support for priority R-tree region indexes. This means quicker region lookup, and better support for servers with thousands of regions. +* Improved /region info output for -g group flags. +* Allowed removing of -g group flags with /region flag. +* Allowed /region flag to set group and value at once. +* Deleting a region flag now also deletes group flag. +* Fixed detection of attack by projectiles to be more accurate. +* Fixed support for saving non-string flags in the MySQL region support. +* Fixed spurious comma in "Flags:" /region info output. +* Fixed players who are not in god mode not receiving damage in PVP areas from enderpearls. +* Players will now be told that they are in a no-PvP area if they are in one and attempting to attack someone, or that the player they are attacking is in a no-PvP area, if that is the case instead. +* Fixed an issue where region.getId() was lowercase'd each pass of a for loop in MySQLDatabase.updatePoly2dPoints(). +* Fixed mob damage from projectiles not being properly blocked in regions where applicable. +* Changed default region wand to leather (#334). + +Thank you to the following individuals for their contribution: +thvortex, Rutr, Glitchfinder, and DarthAndroid. + +## 5.5.4 + +* Minecraft 1.3 support. +* Fixed /stack dupe bugs. +* Added regions.use-creature-spawn-event. +* Update for Async chat issue. +* Add use flag to cakes. +* Report number of plugins loaded in report writer. +* Updated fireblal item blocking. +* Fixed permissions for /region reload. + +## 5.5.3 + +* Added game mode flag. +* Added item drop pickup flag to regions. +* Added support for fireball item blocking (385). +* Added configuration option to allow creature spawns from plugins. +* Added host key check. +* Added a new line split feature to region greetings. +* Prevented commands in the allow commands list from being blocked and vice versa. + +## 5.5.2 + +* Added potion-splash flag to block splash potions +* Add entity-painting-destroy which can be used to prevent entities from destroying paintings (skeletons firing arrows) +* Added send-chat and receive-chat flags +* Fixed having regions in multiple worlds with the same name not working with MySQL +* A cancellable event is now fired if WorldGuard disallows PvP. (for developers!) +* Made /region setparent check worldguard.region.setparent.own/member. instead of worldguard.region.setparent.own/member.. +* Allowed passing # in place of a region ID, where is the index as displayed by /region list. +* Fixed an error that occured when clearing a non-existant region's parent. +* Added a -s flag to /region teleport, which sends you to the spawn point instead of the teleport point of a region. +* Added region/role-based permissions to /region teleport. +* BREAKING CHANGE: Added a LocationFlag class and made the teleport and spawn flags use it. +* /region info -s now selects the region being queried. +* Added /region teleport . +* Vector flags can now be set to the current location with the value "here" and to a specific position with x,y,z. +* Made /region info show the region you're in if you don't specify an id explicitly. +* Prevent block ignition from lightning strikes if lightning is blocked in region. Fixes #1175 +* Correctly check both WEPIF and superperms in WorldGurdPlugin.broadcastNotification() +* Destroy fire blocks when fire-spread is disallowed +* Added a construct flag that can be used to restrict block placing/destroying in zones to certain roles. +* Added FallingSand to list of intensive entities to be removed with /halt-activiy. +* Replaced all usage of CreatureType by EntityType. +* Updated to support Bukkit 1.2-R0.3 and newer +* Made auto-god-mode disabled by default again. +* Added sign protection check disable. +* Cleaned up javadoc, deprecated duplicate methods, other cleanup +* Added a RegionGroupFlag to evey region flag Using the /region flag command with -g, the region group that the region flag applies to can be set. + +## 5.5.1 + +* Fixed attacking with arrows from non-PVP to PVP areas +* Compatibility with Bukkit 1.1-R5 +* Removed broken suppress-tick-sync-warnings config option. See bukkit.yml's setings.warn-on-overload option instead. +* Add region and 'can build' information to CommandBook's /whois + +Contributions thanks to: NolanSyKinsley + +## 5.5 + +* Removed WorldEdit.jar from the classpath to stop conflicts with Bukkit's plugin loader +* Now using Bukkit's tagged logging +* Updated to new event system +* Flush player flag state cache on world change +* Improved compatibility with versions of CommandBook without GodComponent and updated pom dep for 2.0 +* Added MySQL region storage method. +* Made explosions display their animations even when the event was blocked. +* Added fallback support for those who don't have a version of CommandBook with GodComponent +* Added LIGHTNING flag to DefaultFlag's flagsList Fixes #1026 +* Removed /god, /heal, /locate, and /stack from WorldGuard to CommandBook. CommandBook is now checked to see whether a player is godded. +* Removed remaining usages of org.bukkit.util.config.Configuration +* Removed some unused configuration options +* Added permission worldguard.region.wand to the region wand +* Fixed ProtectedRegion.compareTo. +* Fixed FlatRegionManager.getApplicableRegions to return parent regions as well. +* Added exp-drops flag to disable experience drops per-region. +* Fixed some warnings. +* Updated dependency version for WorldGuard from 5.0 to 5.1-SNAPSHOT. +* Added support for fireballs shot by players being blocked by the PVP flag. +* Now using dynamic command registration +* Split off ender dragon block damage from creeper block damage. + +Contributions thanks to: narthollis, DarkArc, Wolvereness, and skeight + +## 5.4 + +* Fixed configuration generation on Windows +* Fixed intersection calculation for regions +* Fixed timer and feeding delay for food flags +* Fixed region managers not being created properly (This caused errors related to CREATURE_SPAWN) +* Added support for Minecraft 1.0.1 blocks +* Added support for enchantments and tool damage (worldguard.stack.damaged is the node) with /stack +* Made being in the wg-invincible group respect the configuration's auto-invincible setting +* Added per-group region claim limit maximum +* Added worldguard.region.addowner.unclaimed.* permission for non-economy region 'buying' +* Checking allowed/blocked commands now occurs earlier to override more plugins +* Made PVP flag check whether either player is in a pvp deny region for blocking + +Contributions thanks to: epuidokas, wizjany, Turtle9598, and DerFlash + +## 5.3 + +* Added new config options and flags to better handle explosions of all types +* Added config options and flags for snow, ice, mushroom spread, grass spread, and leaf decay +* Added min and max health flags to clamp the values for the existing healing flags +* Added hunger flags similar to the existing healing flags +* Added an option to disable the use of the move event. This can boost performance on large servers but will disable the greeting/farewell and entry/exit flags +* Added flag to prevent pistons (including those that are outside the region, but would affect blocks inside the region) +* Added a /wg flushstates [player] command to free players stuck in a region that was exit-deny but no longer exists or the flag was removed +* Added a config option to disable xp orb dropping +* Added config option to disable redstone wire obsidian generators +* Added a vehicle-destroy flag +* Added enderman protection config and flag +* Allowed and blocked command flags will now fall back to the global region +* The worldguard.region.flag.own/member permissions are now worldguard.region.flag.regions.own/member! Please change your permissions accordingly. +* Made //stack respect max stack sizes unless the player has the worldguard.stack.illegitimate permission +* Setting invincibility flag to deny will override god mode unless the player has worldguard.god.override-regions +* The sleep flag will now prevent beds in the nether from exploding if set to deny +* Existing regions can no longer be accidentally overwritten. Use /region redefine to move an existing region. +* The info command will now sort players alphabetically +* Priming TNT by punching it with flint and steal should throw a blacklist event (consistent with old Minecraft versions) +* The /stoplag command will now remove xp orbs +* Permissions system will use per-world permissions if the provider supports it +* Players in vehicles are now subject to entry/exit and greeting/farewell flags +* Fixed interact blacklist event not logging correctly +* Fixed heal flag taking effect half a block northeast of the region +* Fixed a infinite sign dropping bug +* Fixed players being able to douse fire by punching it in regions they couldn't build it +* Fixed players being able to eat protected cake +* Fence gate usage can be blocked with the use flag +* Fixed chests being unprotected when they should be in 1.8 +* Fixed weather config settings not applying when a world was loaded +* Fixed explosion handling in certain cases +* Fixed arrows working in non-pvp zones +* Fixed buckets working on the border of protected regions in certain cases +Contributions thanks to: +wizjany, zml2008, imjake9, Droolio, epuidokas, +EduardBaer, TomyLobo, and halvors + +## 5.2.2 + +* Changed configuration saving so empty lists will be added to the configuration files. + +## 5.2.1 + +* Add region bounds to /region info +* Added the ability to add owners/members to the global region for handling guest groups. Now if there's owners or members on the global region, then those that are not on the list cannot build. +* Fixed some flag algorithm issues. +* API: Fixed DefaultDomain.size() not counting players. +* API: Undeprecated ApplicableRegionSet.allows(StateFlag). + +## 5.2 + +* Gave the ability to use color colors and macros in greeting and farewell messages. +* Added disable-ice-melting, disable-snow-formation, disable-mushroom-spread, disable-snow-melting, disable-ice-formation. +* Added paintings to blacklist support. +* Added default.disable-health-regain. +* Added auto-invincible-permission setting, which lets you use the permission 'worldguard.auto-invincible' to become invincible on join automatically. +* Flames won't appear if you are /god'ed now. +* Added blocked-cmds region flag to block commands. +* Added allowed-cmds region flag to whitelist commands. +* Added entry region flag to block entry. Use entry-group to determine who this affects. +* Added exit region flag to block exit. Use exit-group to determine who this affects. +* Made negative healing possible via the healing flag. +* Changed the configuration header messages to be more helpful to new users. +* Added a warning about modifying region files by hand. +* Improved the API for plugin developers. + +## 5.1 + +* A lot of changes. + +## 4.0-alpha1 + +* This release is only to fix WorldGuard for Bukkit. Ignore the 4.0 label. Just move along. Nothing to see. + +## 3.2.2 + +* Changed disable-water-damage to disable-drowning-damage. +* Fixed suffocation disable option. +* Fixed fire spread blocking. +* stopfire and allowfire now work in server console, just like in hMod. + +## 3.2.1 + +* Updated for recent Bukkit ItemStack change. + +## 3.2 + +* Added regions.default.pvp to control default PvP setting. +* Updated WorldGuard for the newer builds of Bukkit. +* Fixed creeper explosion blocking. +* Added redstone support to sponges, removed classic water. +* Fixed item durability disable for hoes. + + +## 3.1.2 + +* Increased the priority of WorldGuard's event handling. + +## 3.1.1 + +* Fixed creeper and chest flag conflicting. + +## 3.1 + +* Added ability to disable chest protection. New configuration setting (regions.build.chest-access) and new chest flag. +* Possibly fixed projectile blocking in no-PvP zones. +* Added /regionmembership permission that lets people only change the owners and members of regions they own. + +## 3.0b2 + +* Fixed issue where built-in permissions were not (re)loaded. +* Fixed /god not working for others. + +## 3.0b1 + +* Added parent-child relationships to regions. +* Added global build flag. +* Improved flag support. +* Fixed no-PvP zone messages being sent to the wrong person. +* Fixed commands so that they work in a recent version of Bukkit. +* Fixed NullPointerException in explode hook. + +## 2.3.1 + +* Fixed various cast exceptions with the blacklist loggers. +* Added checks for unchecked exceptions when resolving permissions. +* Fixed the item durability disable setting changing the damage value on an empty hand. + +## 2.3 + +* /god now works very well. +* Item (TNT, flint and steel, etc.) blocking should now work. +* The TNT blocking configuration variable should now work. +* Re-added /heal (not sure where that went), added /slay. +* Implemented contact damage disable toggle. +* Made all player damage disabling configuration parameters work. +* Fixed teleport-on-suffocation setting. +* Added /locate , /locate , and /locate that lets you program/change your compass bearing to point to a player's position (not yet live), a position, or back to spawn. +* Fixed CSVDatabase spitting an error if the owners list was empty. + +## 2.2 + +* Now supports GroupUsers. +* Added support for blocking creeper explosions. +* Fixed a bug where a player's groups were not being loaded correctly, causing the blacklist group ignore option to not work. + +## 2.1.1 + +* Fixed fire spread disable preventing flint and steel too. +* Fixed NullPointerException related to the player item event. +* Made setup simpler. + +## 2.1 + +* Improved Bukkit support. + +## 2.0beta3 + +* Fixed NullPointerException inside the ignite hook. + +## 2.0beta2 + +* Fixed a NullPointerException in the damage hook. + +## 2.0beta1 + +* Added area protection. Use /region or /rg to define regions. + +## 1.8.1 + +* Fixed NullPointerException. + +## 1.8 + +* Updated for Minecraft beta. +* Blacklist hooks have CHANGED. The new hooks are work better. on-create has been replaced with on-place (for block placement) and on-use (for item usage, light buckets and lighters). The old on-use is now on-right-click although it currently does nothing. +* Added coordinates to blacklist file logger. +* Added suffocation damage prevention. + +## 1.7.1 + +* Updated for v0.2.8. + +## 1.7 + +* Updated for v0.2.6_02 and hMod b129. +* Added option to prevent water from damaging particular blocks (Redstone wire, Minecart tracks, etc.). See disable-water-damage-blocks. +* /reload WorldGuard should now reload WorldGuard's configuration. +* Added wg-invincible and wg-amphibious groups that let you give certain players invincibility or underwater breathing. +* Added the ability to disable fall, water, lava, and/or fire damage. +* Water/lava bucket blocking should now be more reliable. +* Added /stack (alias /;) commands to stack items in your inventory into piles up to 64 items in size. Even unstackable items like signs can be stacked. +* /god mode should now let you gain health. +* /god mode should now work more reliably. +* Caught an error message for when the configuration file does not exist. + +## 1.6 + +* Added spawn protection that prevents damage when a player spawns. +* Added login protection that prevents damage when a player joins. +* Added /god. /god can be used on others, provided that the /godother permission is set for the command's user. + +## 1.5.1 + +* Removed the 'java.lang.NoSuchMethodError: Item.setDamage(I)V' error generated. + +## 1.5 + +* Removed the block lag fix. +* WorldGuard now conditionally loads features so you can use any up-to-date build of hMod and the unsupported features won't break the entire plugin. When WG loads, check the server console for a report of features that are not supported by your version of hMod. +* Changed some configuration defaults: disable-lava-fire=true simulate-sponge=true item-durability=false + +## 1.4.1 + +* Fixed issue with the block lag fix dropping item stacks of 0 quantity. + +## 1.4 + +* New on-acquire hook. This does both a total inventory check on inventory change and item pick up denial. The item pick up denial is largely thanks to Dinnerbone for fulfilling my request to add a particular hook. +* Item durability can now be toggled with item-durability. Thanks to Dinnerbone for figuring this out while filfilling my request. The default setting is to fix item durability. +* New no-physics-gravel and no-physics-sand options allow you to prevent gravel and sand from falling. +* New allow-portal-anywhere option allows you to create portal blocks anywhere. +## 1.3 + +* UPGRADE WARNING: If you are using database logging, you must add a NULL 'comment' VARCHAR field to the table. The line of SQL that you can run for MySQL can be found in blacklist_table.sql. +* Improved plugin compatibility with the block lag fix. For maximum compatibility, you must now list WorldGuard as the first plugin in server.properties and you cannot reload or enable the plugin while the server is up. This is for bad plugins that unnecessarily use the "critical" priority for its hooks like the LWC. Most plugins don't do that though, so this won't apply for most people. +* Fixed signs being blank if they were denied via the blacklist. +* Added on-break event to the blacklist. +* Added comments and messages. Comments are only for your own use and they are printed with the log and notify actions of the blacklist. The message replaces the message that is shown the user and it is optional. +* The blacklist notification messages are now more compact and are light grey instead of light purple. +* The notify, log, and tell actions will now trigger every time for the on-break, on-create, on-drop events rather than wait 3 seconds between events for the same item or block for a player. + +## 1.2 + +* /stopfire and /allowfire disable and enable fire spreading globally. +* Block lag fix slightly improved in accuracy for item drops. +* Sponge updated to remove water when the sponge block is set. Sponge radius can now be controlled using the 'sponge-radius' parameter and the default is now set to simulate Classic. +* Updated for a newer build of "b126," meaning that lava spread control now works well! +* A new summary of the status of some core protections is now printed on start. Disable this with 'summary-on-start'. +* Blacklist system has been overhauled. Check README.txt for changed configuration settings! +* 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. +* Tools can now be destroyed on drop to alleviate the durability cheat. You can do this with either with the blacklist or with the 'item-drop-blacklist' configuration option. The configuration option prints more friendly messages than the 'tell' action of blacklists. + +## 1.1.2 + +* Block lag fix: Snow and glass should no longer drop items. +* Block lag fix: Block object now reset after hook call. + +## 1.1.1 + +* Fixed redstone wire dropping wood blocks with the block lag fix. +* The block lag fix now consults other plugins so that ALL protection mechanisms and plugins should work. + +## 1.1 + +* Added block lag fix. + +## 1.0 + +* Initial release. diff --git a/CHANGELOG.txt b/CHANGELOG.txt deleted file mode 100644 index b1200af1..00000000 --- a/CHANGELOG.txt +++ /dev/null @@ -1,614 +0,0 @@ -5.9 -- Added a config option to allow explosion flags to only prevent block damage -- Added allow-tamed-spawns setting, on by default. This will stop WorldGuard - from culling tamed animals. -- Added config option and flag to prevent soil from drying naturally. -- Added formatting codes, &k/l/m/n/o and &x (reset). -- Added snow-fall-blocks option to config to restrict snow fall to certain blocks -- Allow players to add newlines (\n) via command, not just manually in yml. -- Allow the console to load/save all region managers with one command. -- Changed entity report format slightly. -- Check bypass perms for item-drop flag. -- Check for entities and projectiles removing items from frames too. -- Fix being able to use bonemeal to turn tall grass into double plants. -- Fix number of arguments for migratedb command. -- Fixed addowner/addmember commands adding command artifacts. Specifically, - "-w " will no longer be added when using it. -- Fixed milking cows in protected areas due to changes in Bukkit. -- Fixed ProtectedCuboidRegion::getPoints() returning points in wrong order. -- Fixed snowman trails being treated as snow fall. -- Make /rg list default to own regions if the player doesn't have permission otherwise. -- Protected items in item frames in protected regions. -- Resolved an issue where explosions of type OTHER_EXPLOSION were ignoring the world - configuration settings. -- Send item-use blacklist event when right-clicking entities. -- Transformed the BlockFadeEvent handler into a switch. - -5.8: -- BREAKING CHANGE: This version has been built for versions of Bukkit for MC 1.6.1 and - newer. Do not try to use this version of WG on an older Bukkit version. -- Added support for Minecraft 1.6+. Actual support of new 1.6 additions is dependant on - Bukkit. Please use a newer build of Bukkit if, for example, you seem to be unable to - add "Horses" to your lists of entities. -- Added mobs.disable-snowman-trails to disable the trails left by walking snowmen. -- Added -a flag to /region removeowner and /region removemember to remove all objects. -- Teleporting is now handled by entry/exit flags. If this is causing people to get - entirely stuck inside entry/exit deny regions, set the new setting - 'use-player-teleports' to 'false' in your configuration. -- Updated formatting for region commands, especially /region info. -- Changed permissions checking for /region commands to be more consistent, checking for - region IDs as a sub-node. This means that if some permissions for some region - commands no longer work, add '.*' to the end of permission lines for WG in your - permission plugin. - -5.7.5: -- Refixed a few issues from 5.7.4. - -5.7.4: -- BREAKING CHANGE: Removed the cyan "**" in front of greeting - and farewell messages to allow more customizability. You can - re-add them by adding "&c**" to the flag. -- Fixed an issue enderpearling inside exit/entry deny regions. -- Added checks to players teleporting in and out of exit/entry regions. -- Fix bad matching in blocked and allowed command flags. -- Fixed heal flag bugs when player max health was increased. -- Add fishing to xp blocker. -- Applied other-explosion flag to entity damage as well. -- Fixed an issue with interaction that should allow blacklisting item use actions with no block involved (eg fishing rods, potions) -- Fix witherskull/fireball settings not being differentiated in one case -- Allow cow milking in no-build areas -- Fix infinite durability breaking items instantly. - -5.7.3: -- Fixed the error caused by Bukkit's change of the TNT minecart API. - -5.7.2: -- Updated to MineCraft 1.5. -- Added TNT Minecart support. They are handled with the same flags/settings as TNT. -- Added mining and smelting xp handling to the xp drops flag and setting. -- Fixed a few edge cases for placing items on region borders. -- Legacy: Fixed issue with //stack not respecting item metadata. - -5.7.1: -- Added a vine growth config option and flag. -- Added support for many commands to be used from console. - Usage is with -w flag and a world name e.g. - /rg addmem -w - /rg flag -w -- Fixed bug that blocks placing plants in flower pots. -- Fixed permissions check for /rg tp -- Fixed enderchests not being accessible (they are now part of the USE flag) -- Fixed an issue with slabs being placable in protected regions. This was - also fixed in CraftBukkit but has been left in for users running other versions. -- Fixed wither skulls being handled with other fireballs, despite having their own settings. -- Fixed item frames being placable on region borders. -- Fixed a bug that made explosions more ineffective than they should have been. -- Fixed bonemeal usage in protected regions. -- Fixed special minecarts being placable in protected regions. -- Fixed bugs being placable on region borders. -- Fixed wolves bypassing pvp flags. - -5.7: -- Fixed thread sync issue with FlagStateManager. -- Fixed dragon egg region protection not working in certain cases. -- Added beacon and anvil usage protection in regions. -- Add mobs.block-enderdragon-portal-creation to stop enderdragons - from making portals on death. -- Fix TNT being lethal in some case when damage was disabled. -- Fix snowballs and enderpearls being able to knock players back in - pvp deny regions. -- Add subcommand support for allowed and blocked command flags. -- Add max-players-allowed and max-players-reject-message flags to - limit the numbers of players in a region. -- Fix players being able to plant cocoa beans in protected areas. -- Add an enderpearl flag to prevent players from teleporting to and - from regions. -- Added mobs.block-other-explosions config setting and other-explosion - flag to block explosions caused by uncovered things, such as other - plugins. (It doesn't actually have to be a mob) -- Fix mob damage setting and flag not blocking the DoT wither effect. -- Ghast fireball flag will not block blaze fireballs from lighting things - on fire. -- Fixed players without region permissions being able to trigger tripwires, - use enderchests, use wooden buttons, and put plants in flower pots. -- Added mobs.block-zombie-door-destruction setting to stop zombies from - breaking down doors while difficulty is set to hard. - -Thank you to thvortex, Dilandau, tophathacker, and Dark_arc for their contributions this release. - -5.6.5: -- Fixed a regression that caused paintings and item frames to no longer be properly - protected. - -5.6.4: -- Added mobs.block-above-ground-slimes to block slimes spawning naturally above ground. -- Added security.deop-everyone-on-join to de-op all players when they join. -- Added security.block-in-game-op-command to prevent usage of /op from in-game. -- Fixed a NullPointerException in PlayerInteract involving water potions and - potion blocking. -- Fixed an issue with snowballs being blocked in regions. -- Changed dragon eggs to be checked like it is a broken block in regions. -- Moved developer's WGBukkit class to package com.sk89q.worldguard.bukkit. - -5.6.3: -- Added helper WGBukkit class to get references to WorldGuard from other plugins. -- Added physics.vine-like-rope-ladders to make ladders work like vines. As long as the - top ladder block is present, ladder blocks will hold even if they have no block - behind them, like a rope ladder. -- Fixed NullPointerException in PlayerInteractEvent caused by potion blocking. -- Fixed mobs.block-{item-frame,painting}-destroy not working. - -Thank you to def for testing the above fixes and features. - -5.6.2: -- Fixed potion blocking not working well for splash potions. - -5.6.1: -- Added a mycelium-spread region flag. -- Added a dynamics.disable-mycelium-spread configuration setting. -- Added new gameplay.block-potions option. For example: - gameplay: - block-potions: [invisibility, speed] -- Fixed a bug in the entity explosion event handler that caused a NullPointerException. - -Thank you for gabizou for his contribution in this release. - -5.6: -- Added official support for Minecraft 1.4. Support for 1.3.2 (and below) is still - provided in this release. -- Added support for new and existing explosion types. -- Added support for blocking withers with the following settings: - mobs: - block-wither-explosions: false - block-wither-block-damage: false - block-wither-skull-explosions: false - block-wither-skull-block-damage: true -- Added support for blocking item frames (and their use) in protected regions. -- Added item frame destruction region flags (if you wish to disable item frame - destruction completely). -- (Re-)added support for priority R-tree region indexes. This means quicker region lookup, - and better support for servers with thousands of regions. -- Improved /region info output for -g group flags. -- Allowed removing of -g group flags with /region flag. -- Allowed /region flag to set group and value at once. -- Deleting a region flag now also deletes group flag. -- Fixed detection of attack by projectiles to be more accurate. -- Fixed support for saving non-string flags in the MySQL region support. -- Fixed spurious comma in "Flags:" /region info output. -- Fixed players who are not in god mode not receiving damage in PVP areas from - enderpearls. -- Players will now be told that they are in a no-PvP area if they are in one and - attempting to attack someone, or that the player they are attacking is in a - no-PvP area, if that is the case instead. -- Fixed an issue where region.getId() was lowercase'd each pass of a for loop in - MySQLDatabase.updatePoly2dPoints(). -- Fixed mob damage from projectiles not being properly blocked in regions where - applicable. -- Changed default region wand to leather (#334). - -Thank you to the following individuals for their contribution: -thvortex, Rutr, Glitchfinder, and DarthAndroid. - -5.5.4: -- Minecraft 1.3 support. -- Fixed /stack dupe bugs. -- Added regions.use-creature-spawn-event. -- Update for Async chat issue. -- Add use flag to cakes. -- Report number of plugins loaded in report writer. -- Updated fireblal item blocking. -- Fixed permissions for /region reload. - -5.5.3: -- Added game mode flag. -- Added item drop pickup flag to regions. -- Added support for fireball item blocking (385). -- Added configuration option to allow creature spawns from plugins. -- Added host key check. -- Added a new line split feature to region greetings. -- Prevented commands in the allow commands list from being blocked and - vice versa. - -5.5.2: -- Added potion-splash flag to block splash potions -- Add entity-painting-destroy which can be used to prevent entities from destroying - paintings (skeletons firing arrows) -- Added send-chat and receive-chat flags -- Fixed having regions in multiple worlds with the same name not working with MySQL -- A cancellable event is now fired if WorldGuard disallows PvP. (for developers!) -- Made /region setparent check worldguard.region.setparent.own/member. instead - of worldguard.region.setparent.own/member.. -- Allowed passing # in place of a region ID, where is the index as - displayed by /region list. -- Fixed an error that occured when clearing a non-existant region's parent. -- Added a -s flag to /region teleport, which sends you to the spawn point instead of the - teleport point of a region. -- Added region/role-based permissions to /region teleport. -- BREAKING CHANGE: Added a LocationFlag class and made the teleport and spawn flags - use it. -- /region info -s now selects the region being queried. -- Added /region teleport . -- Vector flags can now be set to the current location with the value "here" and to a - specific position with x,y,z. -- Made /region info show the region you're in if you don't specify an id explicitly. -- Prevent block ignition from lightning strikes if lightning is blocked in region. Fixes - #1175 -- Correctly check both WEPIF and superperms in WorldGurdPlugin.broadcastNotification() -- Destroy fire blocks when fire-spread is disallowed -- Added a construct flag that can be used to restrict block placing/destroying in zones - to certain roles. -- Added FallingSand to list of intensive entities to be removed with /halt-activiy. -- Replaced all usage of CreatureType by EntityType. -- Updated to support Bukkit 1.2-R0.3 and newer -- Made auto-god-mode disabled by default again. -- Added sign protection check disable. -- Cleaned up javadoc, deprecated duplicate methods, other cleanup -- Added a RegionGroupFlag to evey region flag Using the /region flag command with -g, - the region group that the region flag applies to can be set. - -5.5.1: -- Fixed attacking with arrows from non-PVP to PVP areas -- Compatibility with Bukkit 1.1-R5 -- Removed broken suppress-tick-sync-warnings config option. See bukkit.yml's setings.warn-on-overload option instead. -- Add region and 'can build' information to CommandBook's /whois - -Contributions thanks to: NolanSyKinsley - -5.5: -- Removed WorldEdit.jar from the classpath to stop conflicts with Bukkit's plugin loader -- Now using Bukkit's tagged logging -- Updated to new event system -- Flush player flag state cache on world change -- Improved compatibility with versions of CommandBook without GodComponent and updated pom dep for 2.0 -- Added MySQL region storage method. -- Made explosions display their animations even when the event was blocked. -- Added fallback support for those who don't have a version of CommandBook with GodComponent -- Added LIGHTNING flag to DefaultFlag's flagsList Fixes #1026 -- Removed /god, /heal, /locate, and /stack from WorldGuard to CommandBook. CommandBook is now checked to see whether a player is godded. -- Removed remaining usages of org.bukkit.util.config.Configuration -- Removed some unused configuration options -- Added permission worldguard.region.wand to the region wand -- Fixed ProtectedRegion.compareTo. -- Fixed FlatRegionManager.getApplicableRegions to return parent regions as well. -- Added exp-drops flag to disable experience drops per-region. -- Fixed some warnings. -- Updated dependency version for WorldGuard from 5.0 to 5.1-SNAPSHOT. -- Added support for fireballs shot by players being blocked by the PVP flag. -- Now using dynamic command registration -- Split off ender dragon block damage from creeper block damage. - -Contributions thanks to: narthollis, DarkArc, Wolvereness, and skeight - -5.4: -- Fixed configuration generation on Windows -- Fixed intersection calculation for regions -- Fixed timer and feeding delay for food flags -- Fixed region managers not being created properly (This caused errors related to CREATURE_SPAWN) -- Added support for Minecraft 1.0.1 blocks -- Added support for enchantments and tool damage (worldguard.stack.damaged is the node) with /stack -- Made being in the wg-invincible group respect the configuration's auto-invincible setting -- Added per-group region claim limit maximum -- Added worldguard.region.addowner.unclaimed.* permission for non-economy region 'buying' -- Checking allowed/blocked commands now occurs earlier to override more plugins -- Made PVP flag check whether either player is in a pvp deny region for blocking - -Contributions thanks to: epuidokas, wizjany, Turtle9598, and DerFlash - -5.3: -- Added new config options and flags to better handle explosions of all types -- Added config options and flags for snow, ice, mushroom spread, grass spread, - and leaf decay -- Added min and max health flags to clamp the values for the existing healing - flags -- Added hunger flags similar to the existing healing flags -- Added an option to disable the use of the move event. This can boost - performance on large servers but will disable the greeting/farewell - and entry/exit flags -- Added flag to prevent pistons (including those that are outside the - region, but would affect blocks inside the region) -- Added a /wg flushstates [player] command to free players stuck in a - region that was exit-deny but no longer exists or the flag was removed -- Added a config option to disable xp orb dropping -- Added config option to disable redstone wire obsidian generators -- Added a vehicle-destroy flag -- Added enderman protection config and flag -- Allowed and blocked command flags will now fall back to the global region -- The worldguard.region.flag.own/member permissions are now - worldguard.region.flag.regions.own/member! Please change your permissions - accordingly. -- Made //stack respect max stack sizes unless the player has the - worldguard.stack.illegitimate permission -- Setting invincibility flag to deny will override god mode unless the player - has worldguard.god.override-regions -- The sleep flag will now prevent beds in the nether from - exploding if set to deny -- Existing regions can no longer be accidentally overwritten. - Use /region redefine to move an existing region. -- The info command will now sort players alphabetically -- Priming TNT by punching it with flint and steal should throw a blacklist - event (consistent with old Minecraft versions) -- The /stoplag command will now remove xp orbs -- Permissions system will use per-world permissions if the provider supports it -- Players in vehicles are now subject to entry/exit and greeting/farewell flags -- Fixed interact blacklist event not logging correctly -- Fixed heal flag taking effect half a block northeast of the region -- Fixed a infinite sign dropping bug -- Fixed players being able to douse fire by punching it in regions they - couldn't build it -- Fixed players being able to eat protected cake -- Fence gate usage can be blocked with the use flag -- Fixed chests being unprotected when they should be in 1.8 -- Fixed weather config settings not applying when a world was loaded -- Fixed explosion handling in certain cases -- Fixed arrows working in non-pvp zones -- Fixed buckets working on the border of protected regions in certain cases -Contributions thanks to: -wizjany, zml2008, imjake9, Droolio, epuidokas, -EduardBaer, TomyLobo, and halvors - -5.2.2: -- Changed configuration saving so empty lists will be added to - the configuration files. - -5.2.1: -- Add region bounds to /region info -- Added the ability to add owners/members to the global region for - handling guest groups. Now if there's owners or members on the global - region, then those that are not on the list cannot build. -- Fixed some flag algorithm issues. -- API: Fixed DefaultDomain.size() not counting players. -- API: Undeprecated ApplicableRegionSet.allows(StateFlag). - -5.2: -- Gave the ability to use color colors and macros in greeting - and farewell messages. -- Added disable-ice-melting, disable-snow-formation, disable-mushroom-spread, - disable-snow-melting, disable-ice-formation. -- Added paintings to blacklist support. -- Added default.disable-health-regain. -- Added auto-invincible-permission setting, which lets you use the permission - 'worldguard.auto-invincible' to become invincible on join automatically. -- Flames won't appear if you are /god'ed now. -- Added blocked-cmds region flag to block commands. -- Added allowed-cmds region flag to whitelist commands. -- Added entry region flag to block entry. Use entry-group to determine who - this affects. -- Added exit region flag to block exit. Use exit-group to determine who - this affects. -- Made negative healing possible via the healing flag. -- Changed the configuration header messages to be more helpful to new users. -- Added a warning about modifying region files by hand. -- Improved the API for plugin developers. - -5.1: -- A lot of changes. - -4.0-alpha1: -- This release is only to fix WorldGuard for Bukkit. Ignore the 4.0 - label. Just move along. Nothing to see. - -3.2.2: -- Changed disable-water-damage to disable-drowning-damage. -- Fixed suffocation disable option. -- Fixed fire spread blocking. -- stopfire and allowfire now work in server console, just like in hMod. - -3.2.1: -- Updated for recent Bukkit ItemStack change. - -3.2: -- Added regions.default.pvp to control default PvP setting. -- Updated WorldGuard for the newer builds of Bukkit. -- Fixed creeper explosion blocking. -- Added redstone support to sponges, removed classic water. -- Fixed item durability disable for hoes. - - -3.1.2: -- Increased the priority of WorldGuard's event handling. - -3.1.1: -- Fixed creeper and chest flag conflicting. - -3.1: -- Added ability to disable chest protection. New configuration setting - (regions.build.chest-access) and new chest flag. -- Possibly fixed projectile blocking in no-PvP zones. -- Added /regionmembership permission that lets people only change - the owners and members of regions they own. - -3.0b2: -- Fixed issue where built-in permissions were not (re)loaded. -- Fixed /god not working for others. - -3.0b1: -- Added parent-child relationships to regions. -- Added global build flag. -- Improved flag support. -- Fixed no-PvP zone messages being sent to the wrong person. -- Fixed commands so that they work in a recent version of Bukkit. -- Fixed NullPointerException in explode hook. - -2.3.1: -- Fixed various cast exceptions with the blacklist loggers. -- Added checks for unchecked exceptions when resolving permissions. -- Fixed the item durability disable setting changing the damage value on - an empty hand. - -2.3: -- /god now works very well. -- Item (TNT, flint and steel, etc.) blocking should now work. -- The TNT blocking configuration variable should now work. -- Re-added /heal (not sure where that went), added /slay. -- Implemented contact damage disable toggle. -- Made all player damage disabling configuration parameters work. -- Fixed teleport-on-suffocation setting. -- Added /locate , /locate , and /locate that lets you - program/change your compass bearing to point to a player's position - (not yet live), a position, or back to spawn. -- Fixed CSVDatabase spitting an error if the owners list was empty. - -2.2: -- Now supports GroupUsers. -- Added support for blocking creeper explosions. -- Fixed a bug where a player's groups were not being loaded correctly, - causing the blacklist group ignore option to not work. - -2.1.1: -- Fixed fire spread disable preventing flint and steel too. -- Fixed NullPointerException related to the player item event. -- Made setup simpler. - -2.1: -- Improved Bukkit support. - -2.0beta3: -- Fixed NullPointerException inside the ignite hook. - -2.0beta2: -- Fixed a NullPointerException in the damage hook. - -2.0beta1: -- Added area protection. Use /region or /rg to define regions. - -1.8.1 -- Fixed NullPointerException. - -1.8 -- Updated for Minecraft beta. -- Blacklist hooks have CHANGED. The new hooks are work better. on-create has - been replaced with on-place (for block placement) and on-use - (for item usage, light buckets and lighters). The old on-use is now - on-right-click although it currently does nothing. -- Added coordinates to blacklist file logger. -- Added suffocation damage prevention. - -1.7.1 -- Updated for v0.2.8. - -1.7 -- Updated for v0.2.6_02 and hMod b129. -- Added option to prevent water from damaging particular blocks - (Redstone wire, Minecart tracks, etc.). See disable-water-damage-blocks. -- /reload WorldGuard should now reload WorldGuard's configuration. -- Added wg-invincible and wg-amphibious groups that let you give certain - players invincibility or underwater breathing. -- Added the ability to disable fall, water, lava, and/or fire damage. -- Water/lava bucket blocking should now be more reliable. -- Added /stack (alias /;) commands to stack items in your inventory into - piles up to 64 items in size. Even unstackable items like signs can be - stacked. -- /god mode should now let you gain health. -- /god mode should now work more reliably. -- Caught an error message for when the configuration file does not exist. - -1.6 -- Added spawn protection that prevents damage when a player spawns. -- Added login protection that prevents damage when a player joins. -- Added /god. /god can be used on others, provided that the /godother - permission is set for the command's user. - -1.5.1 -- Removed the 'java.lang.NoSuchMethodError: Item.setDamage(I)V' error - generated. - -1.5 -- Removed the block lag fix. -- WorldGuard now conditionally loads features so you can use any up-to-date - build of hMod and the unsupported features won't break the entire - plugin. When WG loads, check the server console for a report of - features that are not supported by your version of hMod. -- Changed some configuration defaults: - disable-lava-fire=true - simulate-sponge=true - item-durability=false - -1.4.1 -- Fixed issue with the block lag fix dropping item stacks of 0 quantity. - -1.4 -- New on-acquire hook. This does both a total inventory check on inventory - change and item pick up denial. The item pick up denial is largely - thanks to Dinnerbone for fulfilling my request to add a particular hook. -- Item durability can now be toggled with item-durability. Thanks to - Dinnerbone for figuring this out while filfilling my request. The - default setting is to fix item durability. -- New no-physics-gravel and no-physics-sand options allow you to - prevent gravel and sand from falling. -- New allow-portal-anywhere option allows you to create portal blocks - anywhere. - -1.3 -- UPGRADE WARNING: If you are using database logging, you must add a - NULL 'comment' VARCHAR field to the table. The line of SQL that you - can run for MySQL can be found in blacklist_table.sql. -- Improved plugin compatibility with the block lag fix. For maximum - compatibility, you must now list WorldGuard as the first plugin in - server.properties and you cannot reload or enable the plugin - while the server is up. This is for bad plugins that unnecessarily - use the "critical" priority for its hooks like the LWC. Most plugins - don't do that though, so this won't apply for most people. -- Fixed signs being blank if they were denied via the blacklist. -- Added on-break event to the blacklist. -- Added comments and messages. Comments are only for your own use and they - are printed with the log and notify actions of the blacklist. The - message replaces the message that is shown the user and it is optional. -- The blacklist notification messages are now more compact and are - light grey instead of light purple. -- The notify, log, and tell actions will now trigger every time for the - on-break, on-create, on-drop events rather than wait 3 seconds between - events for the same item or block for a player. - -1.2 -- /stopfire and /allowfire disable and enable fire spreading globally. -- Block lag fix slightly improved in accuracy for item drops. -- Sponge updated to remove water when the sponge block is set. Sponge radius - can now be controlled using the 'sponge-radius' parameter and the - default is now set to simulate Classic. -- Updated for a newer build of "b126," meaning that lava spread control - now works well! -- A new summary of the status of some core protections is now printed - on start. Disable this with 'summary-on-start'. -- Blacklist system has been overhauled. Check README.txt for changed - configuration settings! -- 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. -- Tools can now be destroyed on drop to alleviate the durability cheat. - You can do this with either with the blacklist or with the - 'item-drop-blacklist' configuration option. The configuration option - prints more friendly messages than the 'tell' action of blacklists. - -1.1.2 -- Block lag fix: Snow and glass should no longer drop items. -- Block lag fix: Block object now reset after hook call. - -1.1.1 -- Fixed redstone wire dropping wood blocks with the block lag fix. -- The block lag fix now consults other plugins so that ALL protection - mechanisms and plugins should work. - -1.1 -- Added block lag fix. - -1.0 -- Initial release. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6942b91..7022b96e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,4 @@ -Contributing -============ +# Contributing Thank you for your interest in contributing to WorldGuard! We appreciate your effort, but to make sure that the inclusion of your patch is a smooth process, we diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 00000000..7547bd93 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,52 @@ +# New User Guide + +Thank you for installing WorldGuard! By default, when you first install WorldGuard, most features will be disabled until you enable the ones that you want to use. + +## Requirements + +You will need to be using [Bukkit](http://dl.bukkit.org/) for your server or one of its derivatives (such as Spigot or Cauldron). If you are using Minecraft Forge, you will have to use Cauldron in order to use WorldGuard. + +It is not possible to use WorldGuard with the plain vanilla server from Mojang. + +## Installation + +Installation is simple! + +1. Extract the `WorldGuard.jar` file and put it into your server's `plugins` folder. If the folder does not exist yet, you can create it yourself. +2. Run the Bukkit server. +3. Look inside `plugins/WorldGuard` and configure the plugin as necessary. There are also in-game commands. + +By default, only "ops" can use WorldGuard commands. If you install a permissions plugin, then you can assign fine grained permissions to your server's trusted users. + +## Documentation + +To learn how to use WorldGuard, check out [the wiki](http://wiki.sk89q.com/wiki/WorldGuard). + +## Frequently Asked Questions + +### How do I protect my spawn? + +Check out the [region protection tutorial](http://wiki.sk89q.com/wiki/$%7Bproject.name%7D/Regions/Tutorial) on the wiki. + +### Players can't do anything! + +WorldGuard will typically not block something without also telling the user that he or she does not have permission. Please make sure that it's not another plugin that is preventing players from interacting with the world. + +Also, be aware that spawn protection is a feature of vanilla Minecraft and you must disable that in `bukkit.yml`. It only allows ops to do anything in a specified radius around the world's spawn point. + +### I made a region but anyone can build in it! + +1. If players get a "you can't do that here" message but they are still able to build, it's because another plugin is likely undoing the protection offered by WorldGuard. +2. If no message is being sent, make sure that there is a region where you think one is. + +### Where can I ask questions? + +You can [ask questions on our forum](http://forum.sk89q.com) or visit us on IRC (irc.esper.net #sk89q). + +### Where can I file a bug report or request a feature? + +Visit our [issue tracker](http://youtrack.sk89q.com/dashboard). It's also used for WorldEdit and our other projects. + +### Is WorldGuard open source? + +Yes! [View the source code on GitHub](https://github.com/sk89q/worldguard). diff --git a/README.html b/README.html deleted file mode 100644 index 41dc5bfb..00000000 --- a/README.html +++ /dev/null @@ -1,232 +0,0 @@ - - - -${project.name} ${version} - - - - - -
-

${project.name} ${version}

-
-

Getting Started

-

- Thanks for choosing ${project.name}! When you first install ${project.name}, - nothing will be enabled, so you will need to switch on the features - that you need to use, whenever it is convenient for you. -

- -

- Need help? - See the ways that you can get assistance. -

-
-
-

Common Issues

- -

What are the other files that come with the download?

-

- Inside the folder "contrib" of the download are the following files: -

-
    -
  • blacklist_table.sql is for using a database with the - blacklist feature.
  • -
  • region_storage.sql is for using a database with the - region protection feature.
  • -
  • region_storage_update_20110325.sql is for updating your region protection - database (if you're using it) if your database was made before March 25, 2011.
  • -
- -

${project.name} doesn't seem to work.

-

- Two common mistakes include forgetting to install WorldEdit - (${project.name} needs it), or making - a syntax error in one of ${project.name}'s configuration files (this is very - fatal unfortunately, and can be caused by a single character typed in the wrong place). Try - asking in IRC - to see whether anyone can help you. -

- -

How do I protect my spawn, or another area?

-

- Read the area protection tutorial - on our wiki. For more detailed information, be sure to read about - region protection on the wiki. Note - that if you can't build in spawn, don't forget that Minecraft comes with its own - limited spawn protection that you have to disable (see below). -

- -

I or others don't have permission to build.

-

- Unless you copied configuration files from an older installation of - ${project.name}, your problem is either caused by another plugin, or by not - disabling the built-in spawn protection of the Minecraft server. -

- -

No one can build in a region I made!

-

- Make sure that: -

-
    -
  • You didn't change the 'build' flag, because protection is on by default - when a new region is made. Setting the build flag to 'deny' means that - no one can modify the things inside the region.
  • -
  • That you added the player as an owner or member of the region. If you are using - a group (g:groupName), you may have to give the group the permission of - group.groupName for ${project.name} to recognize it.
  • -
  • That you disabled spawn protection. The Minecraft server has an automatic - spawn protection feature where only 'ops' can build in a definable - radius around spawn (by default, it is 16 blocks). If you are on Minecraft - 1.4 or newer, edit "spawn-protection" in server.properties; otherwise, modify bukkit.yml - and change the spawn-radius setting.
  • -
  • That it's not another plugin causing you trouble. The error messages of ${project.name} are of - a dark red shade. If the color of the "no permission" message is not - that color, it is not ${project.name}.
  • -
- -

Everyone can build in a region I made!

-

- Make sure that: -

-
    -
  • You didn't change the 'build' flag, because protection is on by default - when a new region is made. Setting the build flag to 'allow' means that - anyone can modify the things inside the region.
  • -
  • That it's not caused by another plugin. If players are getting a dark red - permission denied message, but they can still build, another plugin - is likely causing the conflict.
  • -
- -

Where do I report bugs or suggest ideas?

-

- Make sure you are using the latest version of ${project.name}, try asking in - IRC first (see "Need help?" above) if it's a problem, and if you think you've - found a bug or have a great suggestion to provide, please - report it to our issue tracker. -

- -

- Still need help? - See the ways that you can get assistance. -

-
-
-

Contributing

-

- Did you know that ${project.name} is open source? That means that you can - read the code and learn from it, as well as modify it and submit back - changes to help the community! -

- -
-
- - \ No newline at end of file diff --git a/README.md b/README.md index 0712d07d..a11249fe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -![WorldGuard](http://static.sk89q.com/readme/worldguard.png) -========== +# ![WorldGuard](http://static.sk89q.com/readme/worldguard.png) WorldGuard is a toolbox of various functions, useful for multiplayer servers, that lets you: diff --git a/config/markdown/footer.html b/config/markdown/footer.html new file mode 100644 index 00000000..17c7245b --- /dev/null +++ b/config/markdown/footer.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/config/markdown/header.html b/config/markdown/header.html new file mode 100644 index 00000000..582a3cd2 --- /dev/null +++ b/config/markdown/header.html @@ -0,0 +1,368 @@ + + + +WorldGuard - titleToken + + + +
\ No newline at end of file diff --git a/pom.xml b/pom.xml index 207904bb..05622702 100644 --- a/pom.xml +++ b/pom.xml @@ -407,6 +407,26 @@ + + + com.ruleoftech + markdown-page-generator-plugin + 0.4 + + + package + + generate + + + + + ${basedir} + ${project.build.directory} + ${project.basedir}/config/markdown/header.html + ${project.basedir}/config/markdown/footer.html + + maven-assembly-plugin diff --git a/src/main/assembly/default.xml b/src/main/assembly/default.xml index 7cd5acc6..0a3e5379 100644 --- a/src/main/assembly/default.xml +++ b/src/main/assembly/default.xml @@ -36,7 +36,13 @@ false - README.html + ${project.build.directory}/CHANGELOG.html + / + true + + + ${project.build.directory}/INSTALL.html + README.html / true @@ -44,12 +50,8 @@ - LICENSE.txt - NOTICE.txt - CHANGELOG.txt contrib/blacklist_table.sql - contrib/region_storage.sql - contrib/region_storage_update_20110325.sql + contrib/region_manual_update_20110325.sql