Commit Graph

19 Commits

Author SHA1 Message Date
Brettflan
f79831d3d6 added 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) 2011-06-27 12:25:02 -05:00
Brettflan
a7676429fe removed "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 2011-06-27 03:06:09 -05:00
Brettflan
071e8b7b6b further improved hookable functions for use by other plugins, added softdepends for appropriate chat plugins 2011-06-22 20:12:37 -05:00
Brettflan
60227b6dc4 Added 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 2011-06-21 00:20:36 -05:00
Brettflan
cddaa73948 Added another hook, handleFactionTagExternally, for chat plugins to indicate they're handling faction tag insertion into chat 2011-06-11 19:02:57 -05:00
Brettflan
6c37f4cbe1 added 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 2011-06-11 17:29:24 -05:00
Brettflan
097b555466 new autoclaim commands for faction claims, safe zone claims, and war zone claims, which claim land as you walk around 2011-06-10 14:26:12 -05: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
29469b0d27 Preload some chat plugins before Factions to prevent conflicts 2011-06-01 06:39:25 -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
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
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
e4d798e9d6 New command unclaim all 2011-04-08 16:22:00 +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