d64ed374f1
missed from last commit
2011-10-05 02:14:07 -05:00
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)
2011-10-05 00:33:15 -05:00
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.
2011-10-04 22:46:11 -05:00
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.
2011-10-01 06:16:53 -05:00
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
2011-10-01 06:10:49 -05:00
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
For reference, about the faction bank addition as a whole...
New conf.json settings:
"bankEnabled": true, - enable faction banks
"bankMembersCanWithdraw": false, - have to be at least moderator to withdraw or pay money to another faction, unless this is set to true
"bankFactionPaysCosts": true, - if true, payments for faction command costs are charged to faction bank
"bankFactionPaysLandCosts": true, - if true, payments for land claims are charged to faction bank
New commands:
/f balance *<faction tag> - Shows the bank balance of a specified faction (if permission checks out), or the player's faction if none is specified
/f deposit <amount> - Deposit money into your faction's bank
/f pay <faction tag> <amount> - Pay money from your faction bank to another faction (requires moderator or admin status)
/f withdraw <amount> - Withdraw money from your faction's bank (requires moderator or admin status, unless "bankMembersCanWithdraw" is set to true)
New permission node:
factions.viewAnyFactionBalance - Allows the player to view the faction bank balance of all factions (default)
2011-10-01 05:59:09 -05:00
4cab42ec6e
Merge branch 'banks' of git://github.com/eXeC64/Factions
2011-10-01 03:45:28 -05:00
3d62676168
Merge branch 'alliancechat' of git://github.com/eXeC64/Factions
2011-09-30 20:40:34 -05:00
9e73681125
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-09-30 20:30:54 -05:00
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)
2011-09-30 20:17:47 -05:00
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
2011-09-30 19:44:53 -05:00
5eaf9c6835
Fixed autoclaim
2011-09-26 22:11:07 +01:00
d718e8bddc
Fixed error when no parameter given to f balance.
2011-09-26 17:18:37 +01:00
9f8f125a92
f balance now accepts an optional <faction name> parameter. f who now shows balance of the faction.
2011-09-26 16:44:20 +01:00
b1ee58a2b6
Fixed alliance chat still being purple.
2011-09-24 21:22:23 +01:00
f4d56d4796
Alliance chat is now white, with ally-colour names.
2011-09-24 20:30:15 +01:00
ea8310c695
Fixed bug where you could not create factions if they cost money.
2011-09-24 18:08:18 +01:00
46abcadf93
Added alliance only chat mode.
2011-09-24 11:04:49 +01:00
2b23f93fba
Added faction banks.
2011-09-24 02:22:53 +01:00
28f86548c8
Moderators can now affect themselves.
2011-09-24 02:21:24 +01:00
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.
2011-09-22 16:12:35 -05:00
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.
2011-09-22 06:33:34 -05:00
fa21358a23
When players enable/disable admin bypass mode (/f bypass), it is now logged to the server console/log.
2011-09-22 06:23:25 -05:00
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.
2011-09-22 06:22:01 -05:00
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
2011-09-22 04:22:24 -05:00
2aa51a4781
Added some quick and dirty fix notes for people who get a specific chat formatting error
2011-09-16 01:50:25 -05:00
538b387f2f
Fix for players being able to hurt members of their own faction while in their own land if the "enablePVPAgainstFactionlessInAttackersLand" option is enabled
2011-09-16 01:45:23 -05:00
443e083f23
Bugfix release 1.4.9: material protection (interaction with doors, chests, etc.) was being incorrectly triggered in wilderness, war zones, and safe zones
2011-09-15 09:12:24 -05:00
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.
2011-09-13 13:14:09 -05:00
249846d6ae
New conf.json setting "newPlayerStartingFactionID" which can be used to have new players start out in a specific faction
2011-09-12 22:46:20 -05:00
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
2011-09-12 22:36:59 -05:00
f40b241bc4
Merge pull request #35 from dotblank/chat
...
Add an option to disable faction only chat
2011-09-12 20:33:47 -07:00
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
2011-09-12 22:23:44 -05:00
a5a0125195
Add an option to disable faction only chat
2011-09-10 00:26:15 -04:00
120039b07f
minor cleanup and tweaks to WorldGuard code
...
added/updated libs
2011-09-08 06:24:55 -05:00
f9cb5014dc
Merge pull request #33 from spathizilla/master
...
Worldguard region checking
2011-09-08 04:00:38 -07:00
b5a1151178
fix for arrow damage not being properly detected and prevented (when needed) which was broken by Bukkit's recent deprecation of EntityDamageByProjectileEvent
2011-09-08 03:20:55 -05:00
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
2011-09-06 16:35:43 -05:00
61e7667010
Spout always shows displaynames even with factionless players
2011-09-06 03:31:15 +01:00
106944ba86
Fixing code indents
2011-08-31 02:14:46 +01:00
c5f88fe716
Reworked entire chunk checking + code cleanup
2011-08-31 02:13:16 +01:00
445d10afb7
Optional disabling of WG checks
2011-08-29 04:59:49 +01:00
8be43164d2
Worldguard region checking
2011-08-29 04:50:45 +01:00
a7cce7e428
Changed checkForRegions to be checkForRegionsInChunk
2011-08-29 15:06:34 +02:00
5ea055a260
WorldGuard regions will block factions claiming them
2011-08-29 14:54:04 +02:00
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
2011-08-28 18:24:05 -05:00
c512f80866
Release 1.4.7: bugfix for exception triggered by blank cape URL
2011-08-23 21:49:49 -05:00
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
2011-08-23 17:34:40 -05:00
82db1624c9
Added new "Ally" related protection options to complement the "Enemy" ones (added thanks to donation from BeTrayed)
2011-08-23 17:12:17 -05:00
83d1e52be3
point default cape image URLs to GitHub
2011-08-23 12:49:32 -05:00