Commit Graph

344 Commits

Author SHA1 Message Date
AigleDev ba86f28994 NPE fix 2019-09-12 21:20:20 +02:00
Driftay 9b68687ef7 Code Reformat 2019-09-11 06:58:46 -04:00
Driftay 2586908ce3 Factions Player Listener (Access Item Def) 2019-09-09 20:47:53 -04:00
Driftay 88f3cbb97c Made Shop Load on F Reload 2019-09-03 07:16:51 -04:00
Driftay 53a79ade27 Piston Fix 2019-09-01 09:29:25 -04:00
Driftay 72f76aeb71 Check System Added and Massive Reformat 2019-08-24 13:18:50 -04:00
Driftay 84f4e0f732 Essentials Home Removal on Player Leave 2019-08-24 12:23:04 -04:00
Driftay b91d13feea NoFactionPrefix Fixed, Along with Small Enhancements! 2019-08-21 13:52:03 -04:00
Driftay f497f96b94 Formatted TnT Commands/Added Alias for Missions
And Few Code Clean Ups From Last Week
2019-08-17 15:02:38 -04:00
Driftay ac85687258 Fixed Econ Format, Added Multiple Placeholders, Updated Pom. 2019-08-06 08:01:09 -04:00
Driftay f2892fdef3 Main Class Renamed and Instance Method 2019-08-02 17:01:33 -04:00
Driftay 31c50473f0 Fixed F InventorySee Bug 2019-07-31 15:17:55 -04:00
Driftay 4e53565887 [+] Added F Notifications - Disable seeing claim notifications in chat
[+] Cleaned up MemoryFPlayer
[+] Setting up for wall checking commands !
2019-07-30 02:34:56 -04:00
Driftay fab2a3bba0 F Notification, allows to not see claim notifications in chat 2019-07-30 00:31:26 -04:00
Driftay 93b5ba2db5 F Logout Added & Few Cleanups and Workaround to Fixing Default Perms 2019-07-28 05:04:39 -04:00
ProSavage 463d5b9a69 Inventoryview spam fixed on 1.14+. 2019-07-18 14:59:24 -05:00
ProSavage 3f20d67fd7 1.14 obsidian exploit patch. 2019-07-18 14:53:25 -05:00
Driftay 7233e8e819 Updates.. XMaterial added 2019-07-17 11:08:55 -04:00
Driftay 12488b198c Added a few things 2019-07-06 18:20:27 -04:00
Driftay 9d40fec03b Code Enhancements... 2019-07-03 23:24:32 -04:00
Trent e2fa19e692 Fix F inspect 2019-06-29 23:08:01 -05:00
BuildTools 28f32ec616 Added F Global 2019-06-29 16:07:48 -05:00
Driftay 4c3b8b0d18 Added F InventorySee 2019-06-29 10:20:59 -04:00
Driftay 72799966c7 Updated Code I forgot to commit 2019-06-29 03:36:31 -04:00
Driftay 2c5a501d0e Saber Factions Initiated 2019-06-28 21:49:46 -04:00
Driftay 1fd3220e5e Initial Commit 2019-06-28 16:46:45 -04:00
Driftay 7dd071340f Added Corner Command, Spam Prevent System, Members Upgrade Redone 2019-06-03 18:34:10 -04:00
Driftay 3c5d8ee050 Fixed Alts NullPointer
Setup base for Members Upgrade
2019-05-19 19:01:59 -04:00
Driftay 26a9e4eba8 Added alot 2019-05-14 22:07:59 -04:00
Driftay 8c6107859e Code Overhaul + Minor Fixes 2019-04-16 09:02:31 -04:00
Driftay dfa012b7f8 Removed Home Checking. 2019-04-07 11:01:12 -04:00
ProSavage d0c03640a6 Comment on the leader check bypass. 2019-04-05 10:25:55 -05:00
ProSavage f3f31b483a marge issue fix 2019-04-01 17:21:22 -05:00
Naman ca75e76449
Merge branch '1.6.x' into permsfix 2019-04-01 17:04:55 -05:00
ProSavage e13c60843a Added leader permission bypass for new access 2019-04-01 16:45:37 -05:00
Driftay be3eaba002 Fixed Obsidian Bug 2019-03-31 01:06:21 -04:00
Driftay 173676fa31 Fixed TNT and Obsidian Bug 2019-03-27 10:47:47 -04:00
Driftay 9bbb3b35ab Fixed Lingering Potion Event Exception 2019-03-23 01:45:14 -04:00
Driftay 88b55ea866 Fixed EventException in Essentials Home Patches 2019-03-22 23:16:51 -04:00
SvenjaReißaus 786d6be217
Added some translation for more frecuent messages. Fixes #124 2019-03-19 09:56:49 -05:00
SvenjaReißaus ba5ee1ae48
Resorted plates to see if they match on lookup 2019-03-19 00:53:05 -05:00
SvenjaReißaus 29640925eb
Added pressure plates to permission items, moved version forward 2019-03-19 00:45:42 -05:00
SvenjaReißaus 6a24b34a70
This should fix last issue 2019-03-19 00:21:11 -05:00
SvenjaReißaus c02af9207b
Using clicked material 2019-03-19 00:13:25 -05:00
SvenjaReißaus 63d3a0af76
Minor improvements 2019-03-19 00:09:49 -05:00
SvenjaReißaus 92e9ceb5de
Method to get the permission from material 2019-03-18 23:54:43 -05:00
SvenjaReißaus 7b0c4fe130
Using isSolid as the before method was not available widely 2019-03-18 23:31:42 -05:00
SvenjaReißaus 90a5f53e21
Let's try something else, to finish it up 2019-03-18 23:17:29 -05:00
SvenjaReißaus f658a6de74
Let's just use interactable items onPlayerInteract 2019-03-18 22:47:57 -05:00
SvenjaReißaus d9a8de33eb
Let's try building perms one more time 2019-03-18 22:35:15 -05:00
SvenjaReißaus 11b2eff79c
Default permission check for build on interact 2019-03-18 22:20:51 -05:00
SvenjaReißaus 4608f26975
Checking if player can build in location at interaction 2019-03-18 22:09:03 -05:00
SvenjaReißaus 62d37c061a
Canceling the useage event 2019-03-18 21:56:20 -05:00
SvenjaReißaus 2437e206b7
Catching right clicks instead of lefts 2019-03-18 21:49:37 -05:00
SvenjaReißaus 35b5724da5
Cancels the event of the interacted block 2019-03-18 21:42:42 -05:00
SvenjaReißaus ff9b125426
Not checking for physical stuff 2019-03-18 21:34:13 -05:00
SvenjaReißaus 99f4815fa8
Action non physicals 2019-03-18 21:29:11 -05:00
SvenjaReißaus 8834371931
Minor debug logs 2019-03-18 21:26:44 -05:00
SvenjaReißaus 97f63e9bc0
Scoped left click to be catched in PlayerInteract 2019-03-18 21:14:23 -05:00
SvenjaReißaus af210f706b
Attempting to fix item useage 2019-03-18 20:59:32 -05:00
SvenjaReißaus 3c109bfb0c
Deny build perms by default 2019-03-18 19:30:29 -05:00
SvenjaReißaus a7b824e964
Attempts to fix permissions 2019-03-18 19:05:30 -05:00
SvenjaReißaus 3c10b8276c
Allow the use of certain block materials, regardless of permissions. HCF feature. 2019-03-14 12:26:56 -05:00
SvenjaReißaus 0af0416235
Custom faction starting balance config in JSON 2019-03-14 08:56:09 -05:00
SvenjaReißaus 8a3198fa7e
This fixes the Permissions being bypassed. Tested and successfully passed 2019-03-13 18:11:39 -05:00
SvenjaReißaus 66fba62b0f
WIP: Not reviewed, but should fix Ownerships and Items useage bypass 2019-03-12 23:06:11 -05:00
Liz3 c6512bf316 Fixed Indents on all files using the reformat option and optimized imports 2019-03-03 04:51:21 +01:00
Drc-DEV 96fe8d059e
Fix HomeCheck (no essentials) + BONE_MEAL Material
Bypass the PlayerHomeCheck if Essentials is not installed (causes exceptions)
Fix BONE_MEAL multi-version support
2019-02-18 15:21:17 +01:00
Drc-DEV 16081752ad
Do not check for NPC Teleportation
Fixes this error: https://pastebin.com/GC2tVctc
2019-02-18 05:56:56 +01:00
David e0c3ce1094 Fix No Such Field Error 2019-02-17 21:28:07 +01:00
Driftay 5a37320397 Code Cleanup/Added Configurable option to deny and remove homes in ANY factions land.
More Soon..
2019-02-10 23:57:45 -05:00
GenialJerome 69207ac898 Protection, Placeholder and fix
Add :
- PlaceHolder %faction_name_at_location%
- Add protection with farm land
- Add protection to shulkers, to beacon, cauldron and brewing stand
- Add protection with bone meal
- Convert permission for the command

