996acdc4fb
Added 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
Brettflan2011-06-01 06:54:00 -05:00
29469b0d27
Preload some chat plugins before Factions to prevent conflicts
Brettflan2011-06-01 06:39:25 -05:00
654e3b159b
New 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
Brettflan2011-05-29 16:41:50 -05:00
b490c5f196
Laundry 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)
Brettflan2011-05-29 16:28:29 -05:00
edd36519e4
Should be a proper fix for "Could not pass event ENTITY_DAMAGE to Factions" exception caused by NPC mods which tie into Player entities
Brettflan2011-05-12 00:52:17 -05:00
516a98c970
* added command to disband a faction (/f disband <tag>)
Andy Buchholz2011-05-08 17:44:00 +02:00
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 Buchholz2011-05-08 17:16:43 +02:00
a02fcca54d
Updates 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
Brettflan2011-04-28 15:45:43 -05:00
8a4463b599
Added check to make sure chatTagInsertIndex is valid, to prevent triggering an exception, commented out a bit of debug output
Brettflan2011-04-25 20:29:47 -05:00
26c708b65e
changes 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
Brettflan2011-04-06 05:04:57 -05:00
542ad4a6a0
Widened 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
Brettflan2011-04-06 04:08:08 -05:00
12bc5d9d74
Add in exception catching to MyLocationTypeAdapter, seems to finally be handling all problems without crash Added 1.1.5b release with this fix
Brettflan2011-04-04 12:26:48 -05:00
204f67c43b
fix 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
Brettflan2011-04-04 08:34:32 -05:00
1f77dbedde
OK, this will be the real 1.1.4 then
Brettflan2011-04-04 07:21:28 -05:00
7ffc4962b8
Fix 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.
Brettflan2011-04-04 07:16:53 -05:00
5fa0103c9e
Subversion 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
Brettflan2011-04-04 06:47:18 -05:00
b912b49289
New 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.
Brettflan2011-04-04 06:31:48 -05:00
e3ad9cf509
strip all color tags from faction-tagged chat messages before sending them to console/log, to de-cruft them
Brettflan2011-03-30 05:11:06 -05:00
bddcc798ce
For 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
Brettflan2011-03-30 04:23:20 -05:00
8970de026b
don't try sending a message to a player who isn't online; NPEs suck removed instaDestroyMaterials since it is no longer needed
Brettflan2011-03-30 04:20:24 -05:00
e429bc8020
Initial update for RB 600... bucket use still not prevented properly yet though, needs a bit more work before release
Brettflan2011-03-29 23:37:32 -05:00
ebde7bcc1a
attempt to handle an NPE someone has been getting in MyLocationTypeAdapter.serialize()
Brettflan2011-03-28 14:38:07 -05:00
62ecceca5f
1.1.2 release ...fudged earlier upload with 1.1.2 release which had further code modified for latest dev builds
Brettflan2011-03-26 09:18:38 -05:00
dc7935ee3e
Added 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.
Brettflan2011-03-26 09:01:48 -05:00
2f4e487cb6
cutting down of crops and sugar cane are now prevented if you are in another faction's territory
Brettflan2011-03-17 18:04:45 -05:00
d5308bc75d
Added config option territoryBlockFireballs, defaults to false; if enabled, prevents destruction of blocks by Ghast fireballs inside faction territory... note that this only works in CB build 557 and higher, where fireball detection was added
Brettflan2011-03-17 18:02:29 -05:00
45162a3444
minor spelling and grammar fixes
Brettflan2011-03-10 22:14:39 -06:00
2ca8e4b9af
Fix for player right-clicking in the air causing an NPE due to target block being null
Brettflan2011-03-09 18:21:17 -06:00
5ab5ef6724
check for special block destruction cases which previously were incorrectly allowed in other faction's territory: torch, redstone torch (on & off), repeater (on & off), redstonewire, sapling Paintings still can't be prevented from destruction, sadly
Brettflan2011-03-08 06:42:48 -06:00
a7fede9c13
Now preventing placement/use of these items inside another faction's territory: redstone wire, signs, flint&steel, beds (not detected properly by Bukkit yet), buckets (empty, water, and lava), repeaters
Brettflan2011-03-08 06:06:52 -06:00
2016f232ef
Fix for enemy attacks healing people in their own territory, instead of correctly just giving reduced damage. The problem is that Bukkit reports the amount of damage before armor calculations are made, so the actual damage will be less if the target is wearing armor. So, I switched it to using setDamage instead of healing the target.
Brettflan2011-03-06 21:13:27 -06:00
1d26e18916
Added option ("territoryBlockCreepers") to prevent creepers from destroying blocks if they explode inside faction owned territory, which defaults to disabled; if enabled, it prevents griefing by way of luring creepers into a faction's territory note that creepers will still explode and hurt nearby players and mobs, they just won't destroy blocks
Brettflan2011-03-06 14:13:48 -06:00
66b746b6ca
Updated and removed files to reflect that GSON is now in the source. The Manifest.MF file was removed as it was empty etc.
Olof Larsson2011-03-05 10:44:30 +01:00
6c971742d0
comment out debug messages shown on plugin startup, was a bit too spammy
Brettflan2011-03-04 21:39:53 -06:00
74a823be88
Added pagination and sorting of faction list, sorted primarily by which faction has the most users online and secondarily by how many total members the faction has
Brettflan2011-03-04 21:38:57 -06:00
986461a098
streamline rebased Gson into source; rebase was done to prevent conflict with other plugins (like upcoming WorldGuard release) which also use Gson; Bukkit doesn't yet handle such conflicts properly
Brettflan2011-03-04 10:46:41 -06:00
df75afef08
handle a few random errors that popped up in my server log
Brettflan2011-03-04 10:42:41 -06:00
775f3a00d5
Update for latest CraftBukkit
Brettflan2011-03-04 10:41:04 -06:00
da89ff4ecd
Better chat integration with other plugins. In fact the whole chat system has been reprogrammed. Fix ascii compass typo. Fix claim at the border of enemy territory bug. New faction chat. Some refactoring
Olof Larsson2011-02-12 18:05:05 +01:00