Optimisation update. Yes Thisway is still in support.
Changes
Optimised Debug Mode to have its data return function based off of one single if(), instead of multiple throughout the code. (Hopefully cutting down on a lot of extra if()-checking on the server's part)
Optimised command syntax checker. It's much better now.
Optimised block safety detector at the end of the main teleportation method so that a lot of code isn't run if it isn't needed (in the case that the teleportation destination is unsafe).
Debug Mode's data rounders and other calculations are only performed if needed (e.g: only if the Debug Mode is on), and also no extra Debug-Mode-only variables are used. (Should save RAM on the server-side)
There was a major issue with the update checker, which caused the loss of the ability to teleport, the version coming back as
null, and Thisway always beliveing it was out-of-date.
I've fixed it by using my GitHub repo. to get the latest release number, instead of using the Spigot API (Hint: SpigotMC's API is
very,
very slow...).
URGENT PATCH Some servers will return usage instead of teleporting, this is not always the case though. This patch will be rolled out whilst the bug is fixed.
THIS VERSION OF THISWAY IS 100% BROKEN AND ONLY REMAINS FOR CHANGELOG AND ARCHIVAL PURPOSES. This version will not allow you to teleport, and it will always report as being out of date - due to a null version string. I strongly advise against ever even considering using this version. Thank you.
It's finally here! 1.2!
Fixes:
Grass is now classified as a transparent block, you can teleport into it. (Not the Grass Block)
Optimised suffocation detector, speeding up teleportation.
Fixed typos.
Blocked console use of Thisway, thanks to a lapse in code. This used to cause the plugin to crash; it's all fixed now!
Made Data Storage code simpler and smaller.
Additions:
Pitch is sent to Debug Mode output.
Added an update checker! You'll now get a warning if you're not on the latest stable release of Thisway.
Release candidate 2 for v1.2
is out on GitHub now. As I said last time, only use a beta version of Thisway if you understand and accept the risks of the code.
Release 1.2's release candidate 1 can be found on
GitHub. I do not fully recommend using it unless you know what you're doing (And [hopefully] have read the source code) and you accept the risks of any bugs.