Commit Graph

696 Commits

Author SHA1 Message Date
ProSavage
ebe80a0749 Made banner locations public 2018-10-24 10:46:31 -05:00
ProSavage
9689e79d86 Added ability to configure where warbanners are placed.
Basically now you can disable the warbanner placement in enemy territory or vice versa.
2018-10-24 10:30:29 -05:00
ProSavage
18140eee75 Moved banners to FactionsBlockListener 2018-10-24 10:25:05 -05:00
ProSavage
558b7bcd2c Added a null check to deserialize & serialize method for the LocationTypeAdapter. 2018-10-23 13:20:20 -05:00
ProSavage
9aeb70404d Renamed Main Class of plugin from 'P' to 'SavageFactions', along with the plugin field from 'p' to 'plugin' 2018-10-22 18:43:02 -05:00
ProSavage
80e66d7d6c Changed the enum for Leader to actually be leader and not admin. 2018-10-18 19:39:48 -05:00
ProSavage
713aab8bfa Fixed backward compatibility on 1.12 for particles. 2018-10-18 11:55:21 -05:00
ProSavage
4075c33ef5 javadocs 2018-10-17 16:48:50 -05:00
ProSavage
4c89fff7de Version change 2018-10-17 16:32:47 -05:00
ProSavage
f425663563 Buttons added to territory deny materials 2018-10-17 16:29:16 -05:00
ProSavage
f8c52285c1 Door permission fixed ( relationally ) 2018-10-17 16:16:49 -05:00
ProSavage
705a370d31 Build/Destroy permission fixed ( relationally ) 2018-10-17 16:05:26 -05:00
ProSavage
38db648044 Container permission fixed ( relationally ) 2018-10-17 15:53:10 -05:00
ProSavage
18416f4d21 Only add armor stand to territory deny usage when offline if server is 18 or higher. 2018-10-12 15:18:02 -05:00
ProSavage
1345c6850b Only add armor stand to territory deny usage if server is 18 or higher. 2018-10-12 14:10:25 -05:00
ProSavage
0dd80ccabd Removed storage of massivestats object to just an intialization. 2018-10-11 16:42:45 -05:00
ProSavage
b2bcfb12fd Disabled banner setting if mc version is 1.7 2018-10-11 16:38:01 -05:00
ProSavage
934169bf6a Created a location type adapter, and fixed f checkpoint issues 2018-10-01 17:04:40 -05:00
ProSavage
f1a42749da Disband exploit fixed 2018-10-01 16:53:10 -05:00
ProSavage
12caa1b9d4 secondary check for disbanding to make sure. 2018-09-30 15:57:16 -05:00
ProSavage
a28fe04b8a Merge remote-tracking branch 'origin/1.6.x' into 1.6.x 2018-09-30 15:49:41 -05:00
ProSavage
11f7b7511d Fixed disband issue 2018-09-30 15:48:55 -05:00
Driftay
2afae3a93f Added Ability To Grab Chunk From world in Flocation 2018-09-26 22:38:51 -04:00
Driftay
fb8837bd7d Added Grabbing Chunk From World to FLocation API 2018-09-26 22:25:47 -04:00
Driftay
fd84ae2a18 Added Grabbing Chunk From World to FLocation API 2018-09-26 22:25:33 -04:00
Driftay
1ee8089ca5 Changes Adding 2018-09-21 02:29:28 -04:00
Driftay
ed91f58dc9 Added F Paypal 2018-09-21 02:28:20 -04:00
Driftay
e580c7eee9 Revamped F Stealth 2018-09-20 16:55:19 -04:00
Naman
496ac17d39
Merge pull request #41 from utarwyn/1.6.x
Bug fix: item frame/armor stand protection #2  (again)
2018-09-11 12:57:30 -05:00
ProSavage
2adef31cf5 Secondary Check added to fly particles. 2018-09-10 10:05:16 -05:00
ProSavage
4ad062dddb Fixed all issues with F chest, and a massive increase in performance due to /f chest only serializing / deserializing on startup/shutdown instead of realtime. 2018-09-09 12:40:45 -05:00
ProSavage
9795d3c158 MultiversionMaterials Class added. 2018-09-08 20:15:57 -05:00
ProSavage
90ae1822bc Revert "WIP: Access method for commands"
This reverts commit 9c6cc187f2.
2018-09-08 17:28:09 -05:00
ProSavage
9a773702eb Revert "And I did it again"
This reverts commit 9ce8467224.
2018-09-08 17:26:50 -05:00
ProSavage
e1a51b9488 Changed parameter name for hasAccess 2018-09-04 18:33:13 -05:00
ProSavage
99a747adcb Revert "Access check updated"
This reverts commit 6eccfa84f1.
2018-09-04 18:13:50 -05:00
Svenja Reissaus
ff59fd50cc Updated check for fly permission with minor enhancements 2018-09-03 12:11:57 -03:00
Svenja Reissaus
6eccfa84f1 Access check updated 2018-09-03 12:11:03 -03:00
ProSavage
ef2ab6b4c6 Reverted MCommand because 9ce8467224 commit broke it :/ 2018-09-02 19:36:37 -05:00
ProSavage
527f825b73 Vault dependency check, if not present plugin now disables. 2018-08-31 10:04:56 -05:00
utarwyn
4399a76089
Bug fix: item frame/armor stand protection 2018-08-30 01:36:56 +02:00
ProSavage
989c190c8a Merge branch '1.6.x' of https://github.com/ProSavage/SavageFactions into 1.6.x 2018-08-28 21:08:50 -05:00
ProSavage
3b64f457bd Started on documenting the methods for the API 2018-08-28 21:08:09 -05:00
ProSavage
72746f5b4e Made some changes for javadoc generation 2018-08-28 21:07:51 -05:00
ProSavage
e31e6eca88 Refactored usage of some methods 2018-08-28 21:07:27 -05:00
Svenja Reissaus
9ce8467224 And I did it again 2018-08-28 12:06:26 -03:00
ProSavage
2410fafcc4 Added a cost per use to stealth mode! 2018-08-27 10:39:34 -05:00
ProSavage
1531efc030 Merge remote-tracking branch 'origin/1.6.x' into 1.6.x 2018-08-26 22:28:15 -05:00
ProSavage
36efd8a24e Added timeout to stealth mode! 2018-08-26 22:27:55 -05:00
Svenja Reissaus
9c6cc187f2 WIP: Access method for commands 2018-08-21 15:02:16 -03:00
ProSavage
94c4ee815a Added support for enabling flight through reload! 2018-08-20 22:55:41 -05:00
ProSavage
8b90eb97c4 Move multiversion materials setup to before Conf setup 2018-08-20 09:16:53 -05:00
ProSavage
124cd4f8ac Move multiversion materials setup to before Conf setup 2018-08-18 19:56:59 -05:00
ProSavage
855d8724eb All multiversion materials from conf now work. 2018-08-18 19:56:24 -05:00
ProSavage
075264be94 BANNER material fix 1.13 2018-08-13 00:41:29 -05:00
ProSavage
35b415130e Invert if statement for multiversion materials ( oops ) 2018-08-13 00:40:37 -05:00
ProSavage
7bfe5cef22 Refactored new multiversion SUGAR_CANE_BLOCK material. 2018-08-13 00:38:01 -05:00
ProSavage
a0d3841826 Call the setupMultiversionMaterials method in Enable method. 2018-08-13 00:36:12 -05:00
ProSavage
8fc9ed7395 Fixed all cross version material issues. 2018-08-13 00:33:40 -05:00
ProSavage
b58410e8ab Removed random cake declaration 2018-08-13 00:06:19 -05:00
ProSavage
9216bdbb48 Crop growth material fixes for 1.13! 2018-08-13 00:02:03 -05:00
ProSavage
70e069dc05 Banners now work in 1.7-1.13 ( Tested ) 2018-08-11 01:14:18 -05:00
ProSavage
de3f0c4c87 Removed all 1.13 materials 2018-08-08 23:18:38 -05:00
ProSavage
207c4daab1 f perms now works in 1.13 2018-08-05 01:05:14 -05:00
ProSavage
397775b3ed Merge remote-tracking branch 'origin/1.6.x' into 1.6.x 2018-08-05 00:08:56 -05:00
ProSavage
cea5048148 Fixed logger message for replace in config method. 2018-08-05 00:08:48 -05:00
Svenja Reissaus
38a693b85e Fixed #36 minor typos 2018-08-05 02:07:26 -03:00
Svenja Reissaus
4c80ade48d Fixed #34 disabled banner alert 2018-08-05 01:52:12 -03:00
ProSavage
7babd6c1cb Removed Debug Message 2018-08-04 21:47:06 -05:00
ProSavage
f18fd50d15 Made Config converter to change legacy items to new items 2018-08-04 21:41:31 -05:00
ProSavage
d0cf88c9c6 Fixed all errors with Sevenja's new commits 2018-08-04 20:32:36 -05:00
Svenja Reissaus
640871d696 Double check to prevent /f upgrades items showing up when disabled 2018-08-02 15:05:39 -03:00
Svenja Reissaus
5fe55afc68 Explicit permission checks and more admin bypasses 2018-08-02 14:55:21 -03:00
Svenja Reissaus
85de278dc9 Fixed permission check for /f vault 2018-08-02 13:57:57 -03:00
Svenja Reissaus
40a0d72270 Added /f home permission added to keep players from complaining 2018-08-02 12:33:51 -03:00
Naman
6d397b1cae
Update CmdFly.java 2018-08-02 10:16:55 -05:00
Svenja Reissaus
ea861d304d Fixed no confirmation message when inviting offline players 2018-08-02 11:55:47 -03:00
Svenja Reissaus
d6d8031804 Only mods and higher should use Mod Chat Channel 2018-08-02 11:54:39 -03:00
Svenja Reissaus
1ac9c123d0 Improved recent Stealth feature to use local variables (performance enchancing) 2018-08-02 11:32:53 -03:00
Svenja Reissaus
6a3b4db565 Added config to allow vanished players to hide particles for moderation purposes 2018-08-02 11:29:41 -03:00
Svenja Reissaus
cbb7d478a7 Fixed re invite spam to already invited member and enhanced kick permission check 2018-08-02 11:13:16 -03:00
Driftay
8deb02f29f Merge branch '1.6.x' of https://github.com/ProSavage/SavageFactions into 1.6.x 2018-07-30 12:05:56 -04:00
Driftay
751f46e57e F Stealth Added
Signed-off-by: Driftay <saser_elite@yahoo.com>
2018-07-30 12:05:28 -04:00
ProSavage
a7275278e4 Fixed seechunk particles being seen by all players & their locations. 2018-07-29 23:58:07 -05:00
ProSavage
bab7a2361d 1.13 see chunk particles are now functional 2018-07-29 23:53:20 -05:00
ProSavage
e7e3e14825 1.13 now has working particles. 2018-07-29 14:34:40 -05:00
ProSavage
51f157931f Fixed all compile errors ( Took forever ) 2018-07-28 00:31:58 -05:00
ProSavage
403a086ea7 Super basic /f top which organizes factions by money etc. Just so people dont complain. 2018-07-26 18:40:27 -05:00
ProSavage
a2f44ffd74 Removed claim from /f perms as the permission is ambiguous with the territory permission 2018-07-26 18:19:56 -05:00
ProSavage
afc4dbf9b8 /f warunclaimall now actually sends a message on success. 2018-07-26 18:17:24 -05:00
ProSavage
f915507a18 Action GUI can now be 6 rows long, surprised no one noticed this bug. 2018-07-26 18:07:55 -05:00
ProSavage
d11a529704 Vault now checks for hoppers & chests nearby even if you're holding multiple vaults. 2018-07-26 13:22:16 -05:00
ProSavage
e6559a439a Added protection to the vault where hoppers cannot be placed to use the vault as infinite storage. 2018-07-26 12:16:28 -05:00
ProSavage
c368e19e17 Moved the vault place method to correct class 2018-07-26 10:35:56 -05:00
ProSavage
f3d6669310 Placeholderapi placeholder parsing for Titles when moving between land 2018-07-25 15:10:37 -05:00
ProSavage
cb6f0a8104 Fix claiming check bug caused by Sevenja's Pull Request 2018-07-25 15:09:55 -05:00
ProSavage
8bde15d864 Added a warning in startup when a BETA release is used. 2018-07-23 12:48:06 -05:00
ProSavage
f0e99674c6 Moved one of the checks in Exp Upgrade up to improve performance 2018-07-23 12:00:01 -05:00
ProSavage
6a1072b935 Base64 serializer redone to support mob spawners & should support ALL NBT 2018-07-22 21:38:35 -05:00
ProSavage
df9506ca9c /f unclaim fix 2018-07-22 11:33:53 -05:00
ProSavage
c5f06f910a /f tnt take inventory space issue fix for new tnt checks 2018-07-20 20:34:33 -05:00
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