Commit Graph

  • 6eb23a200e Fix for PowerLossEvent Messages alkarin 2012-12-17 11:34:19 -0600
  • 1f5dc830be Added a new Factions event for power loss named PowerLossEvent. PowerLossEvent happens after each player death alkarin 2012-12-17 10:10:13 -0600
  • 640c96c828 update craftbukkit lib to fix CB dev build breaking EntityChangeBlockEvent, and add "b" to version for recompile Brettflan 2012-12-05 21:12:51 -0600
  • 2f883455ee Land Reward Task up and running. Conflicts: src/com/massivecraft/factions/Conf.java src/com/massivecraft/factions/listeners/FactionsPlayerListener.java ÆtherSurfer 2012-11-30 15:02:43 -0500
  • ca219a1fb2 Reward faction members with money every day for every plot they control divided among all the players in the faction ÆtherSurfer 2012-11-28 00:51:37 -0500
  • 47f23b93da Release 1.7.9 Beta Brettflan 2012-11-30 20:14:32 -0600
  • 857892738f fix for /f list command throwing an error if an invalid page number was specified (ex. 5 pages available and they run /f list 6) Brettflan 2012-11-30 19:43:04 -0600
  • 9c7ed3bf38 Fix for pistons being able to push blocks into protected territory through water or lava Brettflan 2012-11-11 13:05:58 -0600
  • 1c8d6919bd New setting "broadcastDescriptionChanges" (default false) which can be enabled to have faction description changes broadcast to everyone on the server. Previously description changes were always broadcast. Brettflan 2012-11-09 18:22:39 -0600
  • 95289e1411 fix for piston retraction not working if faction doesn't have build rights in its own territory; missed this when fixing the same thing for piston extension recently Brettflan 2012-11-09 17:47:53 -0600
  • 5c45ea5ee2 Fix for command prevention routine treating Wilderness areas as neutral faction territory in 1.7 branch Brettflan 2012-11-09 07:44:46 -0600
  • 3a68820016 Release 1.7.8 Beta Brettflan 2012-11-08 01:01:20 -0600
  • 675505e6fd Using PlayerLoginEvent instead of PlayerPreLoginEvent to fix a warning. Olof Larsson 2012-11-07 11:39:59 +0100
  • 2f80787edd Fix for crop trampling and pressure plates not being protected due to bug introduced in recent performance overhaul Brettflan 2012-11-06 15:01:37 -0600
  • b8aaeb1053 Fix for slashless commands triggering errors in CraftBukkit on rare occasions due to being run async Brettflan 2012-11-06 14:23:17 -0600
  • 20b359c11a Wither boss second stage will no longer be able to destroy blocks in territory which has explosion protection (explosion faction flag turned off) Brettflan 2012-11-06 11:58:14 -0600
  • 174320c278 updated known badPotionEffects to include wither potion Brettflan 2012-11-06 11:04:08 -0600
  • 3055e68e86 fix for economy check that made sure player/faction could afford specific commands not working correctly; thanks to spaceemotion for pointing out the problem and fix Brettflan 2012-11-06 11:01:16 -0600
  • a783dc33cf Protect hanging entities (paintings and item frames) from explosions; thanks to Tahkeh for the method Brettflan 2012-11-06 10:06:37 -0600
  • e83ac76b2c Added anvil and beacon to list of list of protected container materials Brettflan 2012-11-06 10:00:19 -0600
  • 3e0a68fd6e Performance overhaul sponsored by rockxz3, using his large server's data for reference to help with testing and tuning. Timing numbers below are based on this data set on my test server. * PlayerMoveEvent performance boost (from 0.047ms to 0.015ms in testing, ~313% as fast): now more thrifty in determining whether player has actually moved between chunks before doing anything else; important since this event triggers extremely quickly * PlayerInteractEvent performance boost (from 0.068ms to 0.034ms in testing, ~200% as fast): now ignores left-clicks for interaction checks, since in CraftBukkit 1.4 left-clicks no longer open doors or activate buttons/levers/etc.; not as important as above, but still triggers quite often as people are digging or interacting with blocks * "/f list" command performance boost (from 234ms to 30ms in testing, ~780% as fast): code was getting information for all factions, narrowed it down to only getting info for displayed page range * "/f show" command performance boost (from 132ms to 28ms in testing, ~470% as fast): tweaked the ally & enemy listing code used Brettflan 2012-11-06 09:43:27 -0600
  • d31741fb34 Updated old painting events to new hanging events so that item frames are also protected. Brettflan 2012-10-31 16:16:21 -0500
  • 41cd9484d3 Update CraftBukkit lib to 1.4.2 dev build 2421 Brettflan 2012-10-29 19:21:25 -0500
  • ef56ce9a51 Backups are now created of bad factions.json and players.json files if they fail to load due to a JSON parse error; same as we already do for bad conf.json Brettflan 2012-10-19 01:50:37 -0500
  • 7bbb4fbf44 Update to "handleExploitTNTWaterlog" method to not destroy Ender chests or portals; sadly there's still no method provided by Bukkit to get a block's blast resistance, so we have to go by a list of block type IDs which are supposed to be TNT-proof Brettflan 2012-10-19 00:11:28 -0500
  • 5f33e51fae Fix for crash on plugin startup if Worldguard integration is enabled ("worldGuardChecking") but Worldguard plugin isn't loaded on server Brettflan 2012-10-09 17:37:01 -0500
  • 619e52a5d4 fix for pistons not working (via pistonProtectionThroughDenyBuild) if faction doesn't have build rights in its own territory Brettflan 2012-09-30 18:01:42 -0500
  • 56cb2becde added some (apparently absolutely necessary) idiot-proofing for CB version support due to changed GSON lib package name; we were getting a flood of invalid error reports because of it Brettflan 2012-09-05 03:42:59 -0500
  • de9ac6cc1f Release 1.7.7_beta Brettflan 2012-08-26 18:49:14 -0500
  • f65f3a0e9e Fix for factionless players being unable to hurt each other, and fix for factionless players taking reduced damage in Wilderness (was being treated as their faction territory by damage reduction routine) Brettflan 2012-08-26 18:48:49 -0500
  • 7aa4fa12f2 Modified readBytes() and writeBytes() methods in DiscUtil.java to use older file handling routines which don't require Java 7. The vastly improved file loading speed which came from Olof's recent update to this file has been retained. Brettflan 2012-08-26 15:23:45 -0500
  • b588d355b4 Fix crash when HeroChat was not present. Olof Larsson 2012-08-26 12:20:56 +0200
  • e3bfaec642 Merge branch 'master' of github.com:MassiveCraft/Factions Brettflan 2012-08-26 01:02:54 -0500
  • 28206b1c25 The latest CraftBukkit builds have changed their compiled-in GSON lib's package name. Rather than us switching back to using a separate GSON lib again (with two effectively identical copies of GSON ending up loaded and wasting server resources), I'm simply switching Factions to point to CraftBukkit's refactored GSON package name instead. Brettflan 2012-08-26 01:02:31 -0500
  • bc0647e51b Fixing the recipients for HeroChat integration. Olof Larsson 2012-08-26 02:12:02 +0200
  • 48c5131ea4 New beta herochat integration and fixing the slow load time. This may require Java7. Olof Larsson 2012-08-26 00:54:15 +0200
  • b0823dc5a8 Release 1.7.6 beta Brettflan 2012-08-09 22:11:00 -0500
  • 3be1ecf63c nitpicking myself Brettflan 2012-08-07 22:33:23 -0500
  • 8e64c7c137 clean up code from last commit a bit Brettflan 2012-08-07 22:28:21 -0500
  • 98f20a4ec6 Merge pull request #138 from ammaraskar/master Brett Flannigan 2012-08-07 20:09:59 -0700
  • a57132aa7d Update version to 1.7.6_pre, fix for invalid comparison Brettflan 2012-08-07 21:58:41 -0500
  • af6c4952fa Add default permissions for all members of SafeZone/WarZone factions to use territory access commands; this way, players trusted enough to be added to either system faction will be able to grant access to their claims as desired Brettflan 2012-08-07 21:58:04 -0500
  • 124a46c791 Update for remaining old PlayerChatEvents, update EssentialsChat libs and integration accordingly Brettflan 2012-08-07 21:51:22 -0500
  • ddd17830c0 Switch PlayerChatEvent to AsyncPlayerChatEvent for bleeding-edge 1.3.1 Bukkit builds to prevent persistent nag from Bukkit, update Bukkit lib Brettflan 2012-08-05 19:58:50 -0500
  • 7f228b648a Some servers might want to disable territorial warfare alltogether. Olof Larsson 2012-07-30 23:28:23 +0200
  • a380b86a71 Bug fix for that wilderness painting on dynmap. Olof Larsson 2012-07-19 02:56:05 +0200
  • 17e0701ecb Merge pull request #146 from basicsensei/master Brett Flannigan 2012-07-16 14:06:27 -0700
  • 94816a6e52 fix evil bug with getPlayer matching online players if the offline player had similar name with the online player ie. online "s2", offline "s", then "s" would show as online because getPlayer("s") will return getPlayer("s2") this is why getPlayerExact should be used basicsensei 2012-07-16 18:11:27 +0200
  • 0b2e9e340d Fixes an ender pearl exploit allowing players to clip through blocks who occupy less than 1 block in width or length Ammar Askar 2012-06-10 14:22:50 +0500
  • d7a5970b85 Release 1.7.5 alpha: one last minor fix to EssentialsChat integration needed Brettflan 2012-05-16 20:34:38 -0500
  • 0966d3579d Release 1.7.5 Brettflan 2012-05-16 18:06:16 -0500
  • af1024e5a4 Changed default Spout territory faction display to upper left, since Spoutcraft client now has minimap in upper right Brettflan 2012-05-16 15:31:42 -0500
  • 4460438365 Brief access info is now displayed under two circumstances: if you have been granted explicit access to the territory you are in ("access granted"), or if you are a normal member of the faction which owns the territory and access is denied to you ("access restricted"). This info will be displayed through Spout under the faction tag if possible, otherwise it will be displayed through chat. Brettflan 2012-05-16 15:29:00 -0500
  • 01d9f62bdd Removed bit of code which was apparently intended to optimize movement event code but which was actually slowing the process down a bit overall Brettflan 2012-05-16 12:57:44 -0500
  • a0909ddb5c Added back a FactionsBlockListener.playerCanBuildDestroyBlock() method which references Location instead of Block, mainly for backwards compatibility Brettflan 2012-05-16 11:52:47 -0500
  • 58bec9d6dc New "access" system to replace old ownership system. Access can be granted to build, destroy, and fully interact within any chunk for specific players or factions. Access can also optionally be denied to normal members of the host faction. Some further info display to go with this feature is yet to come, and further testing for possible bugs is also needed. Brettflan 2012-05-14 21:41:13 -0500
  • d2b0fee335 Delete a couple of files which are no longer used Brettflan 2012-05-14 19:53:08 -0500
  • 5988e8e5af Simplified the perm command. Olof Larsson 2012-05-09 06:29:52 +0200
  • a0a163056d Now using automated help. Fixed SeeChunk issues. Olof Larsson 2012-05-09 05:56:37 +0200
  • 67e5aa8464 Fixing a few apperance bugs and stopped updating apparance if it was the same. Olof Larsson 2012-05-09 05:21:21 +0200
  • 2c5438bf70 Some minor fixes to the previous commit. Olof Larsson 2012-05-09 03:32:04 +0200
  • ca6b185bd1 New cape system and refactored spout appearances. Olof Larsson 2012-05-09 03:24:07 +0200
  • 1f51ee9699 Improved explosion handling speed Brettflan 2012-05-08 15:14:16 -0500
  • c32736f3f1 fix for rare case where faction home location's world being removed or renamed (world with specified name not existing) could lead to NPE Brettflan 2012-05-08 12:47:46 -0500
  • 1459c9c057 Reworked chat completely. Added Herochat integration. New tag-parsing system. Non-monitor-breaking relation colored chat. Olof Larsson 2012-05-02 04:45:10 +0200
  • 06d22549e2 Added in some deprecated methods for backwards-compat. Olof Larsson 2012-04-27 20:29:41 +0200
  • e3a7188b0d /f show|who command will no longer reveal players as online if they are hidden from the viewer by the Vanish API Brettflan 2012-04-26 08:08:11 -0500
  • 1defa2984b Relation commands will now cancel out if the same relation is already set with the target faction. Brettflan 2012-04-06 13:27:23 -0500
  • ffa4806af4 fix for /f power command used on self incorrectly also requiring factions.power.any permission Brettflan 2012-04-06 13:23:01 -0500
  • 10522e7048 Made a sepparate health bar listener, reduced duplicate code and added respawn listener. Olof Larsson 2012-04-01 15:08:20 +0200
  • 3eed72783b Added a healthbar feature :) Olof Larsson 2012-03-25 21:07:11 +0200
  • 6d75fa39cc New setting "handleExploitTNTWaterlog" (default false/disabled) which, if enabled, will cause TNT which explodes in liquid to actually destroy a single adjacent block in all 6 directions. This will only apply to blocks which can be destroyed by TNT normally, specifically anything other than air, bedrock, water, lava, obsidian, and enchanting tables. The destruction of these blocks will be handled as if they had been mined, dropping the appropriate item. Brettflan 2012-03-19 11:18:39 -0500
  • d77cf1fa18 Double-space (or more) after command alias is no longer accepted, i.e. "f home". Otherwise, command prevention routines (in Factions itself and in other plugins) can be bypassed. For example, preventing the "f home" command wouldn't prevent anyone from using "f home" or "f home" instead. Brettflan 2012-03-19 08:21:06 -0500
  • 8333354926 New setting "handleExploitInteractionSpam" (defaults to true). If enabled, players will begin to take injury if they rapidly try interacting with anything in another faction's territory. This is to prevent people from spam-clicking on doors and chests and such in the hopes that they'll get one through. After 10 rapid interaction attempts in a row, every click will cause them damage; the damage amount is a half heart of damage for every 10 clicks (up to 1 heart at 20 clicks, 1.5 hearts at 30, etc.). After the player has stopped trying for 2 seconds, their failed interaction counter will reset. Brettflan 2012-03-19 07:59:41 -0500
  • 8f2e587eb9 Optional prevention of a couple of exploits. Brettflan 2012-03-19 06:55:00 -0500
  • 2df8ca0df9 Add fireball/"fire charge" to materialsEditTools list, to prevent them from being used to set things on fire like flint&steel Brettflan 2012-03-19 04:18:59 -0500
  • f3239cd9ed Should finally completely fix problem where player location world changes in the middle of the /f home smoke effect, triggering an error from trying to calculate distance between worlds Brettflan 2012-03-19 01:28:06 -0500
  • 345e18bf56 Release 1.7.4 alpha (sorry, forgot I hadn't pushed this version change) Brettflan 2012-03-17 00:39:03 -0500
  • d8a39140fc Faction homes should no longer be lost if their target world isn't already loaded when Factions loads at server startup. This is done using a new lazy-load Location container class which only initializes the Location when it's actually needed. Brettflan 2012-03-14 13:06:38 -0500
  • 7b9674dc4b Ability to pay for commands (through economy) is now checked before firing events which can be canceled, and actual payment made after making sure the event isn't canceled. Brettflan 2012-03-13 09:48:34 -0500
  • fd8ca30af6 (donington) Fixes for compiler warnings & minor .gitignore enhancement, completed the last of the creatureType/entityType renaming (a few imports and functions) Brettflan 2012-03-13 08:43:45 -0500
  • 18b10ce8f9 Cleaning sweep, mainly for various stray "4 spaces" indentions to tabs Brettflan 2012-03-13 08:27:03 -0500
  • 28269b7455 a bit of cleanup Brettflan 2012-03-13 07:47:54 -0500
  • a53a556594 Merge pull request #103 from donington/CustomFactionEvents Brett Flannigan 2012-03-13 04:31:52 -0700
  • 147982e956 updated bukkit lib Brettflan 2012-03-13 05:56:11 -0500
  • 2856411594 Remake of radius claim method. It now starts in the current chunk and spirals outward, in a repeating task designed to keep from overloading the server. The old method tried to put together a list of chunks, and then tried to claim them immediately starting from one corner of the overall area. New setting "radiusClaimFailureLimit" (default 9). If claims are unsuccessful that many times in a row during a radius claim, the task will cancel out. There is no longer a limit to the specified radius since the process should no longer cause major server stress, and due to the process canceling out after several failures as just described. Brettflan 2012-03-13 05:54:48 -0500
  • e2f0d049f9 Merge remote-tracking branch 'origin/master' into CustomFactionEvents donington 2012-03-13 04:51:32 -0400
  • fbdc0503ba Fix for "econClaimUnconnectedFee" not working correctly Brettflan 2012-03-11 22:44:38 -0500
  • b88430a628 New setting "playersWhoBypassAllProtection" (default empty), which is a list of player names that should always bypass normal faction protections such as block destruction and placement. This is primarily for use with other plugins/mods which use a fake player to take action, which shouldn't necessarily be subject to protections provided by Factions. Note that case is important; you must preserve the exact capitalization of the name. As with every other setting, you are advised to use /f config to modify it. Example: /f config playersWhoBypassAllProtection fakePluginPlayerName - add/remove the specified player name Brettflan 2012-03-11 13:36:03 -0500
  • cc772b00ce Merge remote-tracking branch 'origin/master' into CustomFactionEvents donington 2012-03-11 13:29:37 -0400
  • 9314b4e298 Updated Faction Event System -- Land Events donington 2012-03-11 13:28:31 -0400
  • c0308940c8 Connected standard command handler getCommand("f"), for it to work with other plugins which directly execute commands using that interface. Brettflan 2012-03-11 11:41:56 -0500
  • 2c6191b73f Removed dependence on external GSON lib in lib/gson.jar, since GSON 2.1 is now embedded in CraftBukkit itself, used by their auto-updater added shortly before 1.1-R5 was released: 0ed1d1fdbb Brettflan 2012-03-11 07:39:31 -0500
  • a888a9c5b5 Updated /f config to support modifying "factionFlagDefaults" and "factionPermDefaults". Both of these settings require an additional argument more than other settings. Brettflan 2012-03-11 07:33:47 -0500
  • fd44983ae2 (donington) Consolidated chat event listeners into a single chat listener class. Brettflan 2012-03-09 21:25:01 -0600
  • a5bb25eb44 New setting "logPlayerCommands" (default true) which can be disabled to prevent player commands from being logged. Brettflan 2012-03-09 19:26:40 -0600
  • 88bdadcb2b Merge remote-tracking branch 'origin/master' into CustomFactionEvents donington 2012-03-09 17:49:10 -0500
  • 6329fd0eaf updated patrickfreed's custom event system donington 2012-03-09 17:09:33 -0500
  • 1ca93948a3 Replaced deprecated CreatureType references with EntityType Brettflan 2012-03-09 14:46:45 -0600
  • 0a048d6553 If plugin failed to load correctly for various reasons, it could end up wiping the board or faction list. This should now be prevented. Brettflan 2012-03-09 14:44:17 -0600