Brettflan
f5450886f1
Fix for Bukkit "unknown command" error when using console commands
...
handling for extra commas in "baseCommandAliases" in conf.json adding null values
2011-10-16 04:02:29 -05:00
Brettflan
61bd37c99b
A bit of command help menu cleanup
2011-10-15 12:46:44 -05:00
Brettflan
3981ca4dde
Added fence gates to default "territoryProtectedMaterials" list.
...
Existing users should run these commands to add it to an existing config, if desired:
/f config territoryProtectedMaterials FENCE_GATE
/f config territoryProtectedMaterialsWhenOffline FENCE_GATE
Also changed first letter of "canLeaveWithNegativePower" setting to lowercase, to fit with Java standards. If you had previously changed this setting to false, you'll need to do so again.
2011-10-15 12:46:09 -05:00
Olof Larsson
3de70b6db8
Changes to the default configuration
2011-10-14 23:45:39 +02:00
Olof Larsson
04074bc2b4
Minor changes
2011-10-14 15:40:03 +02:00
Olof Larsson
00f6f4ab05
Support for the CAPI plugin.
2011-10-14 15:03:23 +02:00
Olof Larsson
3967579884
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-10-13 22:49:52 +02:00
Olof Larsson
618c5fceed
Fixed a bug with the smoke effect for the faction home and one NPE.
2011-10-13 22:49:41 +02:00
Brettflan
358186764d
Territory owner list was not being shown to people who aren't running the Spoutcraft client, when Spout was hooked... fixed
2011-10-13 14:30:47 -05:00
Brettflan
d7a2a88f95
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-10-13 14:10:04 -05:00
Brettflan
1a38007d64
With Spout, the territory indicator now also has an ownership indicator below it (but only if the current territory has any owners set), and a larger centered territory notice below which goes away after a couple of seconds.
...
These effectively replace the related chat notices if enabled.
Also, updated libs.
2011-10-13 14:09:47 -05:00
Olof Larsson
88fe43d600
Using PEX 1.15 and only as superpermsmanager to allow for use of the parent permission. Also changed the handling of money on faction leave as last player.
2011-10-13 19:47:37 +02:00
Olof Larsson
98260c75de
Bugfixes and awesome probably complete money commands.
2011-10-13 16:07:07 +02:00
Olof Larsson
0888e027ad
Econ messages improved. All money commands is now under the money parent command.
2011-10-13 14:41:07 +02:00
Olof Larsson
0039370f05
Some effect for the f home teleport command
2011-10-13 12:17:23 +02:00
Brettflan
73ea2b75e0
Spout name-over-head modification seems to bug out for players viewing themselves, their name ends up over the head of some other mob in the world... so, it now skips doing that when viewer = viewed. Capes thankfully don't have the same problem, though a caped creeper might actually look pretty cool.
2011-10-13 04:23:00 -05:00
Brettflan
4ec086e4fa
Fix for faction creation sometimes causing an NPE; hopefully a fix for the cause of the null value as well, from an ID clash in the entity collection of factions
...
Fix for disband command causing an NPE if run from the console
Additionally, disband command use is now logged
2011-10-13 04:10:29 -05:00
Brettflan
cace4aa955
Fix for faction not being disbanded properly when last player leaves
...
Fix for some NoClassDefFoundErrors when Register plugin isn't present and certain economy functions are used
2011-10-12 23:44:59 -05:00
Brettflan
329cef6465
Fix for messed up ownership protection handling in regards to ally/enemy status
...
In the process, removed the separate painting handling and made it use the standard block place/destroy checking routine, and otherwise cleaned up the related code a bit
2011-10-12 22:31:18 -05:00
Olof Larsson
f575ad6bc0
Factions are not removed properly... this needs to be sorted out before release
2011-10-12 21:54:38 +02:00
Olof Larsson
f25daa228a
Some of the bugs are fixed.
2011-10-12 18:48:47 +02:00
Olof Larsson
2566edfd8c
Merged some changes
2011-10-12 17:28:00 +02:00
Olof Larsson
b202acb685
Almost finished money refactoring
2011-10-12 17:25:01 +02:00
Brettflan
0326a6e938
Fixed ownerlist command (though not sure just why it was failing as written, I need to investigate further), working on restructuring and fixing ownership handling for block placement/destruction/interaction/usage. Will finish that up in the next day or two.
2011-10-11 20:14:59 -05:00
Olof Larsson
b0e31eb837
Supressed warnings in eclipse
2011-10-11 13:03:33 +02:00
Olof Larsson
6ab7e10d1f
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-10-11 13:01:12 +02:00
Olof Larsson
d07639e7ee
Added a register event convenience method
2011-10-11 13:00:53 +02:00
Brettflan
1d8e06796f
fix for /f config not working due to extra blank required parameter
2011-10-10 21:46:59 -05:00
Brettflan
f5190db257
Moved some Spout code out to a separate listener, for slightly better organization and more importantly to prevent NoClassDefFoundErrors on servers not running Spout
...
The text scale (size) can now be set for the territory display using conf.json setting "spoutTerritoryDisplaySize" (default 1.0), and "spoutTerritoryDisplayShowDescription" (default true) can be disabled to have only the faction tag/name displayed and not the description as well
2011-10-10 21:09:58 -05:00
Brettflan
7d85a478a8
Update to allow the project to compile in Netbeans, as per:
...
http://stackoverflow.com/questions/314572/bug-in-eclipse-compiler-or-in-javac
Also added license files, for building into JAR file
2011-10-10 20:48:23 -05:00
Olof Larsson
7b5124529a
Added some extra blocked commands
2011-10-10 22:45:15 +02:00
Olof Larsson
80d132af70
Added forgotten type adapters.
2011-10-10 14:21:22 +02:00
Olof Larsson
1d44aa0c9c
Renamed sendMessageParsed to msg
2011-10-10 13:40:24 +02:00
Olof Larsson
aceeea8b0e
Fixed better color handling system
2011-10-10 13:31:25 +02:00
Olof Larsson
e402797c54
Removing the small ugly language file
2011-10-10 01:59:36 +02:00
Olof Larsson
27c45bf7f3
Fixed who command and detatched the argument reading a bit.
2011-10-10 01:43:21 +02:00
Olof Larsson
3cc7766fa7
Some bugs fixed.
2011-10-10 01:21:05 +02:00
Olof Larsson
a5c8e2de49
glerp
2011-10-09 21:57:43 +02:00
Olof Larsson
3cdd5764d3
derp
2011-10-09 20:10:19 +02:00
Olof Larsson
a0c8fd8d7d
herp...
2011-10-09 18:35:39 +02:00
Olof Larsson
10f535e637
Halfway through refactoring of commands and permissions
2011-10-09 14:53:38 +02:00
Olof Larsson
227d54dc5f
Converting the command structure
2011-10-08 23:22:02 +02:00
Olof Larsson
0ce9cce9d3
In progress: Using MassiveCraftCore and Allman indentation style and minor refactoring.
2011-10-08 22:03:44 +02:00
Olof Larsson
61998f459d
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-10-08 18:45:08 +02:00
Olof Larsson
ba5d7a3981
Working on permissions handling
2011-10-08 18:44:47 +02:00
Brettflan
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).
2011-10-05 05:13:54 -05:00
Brettflan
d64ed374f1
missed from last commit
2011-10-05 02:14:07 -05:00
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
4cab42ec6e
Merge branch 'banks' of git://github.com/eXeC64/Factions
2011-10-01 03:45:28 -05:00
Brettflan
3d62676168
Merge branch 'alliancechat' of git://github.com/eXeC64/Factions
2011-09-30 20:40:34 -05:00
Brettflan
9e73681125
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-09-30 20:30:54 -05:00
Brettflan
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
Brettflan
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
Harry Jeffery
5eaf9c6835
Fixed autoclaim
2011-09-26 22:11:07 +01:00
Harry Jeffery
d718e8bddc
Fixed error when no parameter given to f balance.
2011-09-26 17:18:37 +01:00
Harry Jeffery
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
Harry Jeffery
b1ee58a2b6
Fixed alliance chat still being purple.
2011-09-24 21:22:23 +01:00
Harry Jeffery
f4d56d4796
Alliance chat is now white, with ally-colour names.
2011-09-24 20:30:15 +01:00
Harry Jeffery
ea8310c695
Fixed bug where you could not create factions if they cost money.
2011-09-24 18:08:18 +01:00
Harry Jeffery
46abcadf93
Added alliance only chat mode.
2011-09-24 11:04:49 +01:00
Harry Jeffery
2b23f93fba
Added faction banks.
2011-09-24 02:22:53 +01:00
Harry Jeffery
28f86548c8
Moderators can now affect themselves.
2011-09-24 02:21:24 +01:00
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brettflan
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
Brett Flannigan
f40b241bc4
Merge pull request #35 from dotblank/chat
...
Add an option to disable faction only chat
2011-09-12 20:33:47 -07:00
Brettflan
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
Elias Woods
a5a0125195
Add an option to disable faction only chat
2011-09-10 00:26:15 -04:00
Brettflan
120039b07f
minor cleanup and tweaks to WorldGuard code
...
added/updated libs
2011-09-08 06:24:55 -05:00
Brett Flannigan
f9cb5014dc
Merge pull request #33 from spathizilla/master
...
Worldguard region checking
2011-09-08 04:00:38 -07:00
Brettflan
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
Brettflan
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
Spathi
61e7667010
Spout always shows displaynames even with factionless players
2011-09-06 03:31:15 +01:00
Spathi
106944ba86
Fixing code indents
2011-08-31 02:14:46 +01:00
Spathi
c5f88fe716
Reworked entire chunk checking + code cleanup
2011-08-31 02:13:16 +01:00
Spathi
445d10afb7
Optional disabling of WG checks
2011-08-29 04:59:49 +01:00
Spathi
8be43164d2
Worldguard region checking
2011-08-29 04:50:45 +01:00
Andy "Spathi" F
a7cce7e428
Changed checkForRegions to be checkForRegionsInChunk
2011-08-29 15:06:34 +02:00
Andy "Spathi" F
5ea055a260
WorldGuard regions will block factions claiming them
2011-08-29 14:54:04 +02:00
Brettflan
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
Brettflan
c512f80866
Release 1.4.7: bugfix for exception triggered by blank cape URL
2011-08-23 21:49:49 -05:00
Brettflan
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
Brettflan
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
Brettflan
83d1e52be3
point default cape image URLs to GitHub
2011-08-23 12:49:32 -05:00
Brettflan
ef465dfcf4
New conf.json setting "worldsNoWildernessProtection", for worlds in which you don't want wilderness protections to apply
2011-08-23 00:37:31 -05:00
Brettflan
72bf1492c3
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-08-22 23:49:08 -05:00
Brettflan
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
2011-08-22 23:48:18 -05:00
Brettflan
e573895d8a
Added owner list display for faction members when moving between to/from claimed chunks which have owners set (code by Zidkon)
2011-08-22 23:31:37 -05:00