Commit Graph

694 Commits

Author SHA1 Message Date
ProSavage
e9b080bc9e Made a check for tnt when disbanding. 2018-07-20 20:32:46 -05:00
ProSavage
408725c1d7 Made a Factions.disband() method into the api. 2018-07-20 11:42:47 -05:00
ProSavage
2320fe2586 If player is owner of a claim, all permissions are bypassed The order is OP -> Ownership -> Permission 2018-07-18 09:48:25 -05:00
ProSavage
da32970389 Faction truce claims now shown on map. 2018-07-17 10:19:22 -05:00
ProSavage
410e932826 Cancel tpbanner command if banners are disabled. 2018-07-17 10:07:54 -05:00
ProSavage
cfb64ea316 Mod chat issue fix. 2018-07-17 09:36:46 -05:00
ProSavage
3543030e64 /f tnt withdraw issue fix. 2018-07-17 09:26:25 -05:00
ProSavage
07d8d95969 Containers can now be accessed by default if undefined & the player is in the same faction as the container being accessed. 2018-07-17 09:03:01 -05:00
ProSavage
b0d41c032a Fixed issue with ownerclaims, players with permission can now build/destroy. 2018-07-12 11:21:53 -05:00
ProSavage
143daad9e6 F map autoupdate during flying fixed. 2018-07-12 11:11:07 -05:00
ProSavage
2426142664 Fixed the invite command permission check. 2018-07-11 16:45:55 -05:00
Naman
fded071136 Changed for loop to foreach / enhanced for loop 2018-07-11 10:19:22 -05:00
Naman
bd7b57cf5a Fixed package path for InventoryUtil 2018-07-11 09:03:47 -05:00
Naman
71a452bbca Fixed package path for InventoryUtil 2018-07-11 09:02:10 -05:00
Naman
eb288c5cdc /f vault deny perm fix 2018-07-11 08:33:43 -05:00
WhiteFoxHD
c65f908a1b
Modified Inventory saving in game
Saves the inventory contents instead of the inventory
2018-07-09 16:01:47 -04:00
WhiteFoxHD
607c443254
Switched to Base64Coder for Itemstacks 2018-07-09 15:59:19 -04:00
Naman
f70cc119df 1.7 spectator bug fixed.
Placeholderapi is no longer a requirement.
/f showclaims lag fixed
Scoreboard is now off by default, can be turned on in config.
Issue with Flight AutoEnabling when disabled has been fixed.
1.7 itemflag bug fixed
2018-06-21 14:16:55 -05:00
Naman
d20ef372fa
Revert "Bug fix: item frame/armor stand protection" 2018-05-30 19:52:16 -05:00
utarwyn
5fecc4979c Reformat code for item frames/armor stands protection 2018-05-17 18:01:05 +02:00
utarwyn
4a8721e453 Prevent usage of armor stands by default — Prevent item frames from being shot 2018-05-17 17:50:07 +02:00
utarwyn
e1f0938f59 Fix item frame/armor stand protection 2018-05-17 01:38:59 +02:00
ProSavage
1df8faf488 Spawner Perm issue fix, and Warbanners now functional again ( was broken in 1.4-BETA-1 ) 2018-05-14 10:59:23 -05:00
ProSavage
cb947404f6 Finished up some issues with inventory saving, using string builder for serialzation to improve performance. 2018-05-12 11:29:38 -05:00
ProSavage
e948f56fd2 warbanner item stack could be set higher than 1, fixed. 2018-05-11 18:13:02 -05:00
ProSavage
3ce14d2085 Finished up setbanner command and colored the meta and display name for the serialized banners 2018-05-11 18:11:02 -05:00
ProSavage
243c2d19bd 1.4-STABLE
------------------------------------------------------------------
No Enderpearls in fly fixed - The option was bugged, so if it was true it would do the opposite.
Improved /f map visuals and title!
Title fadeout time, showtime, and fadeintime options added for 1.9+ servers
Fixed Bug in /f upgrades where the slots option for exp would move the spawner instead.
Added Faction chest, an upgradable shared "enderchest" for factions to share!
Added some more entries into /f help in config.
Added Upgrade for faction chest
Banner pattern storage
------------------------------------------------------------------
2018-05-11 17:49:50 -05:00
ProSavage
de728ed55c Merge remote-tracking branch 'origin/1.6.x' into 1.6.x
# Conflicts:
#	src/main/java/com/massivecraft/factions/listeners/FactionsEntityListener.java
2018-05-11 17:48:51 -05:00
ProSavage
d95c80ae5b 1.4-STABLE
------------------------------------------------------------------
No Enderpearls in fly fixed - The option was bugged, so if it was true it would do the opposite.
Improved /f map visuals and title!
Title fadeout time, showtime, and fadeintime options added for 1.9+ servers
Fixed Bug in /f upgrades where the slots option for exp would move the spawner instead.
Added Faction chest, an upgradable shared "enderchest" for factions to share!
Added some more entries into /f help in config.
Added Upgrade for faction chest
Banner pattern storage
------------------------------------------------------------------
2018-05-11 17:47:58 -05:00
utarwyn
8e20b66307 Fix TNT explosions: refactoring 2018-05-11 19:27:21 +02:00
utarwyn
055ab7dd90 Fix TNT explosions between territories 2018-05-11 18:09:11 +02:00
ProSavage
f30cd44b54 1.3-STABLE
------------------------------------------------------------------
1.7 Support Added
- Titles disabled in 1.7
- Banners disabled in 1.7
- Itemflags disabled in 1.7 for /f warp, /f perms, and /f upgrades
/f perms GUI has been redesigned ( Reset your config.yml or Change it from the config differences )

