10f535e637Halfway through refactoring of commands and permissions
Olof Larsson
2011-10-09 14:53:38 +0200
227d54dc5fConverting the command structure
Olof Larsson
2011-10-08 23:22:02 +0200
0ce9cce9d3In progress: Using MassiveCraftCore and Allman indentation style and minor refactoring.
Olof Larsson
2011-10-08 22:03:44 +0200
61998f459dMerge branch 'master' of github.com:MassiveCraft/Factions
Olof Larsson
2011-10-08 18:45:08 +0200
ba5d7a3981Working on permissions handling
Olof Larsson
2011-10-08 18:44:47 +0200
77a7b2d85cNew Spout feature, for Spoutcraft client users only: current territory info will now be permanently shown at top of screen, instead of being echoed out to chat as you move around New conf.json setting "spoutTerritoryDisplayPosition" to set the screen position at which the current territory is shown. 0 = disabled, 1 = top left, 2 = top center, 3 (default) = top right. Moved all integration code to separate package, ofr better code organization. Also moved EssentialsChat integration code out to separate file in there, allowing us to safely remove our copy IEssentialsChatListener.java file (which is otherwise needed to prevent a nasty NoClassDefFoundError).
Brettflan
2011-10-05 05:13:54 -0500
d64ed374f1missed from last commit
Brettflan
2011-10-05 02:14:07 -0500
149257f154When a player is kicked from their faction by the autoLeaveAfterDaysOfInactivity routine, the rest of their stored data is now dropped as well When a player is banned from the server, they will now be kicked from their faction and have their stored data removed (only works on CB 1240 or newer)
Brettflan
2011-10-05 00:33:15 -0500
7c249e1884Added 3 new hookable functions to main Factions class, for use by other plugins: boolean isPlayerAllowedToBuildHere(Player player, Location location) boolean isPlayerAllowedToInteractWith(Player player, Block block) boolean isPlayerAllowedToUseThisHere(Player player, Location location, Material material) Also update Bukkit lib for new RB.
Brettflan
2011-10-04 22:46:11 -0500
58d97076b8New conf.json setting "territoryDenyEndermanBlocksWhenOffline" (default true). As might be expected, this will prevent Enderman from removing or placing blocks in the territory of a faction which has no members online. "territoryDenyEndermanBlocks" of course now only applies when a faction has members online.
Brettflan
2011-10-01 06:16:53 -0500
ce0559cda9Autoclaim mode is now disabled when a player is removed from a faction (whether leaving, being kicked, or whatever) Also the new permission I missed in the last commit
Brettflan
2011-10-01 06:10:49 -0500
feac58c6d6Some tweaking of the faction bank code... The new help page with bank related commands will now only be shown if banks are enabled and the Economy is enabled and hooked in. Shortened a couple of command descriptions to fit on one line. Made Deposit, Pay, and Withdraw commands additionally log to the server console/log. When bank is given to person disbanding a faction, it now lets them know and logs it to the server log. Added commands to commandDisable list in plugin.yml, along with "permanent" command which I'd missed adding before Added new permission node factions.viewAnyFactionBalance (granted by default if using superperms), which is required to view the bank balance of other factions
Brettflan
2011-10-01 05:59:09 -0500
4cab42ec6eMerge branch 'banks' of git://github.com/eXeC64/Factions
Brettflan
2011-10-01 03:45:28 -0500
dc9042674cMerge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2011-10-01 03:12:13 -0500
3d62676168Merge branch 'alliancechat' of git://github.com/eXeC64/Factions
Brettflan
2011-09-30 20:40:34 -0500
9e73681125Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2011-09-30 20:30:54 -0500
9c1cd8c85aAdded senderIsConsole boolean to FBaseCommand to simplify checking whether sender is console or player Fix for /f disband indicating a random player if command came from console Fix for factions being able to potentially set relations with safe zone or war zone (though it didn't do anything, of course)
Brettflan
2011-09-30 20:17:47 -0500
3627996dc6Updated SpoutAPI lib, added forgotten setPermanent permission to plugin.yml, added endermen and cave spiders and silverfish to no-spawn list for safe zones
Brettflan
2011-09-30 19:44:53 -0500
60abb61cb9Fix for "territoryEnemyProtectMaterials" and "territoryAllyProtectMaterials" not working correctly, and wrong protection message being sent to neutral players. Re-jiggered the related code a bit which handles such things based on enemy/ally/member/neutral status.
Brettflan
2011-09-22 16:12:35 -0500
28e881d905Players now lose power over time while they are offline. New conf.json setting "powerOfflineLossPerDay" (default 1.0) is how much power they lose; note that this power loss actually occurs frequently in very tiny amounts as time passes, not just once per day. New conf.json setting "powerOfflineLossLimit" (default 0.0) which will stop offline power loss once a player's power drops to the specified amount. As an example, the default 1.0 power loss per day offline is roughly 0.0417 power loss per hour, 0.00695 per minute, and so forth.
Brettflan
2011-09-22 06:33:34 -0500
fa21358a23When players enable/disable admin bypass mode (/f bypass), it is now logged to the server console/log.
Brettflan
2011-09-22 06:23:25 -0500
34e4afee2cFour new conf.json settings to prevent Endermen from removing or placing blocks. "territoryDenyEndermanBlocks" (default true) for claimed territory. "safeZoneDenyEndermanBlocks" (default true) for Safe Zones. "warZoneDenyEndermanBlocks" (default true) for War Zones. "wildernessDenyEndermanBlocks" (default false) for unclaimed wilderness areas.
Brettflan
2011-09-22 06:22:01 -0500
492d983464Support for iConomy 6 and other economy plugins added through Register support (with new conf.json setting "econRegisterEnabled", defaults to false); you will need to have the Register plugin on your server
Brettflan
2011-09-22 04:22:24 -0500
2aa51a4781Added some quick and dirty fix notes for people who get a specific chat formatting error
Brettflan
2011-09-16 01:50:25 -0500
538b387f2fFix for players being able to hurt members of their own faction while in their own land if the "enablePVPAgainstFactionlessInAttackersLand" option is enabled
Brettflan
2011-09-16 01:45:23 -0500
443e083f23Bugfix release 1.4.9: material protection (interaction with doors, chests, etc.) was being incorrectly triggered in wilderness, war zones, and safe zones
Brettflan
2011-09-15 09:12:24 -0500
43fdc8ae14New command to set a faction as permanent: /f permanent <faction tag> (requires new admin-level permission "factions.setPermanent"). Permanent factions will not be deleted if they have no members, and faction admins of such factions are allowed to leave without a replacement available. Faction admins are also unable to disband their own faction if it is Permanent; only those with the admin-level "factions.disband" permission can disband such a faction while it is set as Permanent.
Brettflan
2011-09-13 13:14:09 -0500
249846d6aeNew conf.json setting "newPlayerStartingFactionID" which can be used to have new players start out in a specific faction
Brettflan
2011-09-12 22:46:20 -0500
877cfe914dAdded note when player tries to use faction chat when it's disabled, moved disband command in the Help listing out of the server-admin-only section since it can now be used by faction admins on their own factions
Brettflan
2011-09-12 22:36:59 -0500
632e2b2d1cFaction admins can now disband their own faction using /f disband; note that use of /f disband with another faction specified (/f disband <faction tag>) still requires the factions.disband permission, but the permission is not required for faction admins disbanding their own faction
Brettflan
2011-09-12 22:23:44 -0500
a5a0125195Add an option to disable faction only chat
Elias Woods
2011-09-10 00:26:15 -0400
120039b07fminor cleanup and tweaks to WorldGuard code added/updated libs
Brettflan
2011-09-08 06:24:55 -0500
b5a1151178fix for arrow damage not being properly detected and prevented (when needed) which was broken by Bukkit's recent deprecation of EntityDamageByProjectileEvent
Brettflan
2011-09-08 03:20:55 -0500
c89db2c4d6Fix for allies bypassing ownership if Ally options allowed them to build/interact/use in allied territory Also consolidated some Conf lookups into new functions for Relations, to simplify and de-uglify the code a bit
Brettflan
2011-09-06 16:35:43 -0500
61e7667010Spout always shows displaynames even with factionless players
Spathi
2011-09-06 03:31:15 +0100
445d10afb7Optional disabling of WG checks
Spathi
2011-08-29 04:59:49 +0100
8be43164d2Worldguard region checking
Spathi
2011-08-29 04:50:45 +0100
a7cce7e428Changed checkForRegions to be checkForRegionsInChunk
Andy "Spathi" F
2011-08-29 15:06:34 +0200
5ea055a260WorldGuard regions will block factions claiming them
Andy "Spathi" F
2011-08-29 14:54:04 +0200
55c9067e34Factionless players now have nothing extra shown over their heads, instead of "Factionless" Also added AuthMe to softdepend list to have it load first
Brettflan
2011-08-28 18:24:05 -0500
c512f80866Release 1.4.7: bugfix for exception triggered by blank cape URL
Brettflan
2011-08-23 21:49:49 -0500
9fd79d5588more hookable functions for use by other plugins, these for getting a list of all factions and for listing players in a specified faction
Brettflan
2011-08-23 17:34:40 -0500
82db1624c9Added new "Ally" related protection options to complement the "Enemy" ones (added thanks to donation from BeTrayed)
Brettflan
2011-08-23 17:12:17 -0500
56e63ec8eecape images, for Spout capes
Brettflan
2011-08-23 12:43:02 -0500
ef465dfcf4New conf.json setting "worldsNoWildernessProtection", for worlds in which you don't want wilderness protections to apply
Brettflan
2011-08-23 00:37:31 -0500
72bf1492c3Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2011-08-22 23:49:08 -0500
e970c02808Capes were not applying properly to players when added at login (at least as seen by existing connected clients), so a slight delay has been added there to fix it
Brettflan
2011-08-22 23:48:18 -0500
e573895d8aAdded owner list display for faction members when moving between to/from claimed chunks which have owners set (code by Zidkon)
Brettflan
2011-08-22 23:31:37 -0500
55a1003ebbUpdate some lib files
Brettflan
2011-08-22 22:10:36 -0500
409f98e1e6Changed ownership mapping from HashMap to ConcurrentHashMap to hopefully take care of reported ConcurrentModificicationException error; bugfix for faction admin not being able to bypass ownership if "ownedAreaModeratorsBypass" was set
Brettflan
2011-08-22 15:13:12 -0500
08f314fef0Small typo in Readme (/f help 1 was there 2 times)
greatman
2011-08-21 03:59:31 -0300
697e0cf466Added Spout features, with Spout client required for all: relation-colored faction tags over players' heads via option "spoutFactionTagsOverNames", player's faction title over their head via option "spoutFactionTitlesOverNames", and relation-colored capes shown on faction admins and/or moderators via "spoutFactionAdminCapes" and "spoutFactionModeratorCapes" (all new settings default to true) When a faction is disbanded or has peaceful status added or removed, all online players are now notified Added further debug output if an UnknownFormatConversionException is triggered during relational chat messages, to help track down cause
Brettflan
2011-08-19 20:36:23 -0500
b2ad4b43e4Allow PVP vs. Factionless in attacker's faction territory
sp1ky
2011-08-12 16:08:11 +0100
4e7aa893a3Move economy plugin setup process over to the Econ class
Brettflan
2011-08-08 04:51:06 -0500
b45224fff0Added handling for potential null strings in "territoryNeutralDenyCommands" and "territoryEnemyDenyCommands"
Brettflan
2011-08-05 14:06:35 -0500
f29bba29d5Added to default "territoryEnemyDenyCommands": /home, /sethome, and /spawn
Brettflan
2011-08-05 03:51:35 -0500
68e1313776New "peaceful" status for factions which can only be set by server admins/moderators. Members of peaceful factions cannot deal or receive PvP damage (unless in a war zone which has friendly fire enabled), cannot claim land from another faction and likewise can't have their land claimed, and cannot be considered as ally or enemy of any other faction. Faction admins and moderators of peaceful factions can enable/disable all explosions inside their faction's territory at will. The main purpose of this is to provide a way for more peaceful players who don't want to take part in faction wars (or just want to take a break from them) to still have fun on the server. It is also meant to allow groups of players to make protected buildings, monuments, grand constructions, and so forth without having to worry about another faction destroying them.
Brettflan
2011-08-05 03:50:47 -0500
4ad9829fd4Removing /f worldnoclaim and /f worldnopowerloss commands; they're redundant now that you can use /f config worldsnoclaim [world name] and /f config worldsnopowerloss [world name] respectively to set those options. Also removing factions.worldOptions permission node since it was only used for those commands.
Brettflan
2011-08-04 02:35:48 -0500
523d3216c5/f config [setting] [value] command now accepts setting names which are inside quotation marks, to prevent confusion since they're also in quotation marks in conf.json
Brettflan
2011-08-04 02:27:58 -0500
e6ac1c0f98Economy integration now works for EssentialsEco as well
Brettflan
2011-08-04 02:25:12 -0500
100a1ffb1eimproved command prevention from last commit to also monitor slashless Faction commands, for full coverage
Brettflan
2011-08-04 00:34:52 -0500
699c22f655New conf.json settings "territoryNeutralDenyCommands" and "territoryEnemyDenyCommands", which can have lists of commands added to them that will be denied while in the territory of a neutral or enemy faction. It is recommended you use /f config to add/remove such commands, for example /f config territoryEnemyDenyCommands spawn would prevent players from using /spawn in enemy territory. You can add the slash to the command string or not, it will work either way. If the used command starts with one of your denied commands, it will be prevented. For example, if you deny "time", both "/time night" and "/time day" will be prevented. However, if you deny "time n", /time night will be prevented but /time day won't. (thanks for some code contribution from Cal27)
Brettflan
2011-08-04 00:07:38 -0500
7d3cdfdc20removed need for "is it initialized" checks done on claimOwnership by simply making sure it's initialized with the class instance
Brettflan
2011-08-03 23:53:10 -0500
2900bf372fchanged findFactions() method to try matching faction tags before trying to match player names, instead of the other way around
Brettflan
2011-08-03 21:49:11 -0500
f9d39271c0Modified locutus' Pain feature so that all conf.json settings related to it default to false, so that the damage amount can be specified through "actionDeniedPainAmount" in conf.json, and so that DenyBuild doesn't override PainBuild but instead both will be used if both are enabled
Brettflan
2011-08-03 21:47:49 -0500
a38267fe74Error handling for user entering non-integer value for radius of safeclaim and warclaim, along with usage info
Brettflan
2011-08-03 15:38:54 -0500
92448ca4d2New conf.json setting "worldsIgnorePvP" as a list of worlds which you don't want Factions to pay any attention to PvP in. No new command has been added to set this, since we now have the /f config command. So, to add/remove worlds, simply use /f config worldsIgnorePvP [YourWorldHere].
Brettflan
2011-08-01 20:22:16 -0500
f38651ca94New conf.json settings "showNeutralFactionsOnMap" and "showEnemyFactionsOnMap" (both default to true) which, if disabled, will hide neutral and enemy factions on the faction map. However, if a player is standing inside territory claimed by a neutral or enemy faction, all of that faction's nearby claims will be shown on the faction map regardless.
Brettflan
2011-08-01 19:59:48 -0500
ad2bb5f4d0"disablePVPForFactionlessPlayers" is now overridden if "warZoneFriendlyFire" is enabled and the PvP is occurring inside a War Zone
Brettflan
2011-08-01 18:28:34 -0500
2154b89005Added basic support for iConomy, where most Factions commands can be made to cost (or give) money. For claiming land, there are some extra features. Each additional land claimed by default costs more than the last, with the multiplier being configurable. For example, the first claim might cost $30, the 2nd $45, the third $60, and so forth. When land is claimed from a weakened faction, there is a configurable bonus amount of money deducted from the cost of claiming the land, as an incentive; this number can be changed to a negative value to instead make it cost more to claim such land. When land is unclaimed, a configurable percentage of the cost of claiming the land can be refunded (defaults to 70% of the cost). The total value of a faction's claimed land is now shown in the info given by /f who [faction tag], along with the depreciated (refund) value.
Brettflan
2011-08-01 18:05:01 -0500
c0676c3548Fix for error that could occur when unclaiming land
Brettflan
2011-08-01 17:54:05 -0500