Commit Graph
167 Commits
Author SHA1 Message Date
William278 289255ec7b Use #thenApplyAsync on potentially blocking futures 2022-09-06 22:25:13 +03:00
William278 1641ad5041 Use Deque for storing TeleportRequests, fix timeout inconsistencies 2022-09-06 14:53:45 +03:00
William278 4fce90dbbe Safety: Make edithome, editwarp and sethome execute asynchronously 2022-09-06 14:16:44 +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 1c2f1134d2 API: Change #getRandomPosition to accept an OnlineUser as arg instead of their position 2022-09-06 01:00:48 +03:00
William278 af91b224a0 Add special handling for @s operator to support vanilla suggestions 2022-09-06 00:21:10 +03:00
William278 50289d9ca5 Add missing syntax error for /huskhomes command 2022-09-06 00:00:21 +03:00
William278 9e243744c2 [ci skip] Correct javadocs typo 2022-09-05 23:23:00 +03:00
William278 2c5486dd35 Make getting warp lists async due to blocking event 2022-09-05 19:06:18 +03:00
William278 4db869abf1 Spawn: Simplify getting method, refactoring, add way of getting via API 2022-09-05 16:09:20 +03:00
William278 f94f9e82db API: Add methods to update homes/warps and get them by name/uuid 2022-09-05 15:58:21 +03:00
William278 059baa174d Cleanup SavedPositionManager, remove unused name-based methods, cleaner position updating 2022-09-05 15:44:43 +03:00
William278 10b7f1629f Fetch home lists asynchronously due to new event 2022-09-05 01:04:39 +03:00
William278 a5d8b6ff35 Fix updating home privacy not working on SQLite 2022-09-05 00:54:12 +03:00
William278 7a63e8c173 Database: Rename setHome and setWarp methods to "save" for consistency 2022-09-04 23:48:39 +03:00
William278 a0c34743ef API: Add methods to get a locale from the locales file 2022-09-04 23:42:43 +03:00
William278 0ee8c97a6e Add metadata tag Maps to PositionMeta for API integrations 2022-09-04 23:38:41 +03:00
William278 5f3958bb5b Add HomeListEvent and WarpListEvent 2022-09-04 16:50:27 +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 4832d69131 Prevent home command tab completion throwing exceptions for un-cached users 2022-09-03 01:49:53 +03:00
William278 80bfcb0747 Add TeleportWarmupEvent 2022-09-02 19:36:22 +03:00
William278 d72469145b Remove debug stdout 2022-09-01 16:05:49 +03:00
William 2e04b5328c Fix request spam filter filtering against expired requests 2022-08-31 12:25:26 +01: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 800bffbbf2 Add API methods for retrieving home limits 2022-08-31 11:00:23 +01:00
William fde3736eb3 Add confirmation prompts to /delhome all and /delwarp all 2022-08-30 19:09:50 +01:00
William d3b325c56b Remove debug print 2022-08-30 18:44:47 +01:00
William b6e4fb840e Cleanup 2022-08-30 18:42:07 +01:00
William 51dcad3843 Add /delhome and /delwarp all 2022-08-30 18:41:51 +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 0cda15b0f6 Fix error on tp command with three coordinate arguments 2022-08-30 12:27:28 +01:00
William 54adc3daaa Adjust info link 2022-08-30 01:14:37 +01:00
William f32082a8bf Make the /tpahere and /tpa request sent confirmation message accurately report who the request was sent to 2022-08-29 23:30:33 +01:00
William b9d44f1108 Tweak error_invalid_world locale 2022-08-29 13:33:02 +01:00
William c7f3835ae2 Permit sending differently typed requests 2022-08-29 13:28:01 +01:00
William 1c1cbecda3 Add teleporting_offline_player message to /tpoffline 2022-08-29 13:22:43 +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 042fd757a0 Fix missing closing bracket in version checker 2022-08-29 13:16:18 +01:00
William dcc4fe68ff Add SQLite migration 2022-08-29 13:07:34 +01:00
William dc84782804 Tweak RTP engine javadoc 2022-08-29 00:33:44 +01:00
William 63f91c2c8e Tweaks, improvements & cleanup to the RandomTeleportEngine API 2022-08-29 00:32:09 +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 bee1c811b2 Start work on Migrators 2022-08-27 00:46:24 +01:00
William 59249f285a Add APIv3 and API events 2022-08-26 22:19:15 +01:00
William 0fc56dc758 More useful labels on the BlueMap hook 2022-08-26 19:10:52 +01:00
William 1cff7aaafb Add player analytics (Plan) hook 2022-08-26 19:06:35 +01:00
William 87af525e0a Start work on Pl3xMap v2 hook (incomplete for now) 2022-08-26 18:17:32 +01:00
William 46c36f3b34 Fixed blocking calls to #getPosition causing crashes in rare cases 2022-08-26 16:54:40 +01:00