Commit Graph

1169 Commits

Author SHA1 Message Date
Brettflan
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. 2011-04-04 06:33:40 -05:00
Olof Larsson
c3c69a30dd Warning fixes 2011-03-31 15:13:02 +02:00
Brettflan
4437aa231d Release 1.1.3 2011-03-30 05:17:48 -05:00
Brettflan
e3ad9cf509 strip all color tags from faction-tagged chat messages before sending them to console/log, to de-cruft them 2011-03-30 05:11:06 -05:00
Brettflan
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 2011-03-30 04:23:20 -05:00
Brettflan
8970de026b don't try sending a message to a player who isn't online; NPEs suck
removed instaDestroyMaterials since it is no longer needed
2011-03-30 04:20:24 -05:00
Brettflan
e429bc8020 Initial update for RB 600... bucket use still not prevented properly yet though, needs a bit more work before release 2011-03-29 23:37:32 -05:00
Brettflan
ebde7bcc1a attempt to handle an NPE someone has been getting in MyLocationTypeAdapter.serialize() 2011-03-28 14:38:07 -05:00
Brettflan
62ecceca5f 1.1.2 release
...fudged earlier upload with 1.1.2 release which had further code modified for latest dev builds
2011-03-26 09:18:38 -05:00
Brettflan
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.
2011-03-26 09:01:48 -05:00
Olof Larsson
b2a76e2b24 Added some missing instaDestroyItems 2011-03-24 19:05:45 +01:00
Olof Larsson
d71c0e86d7 bugfix - admins could not place signs etc in safezones 2011-03-24 15:49:33 +01:00
Olof Larsson
fdd8a89327 Version 1.1 2011-03-24 00:30:01 +01:00
Olof Larsson
48ede9d7bf Removed autoLeaveImmunity due to missdesign in the Permissions plugin. 2011-03-24 00:26:01 +01:00
Olof Larsson
b0f09db054 Safe zones and faction homes :D :D 2011-03-23 17:39:56 +01:00
Olof Larsson
9d4aaeae6c reworked the board 2011-03-23 12:45:21 +01:00
Olof Larsson
bee15556c9 Some case insensitivity fixes 2011-03-23 12:00:38 +01:00
Olof Larsson
8bab4540cd Better save system 2011-03-22 22:31:04 +01:00
Olof Larsson
39a02f0fd4 New auto leave on anactivity feature. 2011-03-22 20:36:33 +01:00
Olof Larsson
27d414ffc4 Fewer runtime errors... 2011-03-22 19:25:11 +01:00
Olof Larsson
1c062c9c79 Now it compiles. Time to fix runtime errors... 2011-03-22 18:48:09 +01:00
Olof Larsson
4e964ba194 Fewer and fewer errors... 2011-03-22 17:20:21 +01:00
Olof Larsson
d7c1d0fce3 More refactoring... the commands are refactored now :) 2011-03-22 15:45:41 +01:00
Olof Larsson
0b96a821ce More refactoring 2011-03-19 13:00:03 +01:00
Olof Larsson
1da8b6b30a Started the refactoring 2011-03-18 17:33:23 +01:00
Brettflan
35d7985fb2 1.0 beta7 release 2011-03-17 18:05:17 -05:00
Brettflan
2f4e487cb6 cutting down of crops and sugar cane are now prevented if you are in another faction's territory 2011-03-17 18:04:45 -05:00
Brettflan
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 2011-03-17 18:02:29 -05:00
Brettflan
45162a3444 minor spelling and grammar fixes 2011-03-10 22:14:39 -06:00
Brettflan
2ca8e4b9af Fix for player right-clicking in the air causing an NPE due to target block being null 2011-03-09 18:21:17 -06:00
Brettflan
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
2011-03-08 06:42:48 -06:00
Brettflan
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 2011-03-08 06:06:52 -06:00
Brettflan
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.
2011-03-06 21:13:27 -06:00
Brettflan
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
2011-03-06 14:13:48 -06:00
Olof Larsson
429e86fd4b Beta6. Supports CB493 2011-03-05 11:39:14 +01:00
Olof Larsson
afde3e188b Type safety and warning fix. 2011-03-05 10:53:08 +01:00
Olof Larsson
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. 2011-03-05 10:44:30 +01:00
Brettflan
6c971742d0 comment out debug messages shown on plugin startup, was a bit too spammy 2011-03-04 21:40:49 -06:00
Brettflan
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 2011-03-04 21:40:40 -06:00
Brettflan
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 2011-03-04 10:48:56 -06:00
Brettflan
df75afef08 handle a few random errors that popped up in my server log 2011-03-04 10:48:43 -06:00
Brettflan
775f3a00d5 Update for latest CraftBukkit 2011-03-04 10:48:32 -06:00
Olof Larsson
de9112e072 Beta5 :D 2011-02-26 10:38:37 +01:00
Olof Larsson
9404eb77ff Fixed block break protection. Removed grief info messages for now 2011-02-26 10:33:31 +01:00
Olof Larsson
c44c9108f8 Merge branch 'master' of github.com:oloflarsson/Factions 2011-02-26 09:36:08 +01:00
Olof Larsson
d3c5868ca4 beta4 2011-02-26 09:33:25 +01:00
Olof Larsson
0894d6c5dd beta4 2011-02-13 17:04:06 +01:00
Olof Larsson
478116c418 A color format fix and clas not found def fix 2011-02-13 17:02:51 +01:00
Olof Larsson
fb1305f97a Default faction tag rules are now more permissive 2011-02-13 16:37:21 +01:00
Olof Larsson
09bc3df841 Better way to remove faction from boards implemented. Also prevents orphaned foreign key errors. 2011-02-13 15:18:23 +01:00