Commit Graph

864 Commits

Author SHA1 Message Date
Trent Hensler
a7aeb26fd0 Check build permissions on frostwalking. Resolves #708. 2016-06-10 16:43:48 -07:00
Kakifrucht
c30aa34fb7 Correct logging behaviour 2016-06-07 16:47:32 +02:00
Trent Hensler
830ffff022 Auto leave log message to debug mode. 2016-06-01 09:19:29 -07:00
Trent Hensler
74b4bd33e9 Add option for setting default max vaults of a faction. 2016-05-30 17:21:11 -07:00
Trent Hensler
f8ee2a5506 Remove chat spy and admin bypass on login if player no longer has permission.
Resolves #636 and #705.
2016-05-30 16:45:46 -07:00
Trent Hensler
9f89010af1 Add /f vault description. 2016-05-30 16:25:27 -07:00
Trent Hensler
0294a60675 Add Faction vaults.
These can be accessed with /f vault <number>
Set a Faction's max vaults with /f setmaxvaults <faction> <number> - can be run from console so Buycraft can execute it.
* This is a not very tested implementation. Should be tested more in depth before being pushed to a release.
2016-05-30 16:22:45 -07:00
Troy Frew
46805200dd Fixed /f unclaim and /f unclaim 1 2016-05-30 13:00:53 -04:00
Trent Hensler
efb5d335f6 Add ability to bypass auto leave for FPlayers. Implements #659.
Permission is factions.bypassautoleave
2016-05-29 17:33:46 -07:00
Trent Hensler
14946cd1b2 Add /f unclaim <radius> per #684. 2016-05-29 17:20:50 -07:00
Gabriele C
bd416059bc Cleanup 2016-05-03 23:05:18 +02:00
ItsMonkeyyy
90f3e0140d Commands are no longer CaSe-SeNsAtIvE which was a very annoying "issue" with the current build of Factions 2016-02-25 20:28:01 -08:00
Mark Hendriks
d558ec37f0 Change chat event priority to LOW
Factions has always been an egotistical bastard regarding chat and command interception. An example use case is muting players.
2016-02-19 10:37:36 +01:00
gsand
a85728cd21 Additional aliases for common commands 2016-01-01 19:05:02 -08:00
ItsMonkeyyy
8b6cf4fe8c Added a feature to enable or disable broadcasting tag changes 2015-12-10 19:05:42 -08:00
drtshock
1cf2158021 Add option to reset powerboost from #572.
Functionality is now /f powerboost p <name> 0 or reset to set the powerboost to 0 for that player or faction.
2015-12-02 16:26:06 -08:00
drtshock
bc2d7c35f6 Make sure faction is normal when checking relation on commands. 2015-09-23 12:04:16 -05:00
cnr
f5432cd227 Add missing forward-slash prefix to clickable commands. Fixes #401 2015-09-11 23:04:53 -05:00
cnr
c68d3e8e2f Remove MPluginSecretServerListener. Fixes #414 2015-09-08 13:12:11 -05:00
drtshock
11bd632b15 Add option to disable explosions in peaceful territory from #369. 2015-09-08 12:55:42 -05:00
drtshock
47bdb149ab Add factionless prefix. Fixes #438. 2015-09-08 12:42:05 -05:00
drtshock
c5571ba8ee Add command to forcefully send player to f home from #478.
Functionality: /f ahome <target> - sends a player to their f home as long as they have an f home and are online.
Permission node is  and given to factions.admin and factions.*
2015-09-08 12:18:00 -05:00
drtshock
d916e97d0d Add option for over claim reward from #498. 2015-09-08 12:04:20 -05:00
drtshock
11757be50d Check correct config option for over claiming. 2015-09-08 11:51:20 -05:00
drtshock
4414b1589f Remove deprecated isNone usages in favor of isWilderness 2015-09-08 11:46:48 -05:00
drtshock
088c6e11b1 Add options to block commands in wilderness and ally territory. Adds #514 2015-09-08 11:39:21 -05:00
vemacs
1fa2abcc88 Resolve NPE on /f warp with cooldown 2015-09-07 08:00:58 -06:00
cnr
6181f08da3 Disable chunk ownership messages in the Wilderness. Fixes #520 2015-09-01 13:47:23 -04:00
eueln
9de87fc2a2 Fix CME when cleaning Factions from the board. Fixes #515 2015-08-28 13:42:21 -04:00
Harry5573
0ede00f7df Optimize common MemoryBoard operations
This reduces the complexity of:

