Commit Graph
72 Commits
Author SHA1 Message Date
William278 39e0b25d46 Further refactoring, move away from using future thread pool 2023-03-04 21:38:53 +00:00
William278 4c90e5498c Networking rework, further refactoring 2023-03-02 22:51:50 +00:00
William278 1cebdac9b8 More refactor work, encapsulate classes 2023-03-02 15:00:02 +00:00
William278 3e1ec09487 Start refactor work 2023-03-01 16:23:01 +00:00
William278 eb4652d6ff Remove server auto-fetching due to instability 2023-02-11 13:12:35 +00:00
William278 0c1ad832ea networking/refactor: Rename messages to requests, use builder class 2022-12-04 23:40:49 +00:00
William 10b398b783 Fix tphere not returning an error for unresolved players 2022-11-23 01:33:52 +00:00
William b4e95b13d0 Tweak network message logic, consolidate timeout handling 2022-11-23 00:26:47 +00:00
William 9a34ecdee6 Add updateLastPosition setting to Teleport, fix back position setting cross-server 2022-11-22 23:05:58 +00:00
William278 5874bc9992 Correct error handling on player destination resolution logic 2022-11-22 18:47:04 +00:00
William278 a5ffd223cf Fix warmup set at 0 not being respected, close #260 2022-11-22 14:48:46 +00:00
William 4854f0df01 Fix teleporting_complete showing twice on x-server teleports 2022-10-26 21:15:42 +01:00
William 681a74213c Fix API back-compat; rename new result class to CompletedTeleport and move enum TeleportResult back to upper 2022-10-19 01:27:06 +01:00
William 4164f07841 TeleportResult refactor, use record and bundle resolved information, separate TeleportState enum, deprecate relevant API 2022-10-19 01:12:19 +01:00
William ca70ed4ae9 [ci skip] Adjust javadoc comments 2022-10-18 19:12:34 +01:00
William 38be0b973e Add new locales for certain teleport result types 2022-10-18 19:11:14 +01:00
William 9630e53613 Bump to v3.1, rewrite Teleport/TimedTeleport and add TeleportBuilder, expose new Teleport API, remove TeleportManager, minor database utility refactoring 2022-10-18 17:45:44 +01:00
William 98f812bcd9 Add @YamlKey specification to some fields in spawn and server files, fix #242 2022-10-02 15:40:38 +01:00
William 18a06b5a98 Fix warmup cancelled messages not respecting display position setting 2022-09-21 15:17:31 +01:00
William 39931dba04 Only set last position on standard teleports, fix #221 2022-09-19 11:09:24 +01:00
William 41ce426480 Add TITLE and SUBTITLE warmup display options, stop parsing simple inline MineDown formatting, close #210 2022-09-17 13:38:11 +01:00
William278 ea808a37d2 Add an API event to get if a user is warming up to teleport 2022-09-09 00:39:38 +03:00
William278 950a51c140 Correct unsafe future joining 2022-09-07 22:36:06 +03:00
William278 300a01a2c2 Fix #timedTeleport returning FAILED_MOVING even if the warmup was bypassed or <=0 2022-09-06 01:03:48 +03:00
William278 53b16ed75f Fix timedTeleport to run asynchronously using thenApplyAsync 2022-09-03 15:17:50 +03:00
William278 973ae90905 De-nest futures on teleport and timedTeleport, fix crash, tweak SpawnCommand logic 2022-09-03 15:08:55 +03:00
William278 80bfcb0747 Add TeleportWarmupEvent 2022-09-02 19:36:22 +03:00
William 74cb268426 Refactor #getServer() to be pre-cached from a CachedServer yaml file, no longer require fetcher, add #fetchServer(requester) 2022-08-31 11:55:47 +01:00
William 90291196f9 Fix player cache not being updated on single-server mode, make #getNetworkMessenger @NotNull 2022-08-30 18:15:26 +01:00
William b9d44f1108 Tweak error_invalid_world locale 2022-08-29 13:33:02 +01:00
William a180311662 Ensure the user's current teleport is cleared for failed cross-server teleports 2022-08-29 13:20:43 +01:00
William 5faab57d8e Fix /tp command with players, remove unhelpful TAB completion 2022-08-28 23:57:12 +01:00
William 9bdf67c250 Remove weird @s selector handling 2022-08-27 00:55:44 +01:00
William 59249f285a Add APIv3 and API events 2022-08-26 22:19:15 +01:00
William c22276908a Adjust player list caching 2022-08-25 20:07:26 +01:00
William f77d9adf27 Fix timed teleport being used in some cases where it shouldn't 2022-08-25 17:14:49 +01:00
William 6397d78767 Prevent players starting a teleport warmup while moving 2022-08-25 12:51:11 +01:00
William d368befabd Add timeout to network messages 2022-08-24 22:30:00 +01:00
William 98931c1900 Prevent sending teleport requests to self, send message on /tpall 2022-08-24 22:24:35 +01:00
William f270e3798b Adjust teleport warmup locales for consistency 2022-08-24 20:26:28 +01:00
William 7d4dc6f11d Add sound effects 2022-08-24 20:19:10 +01:00
William 7e3dab918f Refactor player location and server name fetching, prune unused locales 2022-08-23 16:19:18 +01:00
William f74f77c62d Teleport types, cross-server respawn handling 2022-08-22 23:28:46 +01:00
William 18673f3936 Add permission restricted warps 2022-08-20 18:41:30 +01:00
William 52a30c98ca Remove FAILED_UNSAFE for now 2022-08-20 18:04:08 +01:00
William cda665cc5a Fix economy actions being skippable in some circumstances 2022-08-20 14:30:49 +01:00
William 08e6569027 Add /rtp with normal distribution, economy hook, home limits, new tests, locales 2022-08-19 19:44:07 +01:00
William 0bb33c6f1e Fix wrong error message in /tpa, /tpahere, add teleport-requests.png 2022-08-18 23:51:42 +01:00
William 4b01e1bdec Add /tpa, /tpahere, /tpaccept, /tpdeny, strict teleporting (Closes #139) 2022-08-18 23:20:20 +01:00
William 11d05efcfa Add RequestManager, handle networked requests, new locales 2022-08-18 22:08:21 +01:00