Brett Flannigan
9ff68301e5
Merge pull request #60 from eXeC64/spy
...
Added chat spy feature for admins
2012-01-14 22:58:39 -08:00
Brettflan
47ba56de9e
Optimization: Factions (as objects) now maintain a list of FPlayers in the faction for faster lookup
...
INTEGRATION NOTE: getFPlayers() and getFPlayersWhereOnline(boolean online) now return Set<FPlayer> instead of ArrayList<FPlayer>, so other plugins which hook into those methods will probably need to be updated.
2012-01-13 03:46:31 -06:00
Brettflan
6ea54cb7ac
When a faction leader is kicked from his faction for whatever reason (not logging in for too long, a server admin running the /f kick command on him, the player being banned from server), another player will now be promoted to faction leader in his place. If the faction has at least one officer, one of them will be chosen. Otherwise, a normal member will be promoted. If the faction leader was the last/only member, the faction will of course be disbanded.
...
Also, players being kicked due to inactivity is now logged.
2011-12-18 07:50:41 -06:00
Brettflan
bbc7c48408
Added new conf.json setting "powerPlayerStarting" (default 0.0) for the power level which new players will now start at; previously new players would start with max power, now it's configurable
2011-12-18 03:05:22 -06:00
Harry Jeffery
5bf3161cf0
Added chat spy feature for admins
2011-11-29 22:40:16 +00:00
sp1ky
486fce400f
Power regeneration rate increase as power decreases
2011-11-28 23:24:46 +00:00
Brettflan
95bdac3d86
Fix for command payment and land claiming/unclaiming payments not checking if faction banks are actually enabled, but instead only checking the individual bank-related settings; Fix for command costs being charged incorrectly based on "land costs" setting
2011-11-11 13:10:18 -06:00
Olof Larsson
7ab784f02e
Another reason to be saved
2011-10-26 14:50:34 +02:00
Olof Larsson
f76311c492
Claiming now works again :P
2011-10-25 22:18:54 +02:00
Olof Larsson
72db45e45e
Updated readme, Fixed admin bypass command and corresponding permissions, Swapped colors for ally and truce, added new faction permissions, improved explosion protection and implemented firespread protection, fixed painbuild check order, flags can only be changed by server admins now and implemented type adapters for some enumerations for future changes to be non breaking. That it \:D /
2011-10-25 21:18:08 +02:00
Olof Larsson
57c4b70dad
Merge with master
2011-10-25 17:52:14 +02:00
Brettflan
d44ccda211
autoclaim will now cancel beforehand if player isn't able to claim land for the specified faction
2011-10-25 01:27:58 -05:00
Olof Larsson
0c46809952
Some refactoring and better messages
2011-10-24 11:07:06 +02:00
Olof Larsson
1ec7842ed4
Removed the strange usage of selective saving and implemented a good simple one.
2011-10-24 03:15:08 +02:00
Olof Larsson
074be07510
Some dead code elimination
2011-10-24 03:02:25 +02:00
Olof Larsson
46161f61db
Started to implement special faction behavior
2011-10-24 02:33:30 +02:00
Olof Larsson
e3821a8d4e
REMOVED owned plots
2011-10-24 01:37:51 +02:00
Olof Larsson
21783ef9d4
Woop
2011-10-23 22:08:57 +02:00
Olof Larsson
ac6870b770
Merge with master
2011-10-23 20:53:56 +02:00
Olof Larsson
98c5230655
Wheeerp
2011-10-23 20:50:49 +02:00
Brettflan
f8f3704cd4
Additional logging, with new conf.json settings to enable/disable logging of specific events:
...
"logFactionCreate": true, - log faction creation
"logFactionDisband": true, - log factions being disbanded, by command or by circumstance
"logFactionJoin": true, - log player joining a faction
"logFactionKick": true, - log player being kicked from a faction
"logFactionLeave": true, - log player leaving a faction
"logLandClaims": true, - log land being claimed (including safe zone and war zone)
"logLandUnclaims": true, - log land being unclaimed (including safe zone and war zone)
"logMoneyTransactions": true, - log money being deposited, withdrawn, and otherwise transferred in relation to faction banks
Also a fix for a potential NPE from players logging out and Spout appearance handler referencing them afterwards
2011-10-23 12:50:02 -05:00
Olof Larsson
e6ff84ad9a
Merge branch 'master' into seven
2011-10-23 17:31:30 +02:00
Olof Larsson
d280f9409d
In the middle of refactoring to merged role and relation as one enum
2011-10-23 17:30:41 +02:00
Brettflan
3e8faad156
Updated Spout features to improve consistency (of code, and of displayed information)
2011-10-23 09:03:28 -05:00
Olof Larsson
a78a4dff98
Managed to get rid of some commands. This needs to be rethought even more though.
2011-10-22 17:03:49 +02:00
Olof Larsson
45d6a6628a
Claim command refactoring in progress.
2011-10-22 16:00:24 +02:00
Olof Larsson
e6d45a6aa2
Spout overlay support is missing for the new relation coloring. Otherwise done.
2011-10-21 20:08:54 +02:00
Olof Larsson
46f5849f9f
Moving over to the use of describeTo.
2011-10-21 19:20:33 +02:00
Olof Larsson
51161bbb55
Adding a couple of admin bypass commands.
2011-10-21 18:20:31 +02:00
Olof Larsson
f42fb8e8bf
Removing some old code and try to read colors in the listeners.
2011-10-21 18:14:04 +02: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
04074bc2b4
Minor changes
2011-10-14 15:40:03 +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
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
0888e027ad
Econ messages improved. All money commands is now under the money parent command.
2011-10-13 14:41:07 +02: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
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
b202acb685
Almost finished money refactoring
2011-10-12 17:25:01 +02:00
Olof Larsson
1d44aa0c9c
Renamed sendMessageParsed to msg
2011-10-10 13:40:24 +02:00
Olof Larsson
3cc7766fa7
Some bugs fixed.
2011-10-10 01:21:05 +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
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
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