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
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
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