1. retrieving the total chunks owned by a faction, and
2. removing a faction from the board.
2015-08-26 17:02:34 -04:00
drtshock
05cbf4cf5d Powerboost now adds to the current powerboost instead of sets it. Adds #501
This will break existing functionality but that existing functionality is stupid.
2015-08-08 21:53:31 -05:00
drtshock
518eba9e18 Check for pay before passing teleport off to essentials. 2015-08-07 16:39:07 -05:00
drtshock
3db1d5fdb3 Improve concurrency with help from @evilmidget38 2015-08-07 15:03:22 -05:00
drtshock
1a94e89558 Initial async saving on auto save and force save. 2015-08-06 17:41:37 -05:00
drtshock
f76fc190fd Don't readd wilderness faction to f top. Fixes #470 2015-08-06 17:30:50 -05:00
drtshock
9fd4803e76 Fix live support channel. 2015-08-06 17:01:22 -05:00
drtshock
ce77799ef1 Add minimal f show. 2015-08-06 16:59:54 -05:00
drtshock
3b8bc19460 Add faction and player kills / deaths stats. 2015-08-06 16:53:00 -05:00
drtshock
bf0382ca76 Add newline and {null} support for player messages. 2015-08-06 16:35:49 -05:00
drtshock
76e6fd2765 Add factionless sidebar. 2015-08-06 16:34:01 -05:00
drtshock
8926d0b434 Don't allow % in faction descriptions.
Was messing up string formatting. Fixes #490
2015-08-06 16:09:07 -05:00
drtshock
786f2d655f Deprecate Factions#getNone in favor of Factions#getWilderness 2015-07-23 14:39:50 -05:00
vemacs
03cc7f7394 Perform a null check for teleport cooldowns to prevent exceptions when players log out before cooldown 2015-06-13 16:18:42 -06:00
drtshock
fbbf352120 Check for style. 2015-06-12 18:43:59 -05:00
drtshock
91877c9d59 Check for style or color when parsing fancy colors. 2015-06-12 16:33:43 -05:00
drtshock
644e1ec8fb Scoreboards default to true and more player tags. 2015-06-08 02:01:21 -05:00
drtshock
e7f8060441 Don't show home location by default.
This was in there for HCFactions and isn't really meant for regular factions.
2015-05-25 19:16:46 -05:00
Paul Sauve
3ab25c3694 Fix warmup, actually set it 2015-05-25 16:56:50 -05:00
drtshock
7205c0012d Apparently it didn't revert correctly. 2015-05-25 15:53:48 -05:00
drtshock
de57060819 Revert "Remove Fanciful, fix compilation (part 1/2)"
This reverts commit fc1d08e507.
We have users on builds before this was included in Spigot. We don't want to break those servers.
2015-05-25 15:46:18 -05:00
Paul Sauve
1481d604d4 Cancel warmup on damage or movement 2015-05-25 12:20:33 -05:00
Paul Sauve
fc1d08e507 Remove Fanciful, fix compilation (part 1/2) 2015-05-24 18:05:27 -05:00
drtshock
2ad527b85b Don't send spy messages to spyers who are the ones sending the message. 2015-05-19 15:57:02 -05:00
drtshock
0285c005dd Update f version command. 2015-05-18 14:34:45 -05:00
drtshock
f69f1cc025 Use FPlayer to store board toggle instead of separate file.
Honestly not sure why we ever did it like this in the first place.
2015-05-18 14:32:12 -05:00
drtshock
7a2dcca067 Check for warzone and safezone when claiming.
Helpful when claiming a warzone or safezone after renaming either.
2015-05-14 10:36:03 -05:00
drtshock
ec202c0fbf Use original values for balance tags.
Lots of reports of no balance showing up.
2015-05-14 09:02:35 -05:00
Nick Porillo
6d17855586 Fix interact TL issue. Resolves #374
http://puu.sh/hLqXh/7aef61a7a0.png
2015-05-13 01:04:53 -04:00
drtshock
dc8b0d314f Put factions.announce in plugin.yml. Resolves #379 2015-05-12 23:20:44 -05:00
drtshock
f37e38b011 Reformat. 2015-05-12 23:17:22 -05:00
Nick Porillo
5f6e83872d Fix config comment typo
In config.yml we have a list of variables and these should be accurate
so people dont get confused.
2015-05-12 23:49:44 -04:00
Nick Porillo
4e17d43c91 Add configurable faction enter/leave message 2015-05-12 23:25:28 -04:00
Nick Porillo
d7067d3f27 Add /f stuck command to root
forgot to commit this
2015-05-12 23:24:08 -04:00
Nick Porillo
fede341cc7 Implement /f stuck command from hcf 2015-05-12 23:16:47 -04:00
Nick Porillo
aeef4d69c2 Fix last seen variable 2015-05-12 23:14:51 -04:00
Nick Porillo
6921dd1796 Fully configurable /f help
defaults to legacy /f help
implements hcf's configurable /f help system
2015-05-12 22:09:52 -04:00
Nick Porillo
46f4f3b7ac Fix variable typo
{lastSeen} is what we should use as it is legacy.
2015-05-12 22:05:32 -04:00
Nick Porillo
a068583678 Add default faction description TL
implemented from hcf with love <3
2015-05-12 21:49:27 -04:00
Nick Porillo
ab6a19e436 Fully configurable /f list
Implement the configurable f list feature from HCF
2015-05-12 21:47:22 -04:00
Nick Porillo
44542261ae Variable overhaul and configurable /f show 2015-05-12 21:34:00 -04:00
Nick Porillo
dbba8c055c Adds Faction founding date
..but does not implement it. Future commit will need to add this to /f
show.
2015-05-12 12:20:11 -04:00
Nick Porillo
362bb55a0f Fix relation limit glitch
Hand merged from HCF. Fixes issue where factions could exceed the max
relation setting in config.
2015-05-12 12:13:30 -04:00
Nick Porillo
cb0043600d Adds LiquidFlow exploit handling
“hand” merged from HCF. Adds option in conf.json that defaults to false
which if enabled will prevent liquid from flowing between into other
factions if it shouldn’t.
2015-05-12 12:08:42 -04:00
drtshock
2b0638f54f Pull out null check because console can have null faction. Fixes #375. 2015-05-07 10:39:04 -05:00
drtshock
8af57197ce Remove errant format specifier. Resolves #301.
Bumping to .16-SNAPSHOT so I can post this to spigot and then not deal with this anymore.
2015-05-02 21:04:35 -05:00
drtshock
57c0c9fd09 Only clear warps if faction is normal and not null. 2015-04-26 00:03:35 -05:00
drtshock
9076e780cf Add method to get all claims for a given faction. 2015-04-26 00:02:30 -05:00
drtshock
d0b514eff6 Fix some lag with f show. Remove offline permission lookups.
The lookup was locking up my server on almost any f show executions. It's just not worth it.
2015-04-25 19:15:54 -05:00
drtshock
41d0195c9e Remove unused value. 2015-04-25 14:25:17 -05:00
drtshock
c3ac0cf1ea Permission for not losing power while offline. 2015-04-22 08:33:43 -05:00
eueln
8354c95a14 Use getOfflinePlayer(UUID) when retrieving groups. Fixes #361
We were previously using getOfflinePlayer(String), which was not only
blocking, but also being rate limited
2015-04-14 15:44:14 -04:00
Evan Lindsay
7b522be2c7 Remove duplicate message for land/power/maxpower 2015-03-31 03:14:20 -07:00
Evan Lindsay
f5b3628bc4 Fix IllegalStateException due to creating a FancyMessage with no args constructor resulting in first MessagePart having no text. 2015-03-31 02:43:05 -07:00
Evan Lindsay
3c23e1078d Check if vault has group support in case no permission plugin is found or used permission plugin does not support groups 2015-03-30 21:01:23 -05:00
drtshock
ced36df08f Null check when sending scoreboard. Resolves #328. 2015-03-18 08:29:36 -05:00
drtshock
c3452c97aa Add null check before toggling scoreboard. 2015-03-09 23:44:34 -05:00
vemacs
ffa7872145 fix plugin loading 2015-03-07 06:13:50 -05:00
drtshock
981822f89d Merge branch 'fix/vault-perms' of https://github.com/mrlolethan/Factions into 1.6.x 2015-03-06 16:44:39 -07:00
drtshock
6d6b63ba19 Merge branch '1.6.x' of https://github.com/vemacs/Factions into vemacs 2015-03-06 16:35:19 -07:00
drtshock
3933e135c1 Don't set sidebar visibility if scoreboard is disabled in the config. Resolves #298. 2015-03-06 16:24:21 -07:00
vemacs
1ea6dbe12d Fix one type checking warning 2015-03-05 00:16:57 -05:00
vemacs
7fd590fc75 Add ToggleAllianceChat command (sorry I couldn't think of a shorter name, but this is extremely useful for YouTubers) 2015-03-04 23:55:46 -05:00
vemacs
50e0bd87a6 Merge remote-tracking branch 'upstream/1.6.x' into 1.6.x 2015-03-04 23:37:39 -05:00
mrlolethan
74fb2c8b7d Check for null rsp when loading Vault perms.
Also replace tabs with spaces.
2015-03-02 17:54:46 -03:30
mrlolethan
e10239f686 Fix NoClassDefFoundError being thrown on enable when Vault isn't loaded. 2015-03-01 13:14:10 -03:30
drtshock
607be6b8fb Merge t00ths branch. 2015-02-26 08:59:00 -06:00
vemacs
4484eae5b8 add API to ignore alliance chat 2015-02-25 07:38:03 -07:00
mrlolethan
d88332c06a Remove unused territoryShieldFactor in Conf.json. 2015-02-23 16:07:49 -03:30
mrlolethan
c7d9e6b92c Cleanup unnecessary in-house Cancellable#isCancelled checks.
Use the ignoreCancelled EventHandler annotation parameter instead.
2015-02-23 16:03:23 -03:30
eueln
1daf79c6c3 Fix MemoryBoard#hasFactionWithin implementation
It was previously only checking for factions diagonally within the
designated radius
2015-02-20 17:08:29 -06:00