Commit Graph

448 Commits

Author SHA1 Message Date
fdcfaf071a Proposer serialization of itemStack and other Serializable stuff in Bukkit API 2023-10-07 19:42:26 +02:00
da1ee9d882 Trying to fix ItemStack Gson adapter 2023-09-24 16:17:09 +02:00
455226b762 1.20.2 2023-09-22 00:34:57 +02:00
3ee806c1ea Ability to clean up unused loaded temporary game worlds 2023-09-03 00:10:05 +02:00
69a4f2fe6f Clear player permission cache when changing permissions through Vault API 2023-08-29 13:59:27 +02:00
62949948e1 Some more javadoc 2023-08-27 17:28:12 +02:00
bd3bea8381 Some refactoring in pandalib-util 2023-08-27 13:37:17 +02:00
463a4d7e78 New method #isSet() in Lazy and LazyOrException class 2023-08-27 01:48:09 +02:00
84298b08b3 Added TriConsumerException 2023-08-25 17:09:21 +02:00
9ac7a98257 SQLElement: better error handling of the get method + A nullable field that is not set will return null instead of throwing an exception. 2023-08-24 12:40:38 +02:00
f16389d33d Upgrade GUIHotBar: add ability to unregister the event listeners of the hotbar + optional cleanup of inventory on player removal 2023-08-24 01:21:27 +02:00
a49061eb9f Removed the whole stop method synchronization block in CLIApplication. Not necessary due to the other one at the beginning of the method. 2023-08-17 18:04:07 +02:00
378e79b8ad Use newer version of Gson for chat API.
The Gson version should expand to all dependant modules and applications
2023-08-16 23:01:38 +02:00
ae634ab560 Better handling of IOException on client websocket when trying to send a payload. 2023-08-15 00:57:49 +02:00
45ab550d06 Ability to get min and max of AABBBlock 2023-08-14 02:10:59 +02:00
0fcd02c80d Permission system now provides a default player
The default player has a fixed name and uuid that should never collide with existing players.
It will never have self permission data, and it will always be part of the default groups.

It is useful for anonymous permission test (for instance, listing only the servers that are publicly visible for the ping server list)
2023-08-14 01:49:56 +02:00
2d950117d3 New BlockSet super-interface for AABBBlock and AABBBlockGroup + reorganized classes related to geometry to a new package 2023-08-14 00:43:01 +02:00
2f476ce8f2 Relative teleport API in PaperOnlinePlayer 2023-08-14 00:38:05 +02:00
75e292b1b8 Fixing big mistake in SchedulerUtil.runOnServerThread(). Provided Runnable was run twice if the method was called from Server Thread. 2023-08-03 23:32:29 +02:00
2969d51f72 Don't use random UUID for custom player heads 2023-07-29 13:39:13 +02:00
c0e0097b7b Some static values in PaperOnlinePlayer about default player movement speed 2023-07-28 22:56:25 +02:00
d047be35d9 Custom Bukkit event ServerStopEvent 2023-07-15 16:25:26 +02:00
5fb17be4c7 Add a method in BackupManager to check if a backup is currently running. 2023-07-14 19:07:02 +02:00
d7bb56e0b2 Fix CLIApplication shutdown hook 2023-07-14 16:26:30 +02:00
9e7d89cf70 Reimplement ChatColorGradient.pickColorAt() to make it less error-prone 2023-07-04 23:15:06 +02:00
79e4bb90f7 Inject permissions system into Vault on plugin load 2023-06-25 16:32:46 +02:00
736e0f0c23 PermissionsInjectorVault registers Vault services on highest priority and checks services access after server starts. 2023-06-25 14:52:02 +02:00
7481b12111 Fix FileUtils.copy not accepting regular file as source. Also made it handle directory merging. 2023-06-25 13:17:46 +02:00
7c4fd78680 Update some dependencies + Gson now natively supports record 2023-06-24 16:28:53 +02:00
8c25fb0dd1 Build against paper API 1.20 2023-06-24 15:53:26 +02:00
d5a2aa1c30 Completed implementation of PaperClientOptions 2023-06-23 23:43:16 +02:00
7d5060d09b Improved ItemStackBuilder + removed GUIInventory unused methods 2023-06-22 21:52:02 +02:00
a46e066669 also new ChatUtil.join() method 2023-06-20 21:32:52 +02:00
a4b33a1af7 new ChatUtil.joinGrammatically() method, using components 2023-06-20 18:38:07 +02:00
5edd8cdfec Various code simplification/fixes and a lot of typo/grammar fixes (may brake some stuff) 2023-06-20 00:15:46 +02:00
c984b63cee Removed never used NET library 2023-06-18 00:36:57 +02:00
69b72ef90d made ProtocolVersion comparable 2023-06-17 13:16:22 +02:00
555f5ab65c Added ProtocolVersion equals and hashcode 2023-06-17 11:53:34 +02:00
9f9fb55726 Added ProtocolVersion.allKnownProtocolVersions() method 2023-06-17 11:43:37 +02:00
98d1a21aab sendChatMessage() for online players 2023-06-17 10:56:58 +02:00
d59ae22970 Deprecation, deprecated, ... 2023-06-16 19:14:22 +02:00
e6fc31e5ca Improved ProtocolVersion + mcversion.json file automatically updated at build time from Pandacube API 2023-06-16 17:28:25 +02:00
70c4d59fdc Fix CronScheduler skipping 1 scheduled time after application restart 2023-06-15 23:30:08 +02:00
edd5b06a46 Deprecate old MinecraftVersion enum and create new ProtocolVersion class which automatically update the version list on startup 2023-06-15 15:08:18 +02:00
436c9b9381 MC 1.20.1 (same protocol version as 1.20) 2023-06-12 16:38:50 +02:00
f3f616cdca Better detection of closed client side WS connection (to reconnect if necessary) 2023-06-08 12:07:49 +02:00
20643fec62 Use Bungeecord version 1.20 2023-06-08 11:07:29 +02:00
c79d9b8006 MC 1.20 2023-06-08 10:19:38 +02:00
61fb7b3142 Added getServerPermissionName() for OnlinePlayer 2023-05-13 13:35:14 +02:00
f0a9fca952 Create backup directory if needed 2023-05-10 12:47:47 +02:00