Commit Graph

93 Commits

Author SHA1 Message Date
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
isokissa3 a3b551a512 Fixed players can't bypass some flags with permisisons 2017-01-22 17:09:27 +02:00
isokissa3 884d6190cc Bumped version & updated the pom 2016-12-30 02:20:17 +02:00
isokissa3 b8064708d6 Made block-place & block-break flags work smarted, changed little things 2016-12-30 02:16:52 +02:00
isokissa3 e3b75533ff Create README.md 2016-12-23 15:38:34 +02:00
isokissa3 c447ab7f43 License :) 2016-12-23 15:33:25 +02:00
isokissa3 bd299444bd Fixed worldguard depency 2016-12-23 15:25:44 +02:00
isokissa3 6dc13f349e Bump the version number 2016-12-21 16:40:18 +02:00
isokissa3 de1055bc36 Fixed god flag & gliding flag screen flickering if user is OP 2016-12-21 16:39:19 +02:00
isokissa3 09eae2ac3c Intial commit 2016-12-12 21:33:07 +02:00