Fix :
- Console /f list
- Console /f show
- Claim with Wilderness is unclaim the land
- Dynmap players.admins and players.admins.count is for co-leader. The leader already have players.leader and a faction have one leader only

Optimization
2019-01-27 03:41:25 +01:00
ProSavage e1a1c630ad Fixed the elusive interact bug 2019-01-18 18:38:46 -06:00
Vankka 55b0e4264a Fix chat 2018-11-22 19:36:00 +02:00
Joshua Murphy a0e2149956 Multiple NullPointer Fixes With Container Permissions and Chat Fixed 2018-11-21 05:31:41 -05:00
Joshua Murphy 8af272cfdf Multiple NullPointer Fixes With Container Permissions and Chat Fixed 2018-11-21 05:25:45 -05:00
GenialJerome a59e3d9a82 Merge remote-tracking branch 'upstream/1.6.x' into 1.6.x
Merge commit writed after the fork
2018-11-21 02:28:38 +01:00
GenialJerome 5f8ea0bd19 PowerRegenEvent and optimization
- Add power regeneration event
- Change getNone(), a deprecated method, to getWilderness()
- Optimization
2018-11-20 21:01:04 +01:00
Joshua Murphy 139a28de8a Multiple Typos/Fixes From https://github.com/ProSavage/SavageFactions/issues 2018-11-20 07:37:45 -05:00
ProSavage 7a59ad4a66 Fixed all javadoc errors and regenerated them. 2018-11-19 01:34:31 -06:00
Vankka 36f7552aab Clear recipient list instead of canceling the chat message 2018-11-18 16:46:06 +02:00
ProSavage 84f1d354eb Fixed spacing in code around ! operator. 2018-11-07 10:14:42 -06:00
ProSavage b1b9bd1b73 Reformatted Code 2018-11-06 23:38:44 -06:00
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 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 4c89fff7de Version change 2018-10-17 16:32:47 -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
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 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 99a747adcb Revert "Access check updated"
This reverts commit 6eccfa84f1.
2018-09-04 18:13:50 -05:00
Svenja Reissaus 6eccfa84f1 Access check updated 2018-09-03 12:11:03 -03:00
utarwyn 4399a76089
Bug fix: item frame/armor stand protection 2018-08-30 01:36:56 +02:00
ProSavage 8fc9ed7395 Fixed all cross version material issues. 2018-08-13 00:33:40 -05:00
ProSavage de3f0c4c87 Removed all 1.13 materials 2018-08-08 23:18:38 -05:00
ProSavage d0cf88c9c6 Fixed all errors with Sevenja's new commits 2018-08-04 20:32:36 -05:00
Svenja Reissaus 5fe55afc68 Explicit permission checks and more admin bypasses 2018-08-02 14:55:21 -03:00
Svenja Reissaus d6d8031804 Only mods and higher should use Mod Chat Channel 2018-08-02 11:54:39 -03:00
ProSavage 51f157931f Fixed all compile errors ( Took forever ) 2018-07-28 00:31:58 -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 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 cfb64ea316 Mod chat issue fix. 2018-07-17 09:36:46 -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
Naman fded071136 Changed for loop to foreach / enhanced for loop 2018-07-11 10:19:22 -05: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 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 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 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 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 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 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 4531da8190 Move f perm checks up 2018-03-10 16:26:18 -08:00
_ProSavage_ fe464ba750 Added /f chat mod 2018-03-04 19:21:53 -08:00
Trent Hensler 07eb3756e4 Don't take fall damage after flying 2018-03-04 17:27:48 -08:00