Commit graph

72 commits

Author SHA1 Message Date
aromaa 4572780827 Disable block specifig flags on WG 7, fixes #152 2020-12-13 19:36:52 +02:00
Ethan P 146505dd96
Add "fly-speed" flag. (#144)
* Add "fly-speed" flag

Similar to walk-speed, but for players who are flying.
2020-10-03 17:34:17 +03:00
isokissa3 4d084282e5 Fixed TNT not working on allow-block-place, closes #12 2020-08-15 00:56:26 +03:00
isokissa3 d9f15956cd Fix edge case with glide flag 2020-07-08 22:16:15 +03:00
isokissa3 7cd74edb2e Teleport player back when denying glide
This should help with #115
2020-04-27 04:16:56 +03:00
isokissa3 02b47224da Performance tweaks 2020-04-27 03:46:51 +03:00
isokissa3 d02d9d49e1 Back to snapshot 2020-04-24 17:45:51 +03:00
isokissa3 84e41c5b00 Release 4.1.4 2020-04-24 17:44:22 +03:00
isokissa3 3e4387d45c And maybe yes, don't include debug shit 2020-04-24 16:57:26 +03:00
isokissa3 46cc45fc77 Added bStats 2020-04-24 16:55:13 +03:00
怠惰 3fbd10e078
Code improvement and dependency update. (#106)
* [Change] pom indent to 2 spaces.

* [Update] dependencies (Essentials and ProtocolLib)

* [Change] "new Integer(s)" to "Integer.parseInt(s)"

* [Change] indent (from space to tab)
2020-02-15 23:13:19 +02:00
isokissa3 7ceace5eba Ah, yes, forgot about case sensitivity 2020-02-01 20:28:18 +02:00
isokissa3 2f1529c4c8 Back to dev 2020-01-31 03:08:10 +02:00
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