Reset conf.json for the following.
Default color for members set to light green ( &a )
Default color for wilderness set to gray ( &7 )
------------------------------------------------------------------
2018-05-03 09:03:16 -05:00
Naman
6bf4598d57 1.2-STABLE
/f tntfill wont spam chat anymore,
I changed the tntfill_success option, so you're gonna wanna delete that to rengerate it. If you havent edited the lang.yml just delete it and restart
/f stuck wont tp players outside the border anymore.
Nametags & Tab has placeholderapi support added
use {relationcolor} and {faction} for relational color and faction ( These were already built in )
They can be edited in the lang.yml the option is default_prefix.
/f perms now has tntfill, tntbank, and vault permission options
2018-04-24 19:32:26 -05:00
Naman
ba9b3587e0 1.1.1-STABLE
/f coords - displays your coords and current world to your faction
/f showclaims - Lists all your claims in every world
/f lowpower - lists players with power under max
/f tntfill <radius> <amount> - fills tnt in a radius and amount, hooks into /f tntbank if you're a mod or higher.

Some of these commands require permissions please see the permissions page here
https://www.prosavage.net/wiki/permissions
2018-04-17 20:06:14 -05:00
Naman
aa4bbb3895 1.1.1-STABLE
/f coords - displays your coords and current world to your faction
/f showclaims - Lists all your claims in every world
/f lowpower - lists players with power under max
/f tntfill <radius> <amount> - fills tnt in a radius and amount, hooks into /f tntbank if you're a mod or higher.

