Commit Graph

526 Commits

Author SHA1 Message Date
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
913d5d91dd Reduce code duplication of DailyLogRotateFileHandler + generalize logs compression 2023-05-10 10:26:02 +02:00
1cd3749d7d Update ItemStackAdapter to try to handle ItemStack from newer MC version 2023-05-09 15:43:01 +02:00
e640cbb1a3 Fix MCDataConverter with new reflect wrapper stuff 2023-05-09 14:12:04 +02:00
edd4e89a6e Update WorldVersion/DataVersion reflect wrappers for new paper version 2023-05-09 12:30:50 +02:00
9b83f9699c Reflect wrapper initialization does not crash anymore on the first exception. It accumulates all the exceptions and shows everything at the end. 2023-05-09 11:57:05 +02:00
3e0297c8af Fix bamboo block reflect wrapper 2023-05-08 22:47:11 +02:00
df8dbe1e61 Fix reflect wrappers due to changes in NMS about DamageSources 2023-05-08 22:32:40 +02:00
d023bcb706 Bump paper version to 1.19.4.
Seems to compile, but reflection API may not work as is.
2023-05-08 18:31:27 +02:00
448ee6c62a CLI console command sender instance is now public 2023-05-04 16:34:17 +02:00
efcb155b3d Improved pandalib-cli
- Custom class to represent command sender
- Abstract class to use as a base for CLI application main class
- /stop and /admin command that are common to every CLI apps
2023-04-23 01:27:25 +02:00
d5c9876734 Plugins using Vault to interact with Pandalib permission system can now add and remove permission to specific players on server and world
+ added warning messages when plugin tries to manipulate player's groups and group's permissions
2023-04-16 23:49:41 +02:00
f036c22a56 Fix WS log message 2023-04-11 19:17:54 +02:00
15982cb837 Weird stuff with CLI due to invisible \r character 2023-04-10 19:54:11 +02:00
0453a72587 Supports null return values from AbstractWS#getRemoteIdentifier() in WS log messages 2023-04-10 19:39:07 +02:00
ff954a3903 Various code cleanup. 2023-04-10 19:17:18 +02:00
ba896e689a Fix deprecation in ItemStackBuilder 2023-04-10 19:16:42 +02:00
4259e5eccd Handle reception of partial data in WS client. 2023-04-10 19:15:58 +02:00
5b43aed0b4 Stop using deprecated Bungee ChatColor in BukkitChatColorUtil 2023-03-23 19:00:51 +01:00
cafb220768 Wait 1s before reconnect websocket. 2023-03-23 18:53:32 +01:00
544abd218c Un chouilla of logs 2023-03-21 23:37:27 +01:00
55556b0714 Handle CompletionException in websocket client 2023-03-21 19:20:29 +01:00
87b9ffcc37 Another websocket client fix: the socket reference is not set soon enough + add some more error handling 2023-03-20 23:10:52 +01:00