Commit Graph

1715 Commits

Author SHA1 Message Date
Brettflan
7ef01ef84c don't add tag padding if player has no faction 2011-06-05 22:03:58 -05:00
Brett Flannigan
58a62977fe Merge pull request #15 from thomastanck/master
Offline protection (and code cleaning)
2011-06-05 20:02:41 -07:00
Thomas Tan
a1e89457ff Change-Id: Ibaa6d8c7eba4fe616faa5e78d946c9495d252fde 2011-06-04 18:14:39 +08:00
Thomas Tan
999be49f5c Forgot offline block protection. Added now.
Change-Id: Ib4e8866e5da655e01bdbb64f61d2130c664bc241
2011-06-04 17:59:35 +08:00
Thomas Tan
5ddc24f855 Added offline protection using the new configs
Change-Id: I93c5122bce09a3bd760fcd18d4dd0801a3548af9
2011-06-04 17:36:28 +08:00
Thomas Tan
24a4da6d2e Added configs for protection for offline factions
Change-Id: I2351b74144195d7b068b65b218732fdbd0fc3bef
2011-06-04 17:36:03 +08:00
Thomas Tan
d793b718aa Removed unused import and unused private variable "lock"
Change-Id: I6356e9cbcdfef78639d2571c39ae6c9ff9415bab
2011-06-04 16:59:11 +08:00
Brettflan
b1b96a4c1b Bugfix release 1.2.2: Preload of EssentialsChat had problems if Essentials core wasn't loaded yet; added Essentials to preload list 2011-06-03 19:17:34 -05:00
Brettflan
dbadbf95e5 1.2.1 release 2011-06-03 13:45:21 -05:00
Brettflan
0859854af0 New 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 " ". 2011-06-03 13:06:41 -05:00
Brettflan
be177902fd People 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. 2011-06-03 13:02:24 -05:00
Brettflan
35e17f3ec5 ability 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
2011-06-03 13:00:16 -05:00
Brettflan
6f0dcf4b29 people with bypass permission can build in wilderness regardless of wilderness settings 2011-06-01 23:01:51 -05:00
Brettflan
85d055739d Added 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. 2011-06-01 18:32:09 -05:00
Brettflan
3a3b09da61 New "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. 2011-06-01 18:13:56 -05:00
Brettflan
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 2011-06-01 06:54:00 -05:00
Brettflan
29469b0d27 Preload some chat plugins before Factions to prevent conflicts 2011-06-01 06:39:25 -05:00
Brettflan
f9cffebe27 quick typo fix, "chainged"->"changed" (thanks Deathfromance) 2011-05-29 17:19:46 -05:00
Brettflan
2b4b3b0c9a Factions 1.2.0 release 2011-05-29 17:01:57 -05:00
Brettflan
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 2011-05-29 16:41:50 -05:00
Brettflan
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)
2011-05-29 16:28:29 -05:00
Brettflan
72c3220d4a 1.1.8 release 2011-05-12 01:01:53 -05:00
Brettflan
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 2011-05-12 00:52:17 -05:00
Brett Flannigan
b23c531e97 Merge pull request #14 from derenix/master
New commands:

/f lock on|off
/f save|saveall
/f reload
/f disband     (with permission node "faction.disband")
2011-05-10 16:25:31 -07:00
Andy Buchholz
a709e9c7b3 * commit forgotten files 2011-05-10 19:18:35 +02:00
Andy Buchholz
516a98c970 * added command to disband a faction (/f disband <tag>) 2011-05-08 17:44:00 +02:00
Andy Buchholz
bffa9df8f7 * added lock switch to all write actions
* added saveall command to save everything to disk
* added reload command to reload everything from disk
2011-05-08 17:16:43 +02:00
Brettflan
d38f855b28 1.1.7 release 2011-04-28 15:46:15 -05:00
Brettflan
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
2011-04-28 15:45:43 -05:00
Brettflan
8a4463b599 Added check to make sure chatTagInsertIndex is valid, to prevent triggering an exception, commented out a bit of debug output 2011-04-25 20:29:47 -05:00
Olof Larsson
3820b53d29 Added a radius to safe claim 2011-04-08 21:01:46 +02:00
Olof Larsson
b0e659e534 ops.. yaml fix 2011-04-08 16:32:42 +02:00
Olof Larsson
e4d798e9d6 New command unclaim all 2011-04-08 16:22:00 +02:00
Olof Larsson
6e00b16f38 Changed name for no faction to wilderness 2011-04-08 16:09:08 +02:00
Olof Larsson
724ce03a40 Removed Help plugin support as that plugin is not updated. Minor bugfixes and refactoring 2011-04-08 16:03:04 +02:00
Olof Larsson
443fac354a Fixed the package structure 2011-04-08 15:51:07 +02:00
Brettflan
ca16884273 release 1.1.6 2011-04-06 05:05:33 -05:00
Brettflan
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
2011-04-06 05:04:57 -05:00
Brettflan
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 2011-04-06 04:08:08 -05:00
Brettflan
12bc5d9d74 Add in exception catching to MyLocationTypeAdapter, seems to finally be handling all problems without crash
Added 1.1.5b release with this fix
2011-04-04 12:26:48 -05:00
Brettflan
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
2011-04-04 08:34:32 -05:00
Brettflan
1f77dbedde OK, this will be the real 1.1.4 then 2011-04-04 07:21:28 -05:00
Brettflan
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. 2011-04-04 07:16:53 -05:00
Brettflan
35e59f3c32 Factions 1.1.4 release 2011-04-04 06:49:55 -05:00
Brettflan
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
2011-04-04 06:47:18 -05:00
Brettflan
2ec8437c35 Merge branch 'master' of https://github.com/oloflarsson/Factions 2011-04-04 06:37:15 -05:00
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