24362d38e9moving additional JAR contents into src folder, adding my complete NetBeans project files so others have an easier time working with the source
Brettflan
2011-06-28 18:49:42 -0500
b66b102333New conf.json option "homesTeleportCommandEnabled" which can be used to disable the /f home command, while possibly leaving faction homes enabled for the "homesTeleportToOnDeath" functionality
Brettflan
2011-06-28 18:29:14 -0500
a9619a73c0some changes to the file reading routine, to speed it up and also to hopefully be more tolerant of user changes to file encoding (intentional or more likely unintentional) from the default UTF-8 encoding
Brettflan
2011-06-28 18:27:35 -0500
c80f6d803cone more hookable utility function for other plugins to use, to determine the support version for the hook functions (will increment whenever new hooks are added)
Brettflan
2011-06-28 18:25:00 -0500
f79831d3d6added another simplified function for chat plugins to hook, ShouldLetFactionsHandleThisChat(PlayerChatEvent event) to see if chat event is a special case which should be left alone for Factions to handle (Faction Chat enabled player, or factions f command without slash used)
Brettflan
2011-06-27 12:25:02 -0500
a7676429feremoved "preloadChatPlugins" option and related code, since that method could cause problems and since we've switched to using softdepend in the plugin.yml for preloading plugins
Brettflan
2011-06-27 03:06:09 -0500
071e8b7b6bfurther improved hookable functions for use by other plugins, added softdepends for appropriate chat plugins
Brettflan
2011-06-22 20:12:37 -0500
094486676aAdded conf.json option "noPVPDamageToOthersForXSecondsAfterLogin" (defaults to 3 seconds) which keeps players from being able to do PvP damage for a few seconds after logging in (to counteract the exploitable 3-second PvP protection given to players when they log in); Fix for "claimsMustBeConnected" bug which prevented factions from making their initial first claim
Brettflan
2011-06-22 20:10:42 -0500
6035b204dcupdating built-in GSON to 1.7.1 release
Brettflan
2011-06-22 18:40:56 -0500
55dd858be9A bit of cleanup and odds and ends, adding missing @Override annotations and such
Brettflan
2011-06-21 00:38:31 -0500
60227b6dc4Added option "considerFactionsReallyOfflineAfterXMinutes" (default 0.0, immediately) which makes all "Offline" options still consider the faction as having members online until X minutes after the last one logs off
Brettflan
2011-06-21 00:20:36 -0500
8880d503e2added option "claimsMustBeConnected" (defaults to false) which requires all faction claims beyond the first to be connected to each other; support for "{FACTION_TITLE}" in chat messages
Brettflan
2011-06-20 21:15:41 -0500
56cbf54c98Added options to require faction homes to be set only inside the faction's own territory ("homesMustBeInClaimedTerritory", default is true) and to optionally prevent teleporting to the faction home if the player is in enemy territory ("homesTeleportAllowedFromEnemyTerritory", default is true thus not prevented) Made commands which reference player names (like /f admin <name>) allow for partial name matches Optimized a couple of things, and updated help text to indicate /f unclaim works for safe/war zones
Brettflan
2011-06-19 03:56:21 -0500
768f96bf9badded option "disablePVPForFactionlessPlayers" to disable PvP damage to/from players who are not in a faction
Brettflan
2011-06-19 03:49:46 -0500
e886cef9aaFix for DenyUsage checks in safe zones and war zones not being handled properly
Brettflan
2011-06-16 02:37:05 -0500
db0e89fb11Disband command got missed for being added to help pages
Brettflan
2011-06-16 02:34:56 -0500
4da15abb06fix for "No Faction" player count always returning 0
Brettflan
2011-06-16 02:33:41 -0500
cddaa73948Added another hook, handleFactionTagExternally, for chat plugins to indicate they're handling faction tag insertion into chat
Brettflan
2011-06-11 19:02:57 -0500
6c37f4cbe1added functions to main class for other plugins to potentially hook into, targeted at chat plugins at the moment: isPlayerFactionChatting to see if player has faction chat enabled, and getPlayerFactionTag and getPlayerFactionTagRelation to get the player's uncolored or relation-colored faction tag
Brettflan
2011-06-11 17:29:24 -0500
3f0d330d6efix for /f disband causing NPE if you provided a bad (nonexistent) faction tag
Brettflan
2011-06-11 17:01:06 -0500
4cc13707ccAdded further "offline" options for preventing the 3 explosion types in faction territory; also fix for safe zone and war zone autoclaim bug
Brettflan
2011-06-10 18:47:39 -0500
e023e9de91a few minor speed enhancements
Brettflan
2011-06-10 18:45:11 -0500
1af166b1c2fix for /f save causing NPE when run from console
Brettflan
2011-06-10 14:26:30 -0500
097b555466new autoclaim commands for faction claims, safe zone claims, and war zone claims, which claim land as you walk around
Brettflan
2011-06-10 14:26:12 -0500
2e1d7da50f/f lock command can now be used through console; fix for /f reload command causing NPE if run from console
Brettflan
2011-06-10 14:22:29 -0500
f9de4171d4special case added to block placement check, so flint&steel isn't prevented due to placing fire (as Bukkit sees it)
Brettflan
2011-06-10 14:16:14 -0500
7ab0d700ccAdded new "territoryDenyBuildWhenOffline" option to go with other two new offline prevention options by thomastanck; slight speed improvement for offline check
Brettflan
2011-06-10 14:14:02 -0500
cbd0ee42baNew conf.json option "warZoneFriendlyFire", defaults to disabled; if enabled, allies and fellow faction members can hurt each other in war zones
Brettflan
2011-06-10 07:38:14 -0500
19b1ceabddchanged /f home enemy distance check to use simpler box shaped detection area instead of diamond shaped
Brettflan
2011-06-08 20:33:12 -0500
85fd5eb04dFix for options which disable wilderness explosions (TNT, creepers, fireballs) not actually disabling them; player->player damage is now also prevented if attacker is in a safe zone and defender is not (attacking from safety that way was exploity)
Brettflan
2011-06-08 16:22:19 -0500
d0a405ff95reload and save commands now don't require it to be a player executing them
Brettflan
2011-06-08 16:19:02 -0500
a1e89457ffChange-Id: Ibaa6d8c7eba4fe616faa5e78d946c9495d252fde
Thomas Tan
2011-06-04 18:14:39 +0800
999be49f5cForgot offline block protection. Added now.
Thomas Tan
2011-06-04 17:59:35 +0800
5ddc24f855Added offline protection using the new configs
Thomas Tan
2011-06-04 17:36:28 +0800
24a4da6d2eAdded configs for protection for offline factions
Thomas Tan
2011-06-04 17:36:03 +0800
d793b718aaRemoved unused import and unused private variable "lock"
Thomas Tan
2011-06-04 16:59:11 +0800
b1b96a4c1bBugfix release 1.2.2: Preload of EssentialsChat had problems if Essentials core wasn't loaded yet; added Essentials to preload list
Brettflan
2011-06-03 19:17:34 -0500
0859854af0New chat tag placement options to have it replace a specified string (such as the default "{FACTION}"), put the tag before or after a specified string (such as "<" or ">"), and whether to pad the front or back of the tag with an extra " ".
Brettflan
2011-06-03 13:06:41 -0500
be177902fdPeople hit in a safe zone no longer get spammed with "PlayerX tried to hurt you" messages; only the idiot trying to hit someone else in a safe zone gets spammed.
Brettflan
2011-06-03 13:02:24 -0500
35e17f3ec5ability to specify a single file with /f reload (i.e. /f reload conf), so you don't have to reload all 4 of them also a trivial typo fix
Brettflan
2011-06-03 13:00:16 -0500
6f0dcf4b29people with bypass permission can build in wilderness regardless of wilderness settings
Brettflan
2011-06-01 23:01:51 -0500
85d055739dAdded in options to protect all wilderness (unclaimed) areas, in case that's your sort of thing. Also lowered default "territoryShieldFactor" from 0.5 to 0.3, since it seemed a bit overpowered at 0.5.
Brettflan
2011-06-01 18:32:09 -0500
3a3b09da61New "territoryDenyBuild" and "territoryDenyUseage" options, so block protection and interaction prevention can be disabled on faction claimed land. Also added trap doors to the default "territoryProtectedMaterials" list.
Brettflan
2011-06-01 18:13:56 -0500
996acdc4fbAdded powerRegenOffline option for those who for whatever reason want player power to regenerate even when they are offline; increased default power loss from death from 2 to 4
Brettflan
2011-06-01 06:54:00 -0500
29469b0d27Preload some chat plugins before Factions to prevent conflicts
Brettflan
2011-06-01 06:39:25 -0500
654e3b159bNew option to disallow players from leaving, joining, or being kicked from a faction while they have a negative power level - code by sp1ky, adapted from a pull request
Brettflan
2011-05-29 16:41:50 -0500
b490c5f196Laundry list of changes for 1.2.0 release: /f map now has a nifty faction name key (LexManos) There are now War Zones; these work similar to Safe Zones, except PvP is enabled and monsters are not blocked (Brettflan) Players now only regenerate power while actually online (Brettflan) New command available to prevent power loss in specific worlds (Brettflan) New command available to prevent faction land claims in specific worlds (doesn't affect safezone and warzone claims) (Brettflan) New command to unclaim all safezone areas (Brettflan) Players are now prevented from using /f home if an enemy is nearby, and the players isn't in a safezone or their own faction territory (Brettflan) New option to make membership default to closed for newly created factions (Brettflan) When an admin has bypass mode enabled (/f bypass), they can now unclaim any faction land they're standing on (Brettflan)
Brettflan
2011-05-29 16:28:29 -0500
edd36519e4Should be a proper fix for "Could not pass event ENTITY_DAMAGE to Factions" exception caused by NPC mods which tie into Player entities
Brettflan
2011-05-12 00:52:17 -0500
a709e9c7b3* commit forgotten files
Andy Buchholz
2011-05-10 19:18:35 +0200
516a98c970* added command to disband a faction (/f disband <tag>)
Andy Buchholz
2011-05-08 17:44:00 +0200
bffa9df8f7* added lock switch to all write actions * added saveall command to save everything to disk * added reload command to reload everything from disk
Andy Buchholz
2011-05-08 17:16:43 +0200
a02fcca54dUpdates in preparation for 1.1.7 release: * /f map has been updated to fit inside the new Bukkit line-width limits (39 tiles wide instead of 49) * Players who aren't currently in a faction should no longer get "Person left your faction" messages when others join a faction * Attempt at simple workaround for error related to NPCs from Citizens plugin * Placement and removal of paintings is now prevented if you're in another faction's territory
Brettflan
2011-04-28 15:45:43 -0500
8a4463b599Added check to make sure chatTagInsertIndex is valid, to prevent triggering an exception, commented out a bit of debug output
Brettflan
2011-04-25 20:29:47 -0500
3820b53d29Added a radius to safe claim
Olof Larsson
2011-04-08 21:01:46 +0200
26c708b65echanges AdminBypass permission to enable new "bypass" command which toggles admin bypass mode on or off, defaults to off added tracking for the SaveTask() and shutdown of it when the plugin is disabled
Brettflan
2011-04-06 05:04:57 -0500
542ad4a6a0Widened the exception catching nets for loading and saving all data (IOException -> Exception, etc.), so loading and saving problems don't wipe out unrelated plugin data
Brettflan
2011-04-06 04:08:08 -0500
12bc5d9d74Add in exception catching to MyLocationTypeAdapter, seems to finally be handling all problems without crash Added 1.1.5b release with this fix
Brettflan
2011-04-04 12:26:48 -0500
204f67c43bfix for left-clicking wooden doors not being prevented; as a minor side-effect, left-clicking on other blocks in the territoryProtectedMaterials list pops up the "you can't use that" message Releasing 1.1.5 for this quick fix
Brettflan
2011-04-04 08:34:32 -0500
1f77dbeddeOK, this will be the real 1.1.4 then
Brettflan
2011-04-04 07:21:28 -0500
7ffc4962b8Fix for null faction home location, added "factions.adminBypass" permission which will allow players with that permission to bypass the building/destruction and usage limitations inside faction territory.
Brettflan
2011-04-04 07:16:53 -0500
5fa0103c9eSubversion seems to handle merges better than Git, but that's not saying much :-P Committed change not exactly related, just a casualty of the should-have-been-a-simple-merge-and-not-conflicting craziness
Brettflan
2011-04-04 06:47:18 -0500
b912b49289New boolean config options territoryBlockTNT (default false), safeZoneDenyBuild (default true), safeZoneDenyUseage (default true), safeZoneBlockTNT (default true). territoryBlockTNT prevents TNT explosions inside faction territory, which defaults to false (same as before). It prevents TNT cannons from being a viable tactic, and I think for most people it would be an undesirable option. safeZoneBlockTNT prevents TNT explosions inside safe zone areas, which defaults to true (new behavior). I think most server operators would prefer safe zones to be safe from TNT, from TNT cannons or otherwise. safeZoneDenyBuild prevents players from building inside safe zone areas, which defaults to true (same as before). This option is added for server admins who, for whatever reason, want to let their players build and break inside safe zone areas. safeZoneDenyUseage prevents players from using items in the territoryDenyUseageMaterials list, which defaults to true (new behavior). This will (with the default list) prevent players from dumping/using buckets inside safe zone areas.
Brettflan
2011-04-04 06:31:48 -0500
e3ad9cf509strip all color tags from faction-tagged chat messages before sending them to console/log, to de-cruft them
Brettflan
2011-03-30 05:11:06 -0500
bddcc798ceFor some reason onPlayerInteract() doesn't always detect bucket usage if it's about 2-3 blocks away from you, so I added monitoring of PLAYER_BUCKET_EMPTY and PLAYER_BUCKET_FILL events which seem to always fire correctly without fail
Brettflan
2011-03-30 04:23:20 -0500
8970de026bdon't try sending a message to a player who isn't online; NPEs suck removed instaDestroyMaterials since it is no longer needed
Brettflan
2011-03-30 04:20:24 -0500
e429bc8020Initial update for RB 600... bucket use still not prevented properly yet though, needs a bit more work before release
Brettflan
2011-03-29 23:37:32 -0500
ebde7bcc1aattempt to handle an NPE someone has been getting in MyLocationTypeAdapter.serialize()
Brettflan
2011-03-28 14:38:07 -0500
62ecceca5f1.1.2 release ...fudged earlier upload with 1.1.2 release which had further code modified for latest dev builds
Brettflan
2011-03-26 09:18:38 -0500
dc7935ee3eAdded ability to load old pre-1.1 data files (board, factions, followers) if they exist and new files don't. Also made 1.1.2 release with this update.
Brettflan
2011-03-26 09:01:48 -0500
b2a76e2b24Added some missing instaDestroyItems
Olof Larsson
2011-03-24 19:05:45 +0100
d71c0e86d7bugfix - admins could not place signs etc in safezones
Olof Larsson
2011-03-24 15:49:33 +0100