Some of these commands require permissions please see the permissions page here
https://www.prosavage.net/wiki/permissions
2018-04-17 20:01:53 -05:00
Naman
6c2ca2a468 1.1-RELEASECANDIDATE-2
Scoreboard bug fixed
inspect message disable fixed
/f seechunk particle options disabled, because they were breaking if invalid.
2018-04-13 22:23:04 -05:00
Naman
175a4a6a12 1.1-RELEASECANDIDATE-2
Scoreboard bug fixed
inspect message disable fixed
2018-04-13 21:31:37 -05:00
Naman
e36927db9f 1.1-RELEASECANDIDATE-1
Made the particles in /f fly more cloud like
Changed wilderness color to Darkgreen
Added a factionless check to inspect, so itll now disable the when you try to check with no faction.
Inspect will disable upon entering combat
You cannot claim outside the worldborder anymore, the chunkbuffer is taken into account.
Particles WILL NOT appear in /vanish and in spectator mode
2018-04-13 21:05:43 -05:00
Naman
efee66071b 1.0.23
configurable enemy check radius for fly, option added in conf.json
Added a system faction check to neutral
Added a enderpearl disable while flying option to conf.json
Added my own repository to maven along with coreprotect for shading.
--Factions Inspect Added--
2018-04-08 22:13:41 -05:00
Naman
76d1bc0e9b SavageFactions 1.0.23
Ability to remove items from main menu in perms for choosing roles/relations by setting the slot to -1
Changed placeholder identifier back because hooks in many plugins broke :(
Removed debug message from warzone fly.
Changed public modifiers on relation back, as they broke the method signature.
2018-04-07 16:31:13 -05:00
Naman
f1bfe2e8c4 SavageFactions 1.0.21-BETA-3
Tweaked fly disabler, hitting mobs wont disable it.
Fly bypass permisssions logic redone
issues with safezone fly and warzone fly fixed
Fixed click to claim in f map
Changed tooltips ot one line in map because of heavy load in areas with lots of claims
option to disable banners
Kicking throwing error cause of typo in lang file.
Tnt Bank limit added.
2018-04-03 22:20:30 -05:00
Naman
009e3e715c SavageFactions 1.0.21-BETA-2
Fixed tnt message
New message for fly disable to show cooldown
Started on remaking lang file
fly will not disable when an ally, truce, or faction member hits you.
Role prefix value added to placeholderapli class
changed identifier for placeholderapi
Made 1.7 detection
Placing blocks wont throw errors anymore in 1.7.
2018-04-03 09:38:11 -05:00
Naman
12b9f94fe4 removed the iterator in fly checks.
...
2018-04-01 09:13:23 -05:00
Naman
21587db74d Iterator Fix in Fly to avoid concurrent exceptions
1.12 particle support
2018-03-31 11:46:37 -05:00
Naman
e14af238bf SavageFactions 1.0.21
fixed this error (https://pastebin.com/4gtiQPYX)
 fixed damage bug (https://pastebin.com/56JHiPYt)
 fixed (https://prnt.sc/iy4l7q) (( I think I did, I could not replicate it ))
 Added methods to check if players can fly in claim types e.g.
 "if (fplayer.canflyinsafezone()){
 //do stuff
 }"
 Autofly now enables if you have bypass permissions.
 Fixed faction members, truces, and allies being able to hit each other and disable fly
 Fixed Autofly's enable message spamming multiple times if fly is already on.
2018-03-30 21:22:06 -05:00
Naman
cdf870b782 Added Invalid Location to checkpoint
Fixed Checkpoint cooldown
Made it so you have to buy vaults from /f getvault, and buy banners from /f banner
Particle based seechunk that works when moving between chunks
Particle support for 1.7-1.12
Made fly particles mode subtle
2018-03-28 19:33:10 -05:00
Naman
3d2bf73497 Option to remove permissions from perm gui.
bStats tracking
Admins are demoted coleaders instead of mods
Changed fly for loop to iterator to avoid concurrent exceptions
2018-03-27 08:17:55 -05:00
Naman
b92202e86b Promote, kick, and admin command bugs fixed. 2018-03-26 18:42:26 -05:00
Naman
44b3de91dd adding new stuff 2018-03-26 16:43:15 -05:00
Trent Hensler
382f4c4b0c Check fly on teleport. Fixes #1099 2018-03-20 19:24:21 -07:00
Trent Hensler
1567df7311 If f perm is not set or undefined, allow server owners to define default f fly access in the conf.json. Adds #1100 2018-03-20 19:19:24 -07:00
Trent Hensler
20cd874026 Format 2018-03-20 10:08:27 -07:00
Ryan
fc3473e83a Use PlaceholderExpansion instead of EZPlaceholderHook to support relational placeholders (#1095) 2018-03-20 10:06:42 -07:00
Trent Hensler
a45833944b Allow warzone and safezone to be colored in f map 2018-03-19 23:00:47 -07:00
Trent Hensler
55c546e951 Remove debug 2018-03-18 20:38:59 -07:00
Trent Hensler
f1032e7a2e Make sure players take fall damage.
Not sure why we need to set this on join when it defaults to true. Debugged and didn't find anything modifying it otherwise. /shrug
2018-03-18 20:35:07 -07:00
Trent Hensler
bd077e8c32 Check for null or empty on homes 2018-03-18 20:17:59 -07:00
Trent Hensler
54a35929e6 Hide attributes in relation as well 2018-03-18 20:13:05 -07:00
Trent Hensler
c88e04a806 Hide attributes in role items 2018-03-18 20:10:50 -07:00
Trent Hensler
64dc70b717 Properly send title and subtitle 2018-03-18 20:07:05 -07:00
Trent Hensler
760f16a2b7 Disable claimat for now 2018-03-18 19:39:47 -07:00
Trent Hensler
a4581ac9a0 Allow all faction members to fly if f perm is undefined 2018-03-18 19:37:19 -07:00
Trent Hensler
026b33b427 Don't even load /f fly if its set to false in config. 2018-03-18 14:37:55 -07:00
Trent Hensler
587182478b Add option to delete essentials homes when players are kicked from Factions. Adds #1089.
This option is set to true by default in the config.yml for new users, users that are updating need to add delete-ess-homes: true to their config.yml to get this new option enabled.
2018-03-18 14:11:42 -07:00
Trent Hensler
1e2a6b34b4 Send titles when entering faction territory.
Allows users to pick which, if any, or all, ways of sending faction enter messages from: scoreboard, chat, and titles.
Adds new config.yml options and lang messages.
2018-03-16 10:08:19 -07:00
Trent Hensler
8950be61d1 Option to not always show chat tag.
Fixes the issue of not being able to have groups without a faction tag in their name.
2018-03-13 23:41:15 -07:00
Trent Hensler
d7646516ec Check for perms after checking if it's a server faction 2018-03-12 21:06:53 -07:00
Trent Hensler
3e83916682 Failsafe for door check 2018-03-11 19:52:25 -07:00
Trent Hensler
1ede2b35d6 Color the perm set command 2018-03-11 19:43:30 -07:00
Trent Hensler
999067a430 Allow show to be ran from console even if we can't fill in all placeholders 2018-03-11 18:31:06 -07:00
Dariasc
f85d2a0a17 Fix GSON Map Serialization (#1081)
* Add backwards compatibility for permissions that were placed in dev builds.
2018-03-11 18:29:02 -07:00
Trent Hensler
b78ff51e10 Allow console to run /f list 2018-03-11 17:59:11 -07:00
Trent Hensler
4531da8190 Move f perm checks up 2018-03-10 16:26:18 -08:00
Trent Hensler
2291554e1e Faction create event is no longer cancellable, and is called AFTER the faction is made. This allows people to hook into the event and manipulating the Faction without having a delay. And if the event was ever cancelled before, it was silent. 2018-03-09 22:08:17 -08:00
Dariasc
819cb542cd Major f perm fix; Fix sethome permission check (#1079) 2018-03-09 10:22:15 -08:00
Dariasc
693c831327 Add Admin and Permission check to /f perm (#1062)
* Remove perms Action

* Add Permission check to /f perm

* Refactor flight perm

* Add fly perm to GUI

* Remove useless perm check
2018-03-06 11:46:55 -08:00
_ProSavage_
fe464ba750 Added /f chat mod 2018-03-04 19:21:53 -08:00
Trent Hensler
f65fe27c53 Shallow copy of the map.
This is why it was setting one perm for all roles and relations.
2018-03-04 18:53:45 -08:00
Trent Hensler
97784872d2 Try harder to set flags 2018-03-04 18:48:14 -08:00
Trent Hensler
dd010333a7 Hide flags in warp gui too 2018-03-04 18:24:09 -08:00
Trent Hensler
dc59609b36 Don't show attributes on GUI items 2018-03-04 17:57:12 -08:00
Dariasc
77f7704ab4 Implement blank wilderness placeholder (#1070) 2018-03-04 17:48:13 -08:00
Trent Hensler
e95ecbd2a9 Respect canSee in online fplayer count 2018-03-04 17:45:01 -08:00
Trent Hensler
07eb3756e4 Don't take fall damage after flying 2018-03-04 17:27:48 -08:00
Trent Hensler
055adf2e9e Don't enable our own f top command if other plugin that handles it is enabled. Resolves #1066 2018-03-04 16:46:17 -08:00
Trent Hensler
f1905d04a3 factions.fly as the perm node 2018-03-04 14:16:17 -08:00
Dariasc
a90299d32e Implement /f fly (#1023) 2018-03-04 14:13:32 -08:00
Trent Hensler
aacee63255 Delete warp password when warp is deleted 2018-03-04 13:03:21 -08:00
Trent Hensler
fe51837845 Respect hidden players in f show. Resolves #1049 2018-03-04 12:53:52 -08:00
Dariasc
d6b147ef7b Add /f warp GUI (#1069)
* Add /f warp GUI

* Fix typo
2018-03-04 12:53:20 -08:00
Dariasc
a8ce60b457 Add rank check to /f ban (#1068)
* Add rank check to /f ban

* Fix incorrect f perm check at SetHome
2018-03-03 19:12:14 -08:00
Dariasc
fa007e5674 Add Role prefix placeholder (#1067) 2018-03-03 18:48:02 -08:00
Dariasc
6f55243a80 Fix NullPointer at GUI onClick() (#1064) 2018-03-03 18:39:44 -08:00
Trent Hensler
a42d4d1d50 Handle null config section to be more friendly with people upgrading 2018-03-02 19:07:34 -08:00
Trent Hensler
81a33de33a Format and check for null section 2018-03-02 13:57:36 -08:00
Dariasc
d490bb8366 F Perm GUI (#1045) 2018-03-02 13:53:01 -08:00
Trent Hensler
6af634d4e3 Check for null 2018-03-02 10:55:52 -08:00
Trent Hensler
acc41bf07a Call method, not local, for role. Fixes #1059 2018-03-02 10:54:42 -08:00
Trent Hensler
634917d4c4 Format 2018-03-01 23:32:17 -08:00
Corey Shupe
6eb7e7a558 Fixed top level permission addition.
Bug where only the last known addition to the permission map would actually be added, moved map declaration outside of nested for loop and put the permissible setting outside as well to stop ridiculous amounts of calls to it.
2018-03-01 23:29:13 -08:00
Trent Hensler
f8774bab23 Check for less than 1 2018-03-01 23:12:42 -08:00
Trent Hensler
10f2e4a977 Check for no mapheight for w/e reason 2018-03-01 22:56:42 -08:00
Trent Hensler
6cb02126f4 Check for null role.
Resolves: #1047 #1048 #1041
2018-03-01 22:15:44 -08:00
Trent Hensler
c4a56de3b7 Compile against PlayerVaultsX 2018-03-01 18:54:14 -08:00
Trent Hensler
151d38fd7b Faction Bans
Adds /f ban, /f unban, and /f banlist
Permission: factions.ban - included with factions.kithalfplayer
Also added as a /f perm that can be granted. Otherwise, defaults to faction mods.
Number of bans now shows up in f show
Banning a player will notify your faction and target player. It'll also kick the player from your faction if they are currently in it.
TODO: make /f banlist prettier
2018-02-28 20:23:37 -08:00
Lax
34fc475819
Use deprecated API for backwards compability
Fixes #1051
Fixes #1044

Web editor ain't that bad btw.
2018-02-24 18:03:19 -08:00
Trent Hensler
ca0991504b Set placeholders in main scoreboard too 2018-02-17 12:21:15 -06:00
Trent Hensler
d45b5ac612 Add placeholders to f show 2018-02-17 12:17:37 -06:00
Trent Hensler
3f1edf1096 Allow players to set titles with colors. Adds #1036.
factions.title.color permission which is included in factions.fullplayer permission subset.
2018-02-15 18:02:59 -08:00
Trent Hensler
ab7f474323 Make mapheight and width configurable 2018-02-13 10:55:03 -08:00
Trent Hensler
f29efa116d Clickable f map
* New command /f claimat world x z
* Permission: factions.claimat
* Permission is not included in factions.halfplayer or anything for now. Will need to be granted manually.
* If players don't have factions.claimat, they won't see the clickable f map
2018-02-12 18:09:02 -08:00
Trent Hensler
ea7213cbd7 Fix sethome perm check 2018-02-12 10:59:45 -08:00
Trent Hensler
a034030ba5 Fix setting perms.
Annoyingly setting them to und by default now
2018-02-11 17:38:04 -08:00
Trent Hensler
9f8c2e3905 Revert "Don't set perms to undefined by default"
This reverts commit e91fc8f15a.
2018-02-11 17:22:25 -08:00
Trent Hensler
5e7b14f132 In line compass 2018-02-10 17:35:25 -08:00
Trent Hensler
d8125eb0d2 Max mapheight is 2x default 2018-02-10 17:03:31 -08:00
Trent Hensler
9bd193df72 Separately customizable f map tooltips 2018-02-10 16:57:18 -08:00
Trent Hensler
0f6bd8eabd Fix default mapheight 2018-02-10 16:27:49 -08:00
Trent Hensler
50930d7583 Bigger /f map
Add /f mapheight <height> command to allow players to set their mapheight.
Increase default map height and width to be in line with larger values servers want
2018-02-10 16:20:13 -08:00
Trent Hensler
3c4168a1dd Missed diff 2018-02-10 16:04:05 -08:00
Trent Hensler
47f0bf1ce5 Tooltips in f map 2018-02-10 15:59:21 -08:00
Trent Hensler
e91fc8f15a Don't set perms to undefined by default 2018-02-05 21:34:55 -07:00
Trent Hensler
79410d91f1 Command to view your permissions 2018-02-05 20:46:53 -07:00
Trent Hensler
41bdc25441 Fix permission persistence 2018-02-05 20:46:43 -07:00
Trent Hensler
32b13befce Add container f perm 2018-02-03 14:08:21 -08:00
Trent Hensler
1b088ccd54 Set warp and f warp f perms 2018-02-03 13:04:21 -08:00
Trent Hensler
ad10222c2d Withdraw f perm 2018-02-03 13:01:25 -08:00
Trent Hensler
925014bd60 f perm for kick 2018-02-03 12:59:05 -08:00
Trent Hensler
baea59a1cd F perm for invite and sethome 2018-02-03 12:56:16 -08:00
Trent Hensler
3eda8750cc Format 2018-02-03 12:50:12 -08:00
Trent Hensler
182022fe5f Check for f perm in building 2018-02-03 12:49:04 -08:00
Trent Hensler
9384b0faa6 Check for null 2018-02-03 12:38:36 -08:00
Trent Hensler
249770d2cd Add Permissable interface for f perm compatibility.
Allows Roles and Relations to be permissable, so we can set f perms for both of those in the same map.
2018-02-03 12:33:28 -08:00
Trent Hensler
9e8205b5e2 Work with PlayerVaultsX 2018-01-31 17:03:55 -08:00
Trent Hensler
8484f92030 Use Lang for roles 2018-01-31 16:49:19 -08:00
Trent Hensler
9f08e6580b Fix some other f perm checks 2018-01-20 16:53:09 -08:00
Trent Hensler
246b93bda9 Allow null instead of throwing exception. Fixes #1008 2018-01-20 16:50:38 -08:00
Trent Hensler
c465d0c9d4 Add suppport for MVdW placeholder API 2018-01-06 16:56:43 -08:00
Trent Hensler
af9fc526d7 Allow the use of placeholders in scoreboards 2018-01-06 14:04:42 -08:00
Trent Hensler
fb0c77efc0 Add truce to tag util 2018-01-05 00:25:50 -08:00
Trent Hensler
79d4a885f8 Allow bulk setting of permissions 2018-01-04 23:16:24 -08:00
Trent Hensler
39f1bd7404 Fix permissions 2018-01-04 23:01:52 -08:00
Trent Hensler
4110fb2ef4 Fix up default role and promote commands 2018-01-04 18:10:49 -08:00
Trent Hensler
5c2abb34de Format. Haven't done this in awhile. Just sneak it in. 2018-01-04 17:40:27 -08:00
Trent Hensler
f019c4f833 Don't let them set default to admin 2018-01-04 17:38:29 -08:00
Trent Hensler
f6bd156f89 Add command to set default rank. Only used by admins.
/f defaultrole <role>
2018-01-04 17:37:23 -08:00
Trent Hensler
4db185e3ee Role updates.
* Adds recruit role below the normal role.
* Adds /f promote and demote. Access to this command defaults to moderator if not set in /f perm
* Default role is still set to recruite. Will have to /f demote to set players to that rank.
2018-01-04 17:17:30 -08:00
Trent Hensler
b84535f3ee Update log message 2018-01-04 15:45:33 -08:00
Trent Hensler
896bf489b7 Add method to deserialize the custom map 2018-01-04 15:44:39 -08:00
Trent Hensler
c367a9cb09 Make faction announcement borders configurable 2018-01-04 14:41:14 -08:00
Trent Hensler
7a4ddc6855 Actually allow setting of truce 2018-01-04 01:47:36 -08:00
Trent Hensler
687bac31db Initial f perm.
TODO:
* Add GUI for viewing and changing permissions.
* Currently no way to view access for all perms.
* Test this because I didn't.
* Finish implementation of all permissions, add more.
2018-01-04 01:36:51 -08:00
Trent Hensler
8fee985e99 Actually set factionless prefix in chat. Fixes #979 2018-01-04 00:32:25 -08:00
Trent Hensler
c3e1e6547a Consistent naming 2018-01-04 00:07:51 -08:00
Trent Hensler
e343ac69fa Add lots of placeholders 2018-01-04 00:06:30 -08:00
Trent Hensler
ff8ae7be3b Check for sender in f money ff. Fixes #993 2018-01-03 23:32:19 -08:00
Trent Hensler
769722ddb4 Add decimal format for showing money to TL file 2018-01-02 01:37:12 -08:00
Trent Hensler
fe7002f674 Initial placeholderAPI support.
Give me ideas on what else to add and I'll add it.
2017-12-30 18:44:42 -08:00
Trent Hensler
3b644cd6c3 Java 7 and make intellij happy 2017-12-19 02:18:13 -08:00
Trent Hensler
ce132ed033 Add password protected warps 2017-12-19 02:10:52 -08:00
Trent Hensler
9ed7603e38 Fix showing the faction's balance in f show instead of the player who executed it. 2017-12-19 00:37:17 -08:00
Trent Hensler
3bce7ae619
Merge pull request #761 from Techcable/fix/null-gson
Make P.gson final
2017-12-19 00:20:37 -08:00
Trent Hensler
c30137c34d
Merge pull request #904 from markhughes/1.6.x
Allow using FLocation object in canClaimForFactionAtLocation
2017-12-19 00:19:08 -08:00
Trent Hensler
190908b181
Merge pull request #921 from ExpDev07/1.6.x
Removed duplicate/unnececary code in DiscUtil.
2017-12-19 00:18:15 -08:00
Trent Hensler
0b9f2dd7dd
Merge pull request #963 from XXLuigiMario/allow-unclaimall-world
Allow unclaiming all safezones and warzones in a specific world
2017-12-19 00:16:57 -08:00
Joel Puig Rubio
08c0995741 Allow unclaiming all safezones and warzones in a specific world 2017-09-04 23:17:12 +02:00
Joel Puig Rubio
75db3fcad3 Allow admins to claim for wilderness 2017-09-04 23:14:42 +02:00
U-NIFLHEIM\Lax
9b7279af14 1.12 update 2017-06-21 22:23:08 -07:00
DoggyCode
68597da958 Removed duplicate/unnececary code in DiscUtil. 2017-04-26 16:56:17 +02:00
Mark Hughes
af7b48c522 Allow using FLocation object in canClaimForFactionAtLocation 2017-02-13 18:21:28 +11:00
Kakifrucht
208434972f Also exempt from /f list 2016-12-17 02:06:44 +01:00
Kakifrucht
04dd47dfea Add faction exemption to /f show 2016-12-17 00:16:42 +01:00
Kakifrucht
a255114808 Update to 1.11, ensure we pass a double 2016-12-13 17:08:28 +01:00
novucs
d2e3e7c18c Fire unclaim event when unclaiming
Claim events fire even with bypass mode enabled, so the same functionality should apply for unclaiming.
2016-07-25 15:07:03 +01:00
Kakifrucht
eb503fdfa8 Fix formatting codes in description 2016-06-29 19:10:07 +02:00
Techcable
b118d4d18c Make P.gson final
Before it could be null, triggering weird issues.
2016-06-25 15:23:21 -07:00
Kakifrucht
5721473a16 Only send frostwalker message every 10 seconds 2016-06-12 22:54:38 -05:00
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
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
f37e38b011 Reformat. 2015-05-12 23:17:22 -05: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