Commit graph

59 commits

Author SHA1 Message Date
isokissa3
ee6db3c153 Release 1.4.3 2020-01-31 03:05:14 +02:00
isokissa3
3b55c219f8 Make glide have seprate forced value, closes #23 2020-01-31 02:26:22 +02:00
isokissa3
2df13dcc81 Do not show effect particles by default, allow overriding this 2020-01-31 01:00:50 +02:00
Joni
d68263ac3a
Merge pull request #85 from jacky8399/master
Fix stopSound
2019-08-15 20:31:04 +03:00
0u0
7648a0f8b6
Fix stopSound 2019-08-13 16:03:34 +08:00
isokissa3
dc8cb8459a Hacky fix for chunk-unload flag on 1.14 server 2019-08-05 22:26:15 +03:00
isokissa3
1327ab3112 Oops, forgot the abstract layer 2019-08-05 22:20:05 +03:00
isokissa3
78add0a96f Fixed nether-portals flag on 1.14
This needs clean up later...
2019-08-05 22:17:40 +03:00
isokissa3
be129516c7 Don't supress potion effect removal if diff amplifier 2019-06-07 19:23:06 +03:00
isokissa3
c2a0b0fd32 Fixed keep-inventory & keep-exp has no effect is set to false 2019-03-13 01:00:31 +02:00
isokissa3
c4b229e137 Corrected chunk-unload flag bitwise operator 2019-03-13 00:20:32 +02:00
isokissa3
32b5d257bb Release 4.1.2 2019-01-15 16:54:38 +02:00
isokissa3
2eaba09e0b Fixed materials looking up legacy ones first on 1.13 2018-12-11 18:04:27 +02:00
isokissa3
592ef42741 Make NPCs bypass all flags, closes #41 2018-12-11 02:50:28 +02:00
isokissa3
99a96a3c77 Made teleport-on flags teleport loop detection smarter 2018-12-11 02:44:36 +02:00
isokissa3
1addc326db PotionEffect hasParticles not supported on 1.7 2018-12-11 02:04:02 +02:00
isokissa3
7d12cdb0e1 Moved WG handlers to WG module
This fixes the error given when using unsupported version of WG and gives message saying that you are using unsupported version of WG instead
2018-12-09 23:08:39 +02:00
isokissa3
adbe09ad82 Also added potion effect types javadoc link 2018-12-09 00:08:38 +02:00
isokissa3
5c69855195 Block related flags now refer to javadocs on invalid material and errors on non block materials 2018-12-08 23:51:46 +02:00
isokissa3
eb6b63b63f Block sending remove mob effect packet to clients when updating give-effects potion effect timers
Due to how CraftBukkit internally works is that when you add dublicate potion effect type it will be ignored unless you force it. But that causes some issues as the potion effect is removed (for really short period of time) but the packet is still sent to client. After this the new potion effect timer is sent on add mob effect packet. This will cause the nausea effect to reset everytime on clients 1.9 and above. This also fixes latency issues where the different packets dont arrive excatly at the same time and causes blinking on night vision effect.

This is fixed by using ProtocolLib to cancel the sending of remove mob effect packet when we are updating those effects.

On servers with 1.13 that are missing ProtocolLib alternative method will be used
2018-11-30 22:20:32 +02:00
isokissa3
56e6dc83a0 Fixed AsyncWorldEdit plugin exception 2018-11-30 20:08:43 +02:00
isokissa3
e87f92fbe3 Uptated WG & WE versions to 7.0.0-beta-02, also test for Jenkins
Finally decided to set up Jenkins!?
2018-11-30 13:37:10 +02:00
isokissa3
4ddde4438a Updated to WG 7 Vectors, closes #57 and #58 2018-11-17 19:42:03 +02:00
isokissa3
07d03b2229 Cleaned up WG 6/7 combatiblity 2018-11-12 20:48:17 +02:00
isokissa3
a4751cd6dd Updated to WG 7 and support MC 1.13 offically
This version sitll has support for old WG 6 using some hacky stuff

Closes #43
2018-07-29 19:27:50 +03:00
isokissa3
3c3fc1f660 Fixed possible deadlock when game-mode flag is being used
When joining to region with game-mode flag set while initializing flag handlers PlayerGameModeChangeEvent is fired causing the plugin to try check the current status of fly flag to decide whenever can they fly or not. This causes issues as the intializers are being fired from the guava's LoadingCache causing the get to block, tho Guava actually prevents deadlocks and throws exception.

The workaround is to check if the session is present at the moment and if not then scheduale it for next tick, otherwise we can continue
2018-04-24 17:45:32 +03:00
isokissa3
aea7e4c3df Made give-effects timer 15s to avoid blinking 2018-04-24 16:31:10 +03:00
isokissa3
63c2c351ea __global__ region can be null 2018-04-21 01:44:02 +03:00
isokissa3
112fc75d2f Fixed error when connecting to region with effects related flags
CraftBukkit does not like when givePotionEffect or removePotionEffect is called too early on the login process
2018-04-21 00:16:46 +03:00
isokissa3
3bbee58197 Fixed bypass permission is not supported on __global__ region 2018-04-18 18:42:27 +03:00
isokissa3
5903d2769b Moved soft dependencies to own classes and fixed AsyncWorldEdit incompatibility 2018-04-14 00:30:58 +03:00
isokissa3
f2e1dc8f61 Fixed potion effect restoring wrong time 2018-04-12 23:24:02 +03:00
isokissa3
75be12e7db Godmode flag now works correctly with essentials 2018-04-12 22:08:22 +03:00
isokissa3
9edee9bf5b Removed reminder comments 2018-04-12 21:06:27 +03:00
isokissa3
395a808a34 Refactoring and clean up 2018-04-12 20:57:52 +03:00
isokissa3
ee6dafd4f2 Remove oping & deoping altogether for performance reasons 2017-07-25 19:43:49 +03:00
isokissa3
979cbf0f9b Extend the give-effects time by three seconds to stop >= 1.9 blinking the effects 2017-07-24 09:53:54 +03:00
isokissa3
d58e90ffe5 Fixed command-on-exit & console-command-on-exit executes on entry (also removed it from oping idk wth that was doing there) 2017-07-24 09:49:54 +03:00
isokissa3
0a15fa5dff Fixed opping & deopping players even when it's not needed 2017-07-23 00:29:57 +03:00
isokissa3
92216b055e Fixed console spam and added join-location flag 2017-07-15 17:19:17 +03:00
isokissa3
5f05d241d9 Forgot to move these files to correct folder 2017-07-15 00:21:13 +03:00
isokissa3
e06520f4b6 Forgot to bump the version number 2017-07-15 00:15:38 +03:00
isokissa3
40177f5e05 Clean up & bug fixes 2017-07-15 00:12:30 +03:00
isokissa3
e77ad889e8 Fixed command-on-entry flags not triggered on login & teleport 2017-01-31 01:16:48 +02:00
isokissa3
7de2fecf6b Fixed play-sounds flag dont work on __global__ region 2017-01-26 01:46:16 +02:00
isokissa3
ee37c705c2 Really fixed block-break flags 2017-01-26 01:12:03 +02:00
isokissa3
190ece604b Changed PlayerSpawnLocationEvent to PlayerLoginEvent 2017-01-26 00:32:13 +02:00
isokissa3
9218f27bb1 Added item durability flag 2017-01-22 18:31:13 +02:00
isokissa3
031a69a000 Added chunk unload flag 2017-01-22 18:20:42 +02:00
isokissa3
368f96c51e Fixed build flag & block-place and block-break incompatiblity 2017-01-22 17:21:40 +02:00