Commit Graph

800 Commits

Author SHA1 Message Date
Brettflan
8027e87078 Errors loading conf.json are handled better now, allowing Factions to continue on to loading board.json instead of losing it
Also, the bad conf.json file is backed up to conf.json_bad so it can potentially be recovered
2012-01-13 05:48:03 -06: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
4b4d26ed29 updated the map orientation to match the new compass north orientation 2012-01-13 03:18:34 -06:00
Brettflan
23f55ee753 /f list sorting method performance boost 2012-01-11 19:11:10 -06:00
Brettflan
78a62bc25c Updated /f map compass to use new official north 2012-01-11 18:19:31 -06:00
Brettflan
43a086d420 MCore lib also, needed by some capi lib references used in Factions 2012-01-11 17:08:16 -06:00
Olof Larsson
ea03124c31 Merge branch 'master' of github.com:MassiveCraft/Factions 2012-01-11 23:02:33 +01:00
Olof Larsson
ea80f325ec a' 2012-01-11 23:01:59 +01:00
Brettflan
65f16b74bd Players auto-removed due to inactivity or due to being banned now have their data deleted immediately; this should fix the log spam of the same players repeatedly being marked for deletion 2012-01-09 21:37:16 -06:00
Brettflan
1c918ad52e Merge branch 'master' of github.com:MassiveCraft/Factions 2012-01-07 15:57:01 -06:00
Brettflan
324455cdde fix for potential infinite loop when cleaning data
As reported:
at com.massivecraft.factions.Factions.get(Factions.java:99)
at com.massivecraft.factions.FPlayer.getFaction(FPlayer.java:43)
at com.massivecraft.factions.integration.SpoutFeatures.updateSingle(SpoutFeatures.java:218)
at com.massivecraft.factions.integration.SpoutFeatures.updateAppearances(SpoutFeatures.java:154)
at com.massivecraft.factions.FPlayer.resetFactionData(FPlayer.java:188)
at com.massivecraft.factions.FPlayer.resetFactionData(FPlayer.java:194)
at com.massivecraft.factions.FPlayers.clean(FPlayers.java:45)
<repeat>
2012-01-07 15:56:17 -06:00
Olof Larsson
f0627017b5 Found a bug I did NOT FIX. 2012-01-04 00:30:07 +01:00
Olof Larsson
81d24ecbc4 Leaders can now not be kicked by their officers. Improved leader command. 2011-12-23 01:13:55 +01:00
Olof Larsson
3dc70e82d9 Unused imports cause warings in eclipse. 2011-12-18 22:47:48 +01:00
Brettflan
c02c5702b4 Added soil to the default "materialsEditOnInteract" setting, so people who aren't allowed to build in a territory won't be able to trample crops in it (soil trampling is handled as an Interact event, for whatever reason)
For servers with existing conf.json files, you can use this command to update them: /f config materialsEditOnInteract SOIL
2011-12-18 08:28:28 -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
Brettflan
07e2721ccd Merge branch 'master' of github.com:MassiveCraft/Factions 2011-12-18 02:38:09 -06:00
Brettflan
accf718120 New conf.json setting "removePlayerDataWhenBanned" (default true), which can be disabled to prevent Factions from deleting player data for players when they are banned from the server 2011-12-18 02:37:40 -06:00
Olof Larsson
0bbb7ddfdd Merge pull request #61 from sp1ky/master
Power regeneration rate increase as power decreases
2011-12-16 02:41:05 -08:00
Brettflan
e19b16931d Color tags shouldn't work in descriptions any more; no more purple "[SERVER]" description messages to impersonate the console 2011-12-16 04:21:21 -06:00
Brettflan
064abfe16c Added MagmaCube to monster list 2011-12-16 00:27:08 -06:00
Brettflan
a8ed55c215 fix for Spout faction labels not updating for players who have /f map on 2011-12-15 23:50:37 -06:00
Brettflan
f1114848ff fix for Spout's questionable new "no default height" warning for variable-sized text labels
also updated Bukkit lib
2011-12-15 23:48:15 -06:00
Olof Larsson
1e1925b43e Performance boost? And fixed capi integration once again. 2011-12-16 00:19:01 +01:00
Olof Larsson
2c5a8872f2 Fixed capi integration 2011-12-15 16:49:47 +01:00
Olof Larsson
e9c8988ec6 Fix for containers 2011-12-04 22:48:30 +01:00
Olof Larsson
d9bfd7d38b Protecting noteblocks and blocking warp command from enemy territory. 2011-12-04 19:49:50 +01:00
Olof Larsson
8661672f14 Adding jukebox as a container. 2011-12-03 22:30:49 +01: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
Olof Larsson
3d929138a5 Removed debug output. 2011-11-27 23:52:15 +01:00
Olof Larsson
87e7dd52d7 Merge branch 'master' of github.com:MassiveCraft/Factions 2011-11-27 23:13:58 +01:00
Olof Larsson
b4ea5228ec Backwards compat for Dynmap-Factions 2011-11-27 23:13:43 +01:00
Olof Larsson
5db20e9625 Added radius claim 2011-11-27 22:47:40 +01:00
Brettflan
72d5a8ea59 Added new 1.0 monsters; still missing magma cube mob, which isn't in Bukkit CreatureTypes yet 2011-11-27 13:03:16 -06:00
Olof Larsson
bf2ff7f0ed Allies can build per default. 2011-11-27 19:21:24 +01:00
Olof Larsson
5b64a62f6b Added protection to cauldron and brewingstand. Updated bukkit library. 2011-11-27 19:18:00 +01:00
Olof Larsson
907492e8f7 MassiveCraftCore update 2011-11-25 21:09:03 +01:00
Olof Larsson
686986eeb9 Fixes to the show command. 2011-11-24 16:53:59 +01:00
Olof Larsson
fc6bfcf061 Merge branch 'master' of github.com:MassiveCraft/Factions 2011-11-24 16:27:23 +01:00
Olof Larsson
e935a56ff9 New SeeChunk command and cleanup of the show command. 2011-11-24 16:27:14 +01:00
Brettflan
101aa8cabe Hopefully fix a couple of economy integration problems 2011-11-23 00:11:30 -06:00
Brettflan
047a03af44 Modified description change message from being purple to yellow, to prevent exploit of color to spoof official server messages 2011-11-11 13:27:04 -06: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
Brettflan
e390c67bde formatting 2011-11-06 15:29:14 -06:00
Brettflan
dedb282498 Fix for minor NPE causes by null player when updating Spout-based appearances
also updated Spout lib
2011-11-06 15:27:18 -06:00
Olof Larsson
c43d34af79 Fix the nofaction wilderness invuln bug. 2011-11-06 09:20:03 +01:00
Olof Larsson
da15de2b52 moderator -> officer rename in messages in the officer command. 2011-11-06 09:12:38 +01:00
Olof Larsson
9c678965be The special factions must be closed. 2011-11-05 11:15:37 +01:00