021bf52c62
Added Event System
patrickfreed
2012-03-01 20:16:45 -05:00
54b97651b6
Release 1.7.3b ALPHA for compatibility with CB 1.1-R5 and above
Brettflan
2012-03-01 09:41:35 -06:00
2954fa621f
Fix for fatal error at startup in CraftBukkit 1.1-R5 and above
Brettflan
2012-03-01 09:40:28 -06:00
3af6f2737a
Final attempt to fix rare non-fatal NPE from Player ending up returning null while updating Spout appearance features
Brettflan
2012-03-01 09:38:47 -06:00
de3c7436fe
"autoLeaveAfterDaysOfInactivity" routine now runs only once every few minutes instead of running every time a player logs in. New setting "autoLeaveRoutineRunsEveryXMinutes" (default 5 minutes) to determine just how often the routine is run. The routine is also slightly more careful about how it calculates how long a player has been offline.
Brettflan
2012-02-26 16:55:58 -06:00
d71bd15a79
Added possibility to specify a player in the /f join command (/f join <faction> [player=you]), to make a player other than yourself join the specified faction. The new permission factions.join.others (added to factions.kit.mod and above) is required to be able to specify a different player. Note that the player cannot currently already be in another faction; if they are, you'll need to /f kick them first. Also note that if the faction isn't open (with no invitation required), the player isn't invited, and you don't have the factions.join.any permission or have admin bypass mode on, the attempt will also fail.
Brettflan
2012-02-26 12:29:44 -06:00
02200e5793
UNTESTED: fix for chatspy not working with CAPI chat integration
Brettflan
2012-02-25 04:44:28 -06:00
817a43b5e0
New setting factionMemberLimit (default 0, no limit), which will prevent players from joining any faction that has reached this membership limit.
Brettflan
2012-02-24 06:30:28 -06:00
2a667a294d
Damage protection is now extended to being set on fire (by flaming arrows, for instance) and receiving harmful splash potion effects. Beneficial splash potion effects are unaffected, and prevention of harmful splash potion effects is handled on a player-by-player basis, so you can still be harmed if you're not careful where you throw them.
Brettflan
2012-02-23 00:09:09 -06:00
a0fa3863d4
Hopeful fix for rare errors where location world somehow changes in the middle of trying to show a smoke effect
Brettflan
2012-02-22 23:52:39 -06:00
8607f1c22d
Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2012-02-22 13:36:35 -06:00
50572b388c
Moved Essentials teleport integration handling to EssentialsFeatures.java
Brettflan
2012-02-22 13:35:26 -06:00
92116bc929
Fix some warnings in Eclipse
Olof Larsson
2012-02-22 19:08:17 +01:00
546ecd6a45
Clean up integration methods with other plugins a bit
Brettflan
2012-02-22 11:43:53 -06:00
c8d6d06f90
Updated SpoutAPI, handled deprecated Spout AppearanceManager code, updated Spout event listener to new Bukkit event system
Brettflan
2012-02-20 17:03:37 -06:00
e918bc0d91
Compatibility with upcoming CB 1.1-R5 and above: updated Enderman block monitors to use EntityChangeBlockEvent, removed register event convenience methods from MPlugin (no longer working or needed)
Brettflan
2012-02-20 16:59:33 -06:00
c208658cab
update default GSON jar version to 2.1
Brettflan
2012-02-19 08:32:50 -06:00
03a45784c7
Fix for potential NPE in CraftBukkit caused by LWC location world returning null
Brettflan
2012-02-19 08:23:13 -06:00
4ba73af883
fix for command prevention routine (used by territoryEnemyDenyCommands and such) not properly covering commands with uppercase letters in them
Brettflan
2012-02-19 08:20:22 -06:00
8e96a75b56
Update our MCore event handlers to use the newer Bukkit event system
Brettflan
2012-02-07 17:02:54 -06:00
fbbf0a12af
Add back support for older EssentialsChat versions
Brettflan
2012-02-07 15:31:35 -06:00
296c783627
Try again
Brettflan
2012-02-07 15:23:19 -06:00
589e4417c7
Major bugfix: leaders of factions should no longer be able to promote members of other factions to leader of that faction (unless of course they have factions.leader.any permission)
Brettflan
2012-02-07 15:15:25 -06:00
1a109fa589
"worldsIgnorePvP" setting no longer ignores PvP damage in SafeZones and PvP damage done by players who just logged in, no matter the world it happens in
Brettflan
2012-02-07 15:04:19 -06:00
0a6991a997
Fix for error when disbanding faction from server console with economy enabled
Brettflan
2012-02-07 14:56:57 -06:00
c74e4baab2
Minor change to support NoCheat protection
Olof Larsson
2012-02-05 19:51:51 +01:00
37169dc6ec
Added command logging as for default commands and temporairly removed Essentials old features as it does not compile in Eclipse :/ sorry about this. How would we go about getting this compile in Eclipse and Netbeans at the same time?
Olof Larsson
2012-02-05 18:55:26 +01:00
c8558f7bbb
Release 1.7.2c: Most TNT explosions were being prevented due to a mistake on my part when I re-implemented our TNT+redstone exploit workaround fix, sorry about that. That's fixed, and the X/Z coordinates for such prevented attempts are no longer sent to players, only sent to the server console/log.
Brettflan
2012-02-04 16:22:55 -06:00
7965fcdc00
Re-enabled WorldGuard support. It actually was working, who knew? I don't use WorldGuard, and I'd only seen multiple failure reports lately and not a single indication from anyone that the integration was actually working for them, so...
Brettflan
2012-02-03 00:16:03 -06:00
4f4b988b42
Preemptive EssentialsChat 3.x support, since they'll be removing the old local chat integration method; new implementation will need improvement to support relation coloring, but for now it otherwise works.
Brettflan
2012-02-02 19:31:33 -06:00
dcd167d4e0
WorldGuard integration is now disabled, since it has been broken for quite some time now and nobody who used it has been interested enough to actually fix it.
Brettflan
2012-02-02 15:20:43 -06:00
9eef2d13d6
Adding TNT exploit workaround fix back; they finally fixed the exploit in CraftBukkit 1.1-RC1, but broke it again in 1.1-RC3. :(
Brettflan
2012-02-02 15:13:56 -06:00
b33b24943a
make sure max land setting doesn't apply to factions with infinite power (such as SafeZone and WarZone)
Brettflan
2012-02-02 13:09:43 -06:00
1cd392f256
Workaround fix for EssentialsChat integration not working on Essentials 2.8+. "chatTagReplaceString" setting now defaults to "[FACTION]" instead of "{FACTION}" since Essentials now converts curly-braces to square-braces for any tags specified in their chat format setting which Essentials doesn't recognize. For those using Essentials 2.8.x, this should hopefully be handled automatically.
Brettflan
2012-02-02 07:29:00 -06:00
0abc3f397a
Using latest CAPI for integration
Olof Larsson
2012-01-31 21:14:05 +01:00
900f05c62f
zero-value economy gains/losses are now skipped over ("X gained 0.0 for claiming this land" and similar is a bit odd)
Brettflan
2012-01-31 11:07:47 -06:00
ed83711493
Protection against radius claim attempts which might overload the server
Brettflan
2012-01-31 10:58:22 -06:00
d639a4a93e
Removed direct Permissions and PermissionsEx plugin support. Problems with PermissionsEx integration had been reported. Now permissions are solely handled directly through Bukkit's built-in "superperms" permission system, since all modern permission plugins should be interfacing through that at this point.
Brettflan
2012-01-31 10:52:34 -06:00
fafad0f590
Improved the seechunk command.
Olof Larsson
2012-01-28 19:49:01 +01:00
70af217de7
Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2012-01-28 12:11:52 -06:00
4348d2c35e
Fix for storing player data in factions.json unnecessarily, and FPlayer add/remove methods are now marked as protected
Brettflan
2012-01-28 12:11:12 -06:00
87dc76716e
deleted an unused import.
Olof Larsson
2012-01-28 19:09:50 +01:00
f0eae47164
Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2012-01-28 12:02:39 -06:00
8a13cd8cdc
reverting the revert (sorry)
Olof Larsson
2012-01-28 19:00:13 +01:00
9a6c15edd1
New command /f powerboost <p|f|player|faction> <name> <#>, which will apply a permanent power bonus/penalty to a specified player or faction. When applied to a player, it will affect their max power and min power. When applied to a faction, it will be applied to current and max power levels. Whether it is a bonus or a penalty depends on whether the number you specify is positive or negative. New permission factions.powerboost which is required to use the above command. This permission is added to the factions.kit.mod permission kit.
Brettflan
2012-01-28 11:56:51 -06:00
dfb36a9e43
Noted a possible npe
Olof Larsson
2012-01-28 17:02:18 +01:00
30b3facc19
Players no longer regain power while dead; no more waiting to respawn in order to regain power
Brettflan
2012-01-28 05:59:07 -06:00
5ac0baf84a
Fix for Vault economy integration bugging out if the target economy plugin loaded after Factions (really seems like a Vault issue, but we'll work around it) Fix for users who have Vault but don't use economy getting an NPE
Brettflan
2012-01-28 05:24:39 -06:00
fb92fb7c68
Update to new Bukkit Event system
Brettflan
2012-01-28 04:37:56 -06:00
1dc5a0f226
removed TNT exploit handling code, since they did finally fix the bug in the CraftBukkit 1.1-RC1 release
Brettflan
2012-01-28 04:07:21 -06:00
319be71102
Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2012-01-28 03:16:57 -06:00
23e970bc60
Fixed NPE that occurs when a player is offline when chests are cleared.
Patrick
2012-01-26 17:19:00 -05:00
1196d74140
Fix for error when deleting a faction if Vault wasn't present; Fix for slashless Factions commands not working for player in faction chat or alliance chat modes
Brettflan
2012-01-20 11:19:34 -06:00
0209d69814
removed extra /f claim alias ("claim" was in there twice)
Brettflan
2012-01-19 00:41:10 -06:00
663a7e9454
New conf.json setting "permanentFactionMemberDenyCommands" (list, default empty), which can be used to prevent members of permanent factions from using specific commands.
Brettflan
2012-01-18 23:31:33 -06:00
b4450b3bdb
fix for factions-specific commands not being prevented properly if they were in "territoryNeutralDenyCommands" or "territoryEnemyDenyCommands"
Brettflan
2012-01-18 22:42:58 -06:00
960aca6240
fix for /f config not accepting values with spaces in them (i.e. "/f config territoryEnemyDenyCommands f home")
Brettflan
2012-01-18 22:24:12 -06:00
19b9bffc43
New conf.json setting "permanentFactionsDisableLeaderPromotion" (default false) which, if enabled, will circumvent the promotion routine for permanent factions so that they can exist without a faction leader, only regular members and/or officers.
Brettflan
2012-01-18 21:21:26 -06:00
a330931cd5
New conf.json setting "econClaimUnconnectedFee" (default 0.0), which can be set as an additional economic cost for claiming land which is not connected to existing claims. This additional cost is only added if the faction has at least 1 existing claim somewhere in the current world, and is added to the cost after all other calculations are done. This fee is not refunded from unclaiming land or even considered in actual land values.
Brettflan
2012-01-18 21:10:40 -06:00
bc40f3b751
Server admins can now promote or demote any member of any faction to/from faction leader or officer using the existing /f leader and /f officer commands, with two new permissions added to allow that. A third permission is also added to allow server admins or moderators to join any faction without the need of /f bypass mode. Also, a couple more minor bugfixes are included for /f home payment giving the wrong message, player/faction descriptions being wrong for console messages, and potential NPE in new faction leader promotion routine if faction was permanent with no current leader.
Brettflan
2012-01-18 06:01:50 -06:00
46d7e9f4c5
self-inflicted damage (such as ender pearl usage) is no longer prevented with a message like "you cannot hurt you"
Brettflan
2012-01-17 02:56:38 -06:00
8142e1c28f
improved TNT exploit prevention Now, canceled exploit attempts don't injure players or mobs as if the TNT had successfully exploded, and if it's the case of an existing TNT block which a redstone torch is attempted to be placed next to, it no longer drops a free TNT item. In that case, the existing TNT block is still destroyed itself, but... oh well, it's close enough to perfect.
Brettflan
2012-01-17 01:57:16 -06:00
2a9b475012
Economy integration is now handled through Vault instead of Register. You will need to download and install the Vault plugin now if you want to use any Economy-related features. If you're not using the Register plugin for anything other than Factions, it should be safe to remove it from your server.
Brettflan
2012-01-16 19:38:14 -06:00
c19f3405bf
when redstone torches or TNT were attempted to be placed in protected territory but prevented, it could previously still trigger a TNT explosion due to a longstanding unfixed CraftBukkit exploit. A workaround is now in place to prevent this, and any such attempts are logged and announced to everyone on the server. For reference: https://bukkit.atlassian.net/browse/BUKKIT-89
Brettflan
2012-01-15 11:41:14 -06:00
e8baaa2460
Minor tweaks to chatspy, added it to /f help
Brettflan
2012-01-15 01:41:03 -06:00
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
Brettflan
2012-01-13 05:48:03 -06:00
47ba56de9e
Optimization: Factions (as objects) now maintain a list of FPlayers in the faction for faster lookup
Brettflan
2012-01-13 03:46:31 -06:00
4b4d26ed29
updated the map orientation to match the new compass north orientation
Brettflan
2012-01-13 03:18:34 -06:00
ea80f325ec
a'
Olof Larsson
2012-01-11 23:01:59 +01:00
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
Brettflan
2012-01-09 21:37:16 -06:00
1c918ad52e
Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2012-01-07 15:57:01 -06:00
324455cdde
fix for potential infinite loop when cleaning data
Brettflan
2012-01-07 15:56:17 -06:00
f0627017b5
Found a bug I did NOT FIX.
Olof Larsson
2012-01-04 00:30:07 +01:00
81d24ecbc4
Leaders can now not be kicked by their officers. Improved leader command.
Olof Larsson
2011-12-23 01:13:55 +01:00
3dc70e82d9
Unused imports cause warings in eclipse.
Olof Larsson
2011-12-18 22:47:48 +01:00
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
Brettflan
2011-12-18 08:28:28 -06:00
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.
Brettflan
2011-12-18 07:50:41 -06:00
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
Brettflan
2011-12-18 03:05:22 -06:00
07e2721ccd
Merge branch 'master' of github.com:MassiveCraft/Factions
Brettflan
2011-12-18 02:38:09 -06:00