Commit Graph

241 Commits

Author SHA1 Message Date
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 6eccfa84f137095268eb3f5238f0572f0bbea5a5.
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
Dariasc
a90299d32e Implement /f fly (#1023) 2018-03-04 14:13:32 -08:00
Dariasc
d6b147ef7b Add /f warp GUI (#1069)
* Add /f warp GUI

* Fix typo
2018-03-04 12:53:20 -08:00
Dariasc
d490bb8366 F Perm GUI (#1045) 2018-03-02 13:53:01 -08:00