Commit Graph

  • 3cdd5764d3 derp Olof Larsson 2011-10-09 20:10:19 +0200
  • a0c8fd8d7d herp... Olof Larsson 2011-10-09 18:35:39 +0200
  • 10f535e637 Halfway through refactoring of commands and permissions Olof Larsson 2011-10-09 14:53:38 +0200
  • 227d54dc5f Converting the command structure Olof Larsson 2011-10-08 23:22:02 +0200
  • 0ce9cce9d3 In progress: Using MassiveCraftCore and Allman indentation style and minor refactoring. Olof Larsson 2011-10-08 22:03:44 +0200
  • 61998f459d Merge branch 'master' of github.com:MassiveCraft/Factions Olof Larsson 2011-10-08 18:45:08 +0200
  • ba5d7a3981 Working on permissions handling Olof Larsson 2011-10-08 18:44:47 +0200
  • 77a7b2d85c New 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
  • d64ed374f1 missed from last commit Brettflan 2011-10-05 02:14:07 -0500
  • 149257f154 When 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
  • 7c249e1884 Added 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
  • 58d97076b8 New 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
  • ce0559cda9 Autoclaim 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
  • feac58c6d6 Some 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
  • 4cab42ec6e Merge branch 'banks' of git://github.com/eXeC64/Factions Brettflan 2011-10-01 03:45:28 -0500
  • dc9042674c Merge branch 'master' of github.com:MassiveCraft/Factions Brettflan 2011-10-01 03:12:13 -0500
  • 593580c127 Merge pull request #41 from eXeC64/alliancechat Brett Flannigan 2011-10-01 01:08:59 -0700
  • 3d62676168 Merge branch 'alliancechat' of git://github.com/eXeC64/Factions Brettflan 2011-09-30 20:40:34 -0500
  • 9e73681125 Merge branch 'master' of github.com:MassiveCraft/Factions Brettflan 2011-09-30 20:30:54 -0500
  • 9c1cd8c85a Added 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
  • 3627996dc6 Updated 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
  • c3bbf05cf9 Merge pull request #40 from eXeC64/moderators Brett Flannigan 2011-09-26 18:08:47 -0700
  • 5eaf9c6835 Fixed autoclaim Harry Jeffery 2011-09-26 22:11:07 +0100
  • d718e8bddc Fixed error when no parameter given to f balance. Harry Jeffery 2011-09-26 17:18:37 +0100
  • 9f8f125a92 f balance now accepts an optional <faction name> parameter. f who now shows balance of the faction. Harry Jeffery 2011-09-26 16:44:20 +0100
  • b1ee58a2b6 Fixed alliance chat still being purple. Harry Jeffery 2011-09-24 21:22:23 +0100
  • f4d56d4796 Alliance chat is now white, with ally-colour names. Harry Jeffery 2011-09-24 20:30:15 +0100
  • ea8310c695 Fixed bug where you could not create factions if they cost money. Harry Jeffery 2011-09-24 18:08:18 +0100
  • 46abcadf93 Added alliance only chat mode. Harry Jeffery 2011-09-24 11:04:49 +0100
  • 2b23f93fba Added faction banks. Harry Jeffery 2011-09-24 02:22:53 +0100
  • 28f86548c8 Moderators can now affect themselves. Harry Jeffery 2011-09-24 02:21:24 +0100
  • 31937b6756 Bugfix release 1.5.1 Brettflan 2011-09-22 16:15:13 -0500
  • 60abb61cb9 Fix 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
  • 8e074fb5ac Release 1.5.0. Brettflan 2011-09-22 06:55:23 -0500
  • 28e881d905 Players 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
  • fa21358a23 When 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
  • 34e4afee2c Four 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
  • 492d983464 Support 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
  • 2aa51a4781 Added some quick and dirty fix notes for people who get a specific chat formatting error Brettflan 2011-09-16 01:50:25 -0500
  • 538b387f2f Fix 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
  • 443e083f23 Bugfix 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
  • 584d6f2eb9 Release 1.4.8 Brettflan 2011-09-15 00:00:47 -0500
  • 43fdc8ae14 New 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
  • 249846d6ae New 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
  • 877cfe914d Added 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
  • f40b241bc4 Merge pull request #35 from dotblank/chat Brett Flannigan 2011-09-12 20:33:47 -0700
  • 632e2b2d1c Faction 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
  • a5a0125195 Add an option to disable faction only chat Elias Woods 2011-09-10 00:26:15 -0400
  • 120039b07f minor cleanup and tweaks to WorldGuard code added/updated libs Brettflan 2011-09-08 06:24:55 -0500
  • f9cb5014dc Merge pull request #33 from spathizilla/master Brett Flannigan 2011-09-08 04:00:38 -0700
  • b5a1151178 fix 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
  • c89db2c4d6 Fix 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
  • 61e7667010 Spout always shows displaynames even with factionless players Spathi 2011-09-06 03:31:15 +0100
  • 106944ba86 Fixing code indents Spathi 2011-08-31 02:14:46 +0100
  • c5f88fe716 Reworked entire chunk checking + code cleanup Spathi 2011-08-31 02:13:16 +0100
  • 445d10afb7 Optional disabling of WG checks Spathi 2011-08-29 04:59:49 +0100
  • 8be43164d2 Worldguard region checking Spathi 2011-08-29 04:50:45 +0100
  • a7cce7e428 Changed checkForRegions to be checkForRegionsInChunk Andy "Spathi" F 2011-08-29 15:06:34 +0200
  • 5ea055a260 WorldGuard regions will block factions claiming them Andy "Spathi" F 2011-08-29 14:54:04 +0200
  • 55c9067e34 Factionless 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
  • c512f80866 Release 1.4.7: bugfix for exception triggered by blank cape URL Brettflan 2011-08-23 21:49:49 -0500
  • a87d4b1f71 Release 1.4.6 Brettflan 2011-08-23 18:52:53 -0500
  • 9fd79d5588 more 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
  • 82db1624c9 Added new "Ally" related protection options to complement the "Enemy" ones (added thanks to donation from BeTrayed) Brettflan 2011-08-23 17:12:17 -0500
  • 83d1e52be3 point default cape image URLs to GitHub Brettflan 2011-08-23 12:49:32 -0500
  • 56e63ec8ee cape images, for Spout capes Brettflan 2011-08-23 12:43:02 -0500
  • ef465dfcf4 New conf.json setting "worldsNoWildernessProtection", for worlds in which you don't want wilderness protections to apply Brettflan 2011-08-23 00:37:31 -0500
  • 72bf1492c3 Merge branch 'master' of github.com:MassiveCraft/Factions Brettflan 2011-08-22 23:49:08 -0500
  • e970c02808 Capes 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
  • e573895d8a Added 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
  • 55a1003ebb Update some lib files Brettflan 2011-08-22 22:10:36 -0500
  • 33ee470e7f Merge pull request #31 from greatman/patch-1 Brett Flannigan 2011-08-22 13:16:55 -0700
  • ba1d3cee42 Merge pull request #30 from sp1ky/master Brett Flannigan 2011-08-22 13:16:09 -0700
  • 409f98e1e6 Changed 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
  • 08f314fef0 Small typo in Readme (/f help 1 was there 2 times) greatman 2011-08-21 03:59:31 -0300
  • 697e0cf466 Added 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
  • 62f80a607b minor cleanup Brettflan 2011-08-19 19:41:28 -0500
  • b2ad4b43e4 Allow PVP vs. Factionless in attacker's faction territory sp1ky 2011-08-12 16:08:11 +0100
  • 4e7aa893a3 Move economy plugin setup process over to the Econ class Brettflan 2011-08-08 04:51:06 -0500
  • b45224fff0 Added handling for potential null strings in "territoryNeutralDenyCommands" and "territoryEnemyDenyCommands" Brettflan 2011-08-05 14:06:35 -0500
  • ce7fa7fae4 Release 1.4.5 Brettflan 2011-08-05 04:57:21 -0500
  • f29bba29d5 Added to default "territoryEnemyDenyCommands": /home, /sethome, and /spawn Brettflan 2011-08-05 03:51:35 -0500
  • 68e1313776 New "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
  • 4ad9829fd4 Removing /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
  • e6ac1c0f98 Economy integration now works for EssentialsEco as well Brettflan 2011-08-04 02:25:12 -0500
  • 100a1ffb1e improved command prevention from last commit to also monitor slashless Faction commands, for full coverage Brettflan 2011-08-04 00:34:52 -0500
  • 699c22f655 New 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
  • 7d3cdfdc20 removed 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
  • 2900bf372f changed 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
  • f9d39271c0 Modified 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
  • e02abf3380 Merge pull request #29 from bladedpenguin/master Brett Flannigan 2011-08-03 16:13:42 -0700
  • a38267fe74 Error 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
  • 51a05a1e86 Added Territory Pain Protection locutus 2011-08-03 02:29:51 -0400
  • 3bcfd5cff5 Release 1.4.4 Brettflan 2011-08-01 21:09:45 -0500
  • 92448ca4d2 New 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
  • f38651ca94 New 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
  • 2154b89005 Added 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
  • c0676c3548 Fix for error that could occur when unclaiming land Brettflan 2011-08-01 17:54:05 -0500