Commit Graph

440 Commits

Author SHA1 Message Date
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
95fa33a488 Fix missing return statement. Was logging an error even if connection succeed. 2023-03-20 22:49:57 +01:00
46653f06ff Implements websocket client auto-reconnect 2023-03-19 23:30:36 +01:00
2bc60df11c Handle reception of ErrorPayload in WS. 2023-03-19 17:25:14 +01:00
e4a5bf0eac Don't print ClosedChannelException when we actually asked to close the connection. 2023-03-18 21:45:39 +01:00
5b40c4aabb Try a cleaner stdout/stderr -> logger redirector 2023-03-17 15:41:39 +01:00
ff5d776aa5 Better handling of Throwable in Gson 2023-03-17 10:55:58 +01:00
872746b46f Fix websocket timeout 2023-03-16 23:30:37 +01:00
ced9b0eaca Better handling of Json Exceptions in websockets 2023-03-16 22:36:58 +01:00
4ec47b5e4b Fix Gson unable to (de)serialize Throwable instance 2023-03-16 22:34:52 +01:00
2fb4775ca7 Try to fix some stuff with websocket 2023-03-16 12:29:43 +01:00
fdfb67757f Fix check Gson record support. May not work if Gson internal classes are not accessible. 2023-03-15 14:47:16 +01:00
d4ff95534f MC 1.19.4 2023-03-14 22:56:28 +01:00
fd828d600e WebSocket API 2023-03-14 16:22:50 +01:00
b6dba62fa4 Fix Gson native record support check 2023-03-12 14:28:31 +01:00
b2f5770461 Improved Json record support (Gson 2.10 natively supports it) + Added ItemStack Json support
- Extract RecordTypeAdapter to its own file + only use it if Gson library does not support it (it does since 2.10, but we are unsure of which version is actually used in paper/bungee/other)
- new ItemStackAdapter to support Json (de)serializing of Bukkit ItemStack.
2023-03-12 14:14:17 +01:00
f1ef4e1927 Makes exception types generic in ThrowableUtil 2023-03-11 12:16:09 +01:00
df46026457 Improves Json util class: ability to add TypeAdapterFactory on the fly. 2023-03-09 18:57:09 +01:00
a6bde9e191 Javadoc 2023-02-22 16:40:08 +01:00
6f310de32e Fix PlayerDataWrapper (don't store empty stacks as air stack) 2023-02-22 10:07:56 +01:00
add5d3bcd7 Fix reflect wrapper MCDataConverter 2023-02-19 19:31:02 +01:00
73d96d0bb7 Improved offline playerdata manipulation
- Ability to change player experience and score
- Handle upgrade of player data (from older Mc version)
2023-02-19 16:11:04 +01:00
bf59617e19 Refactor offline player data access
- Class that handle all Bukkit/NBT conversion of player data
- Ability to read and save the player inventory (more to come later)
2023-02-18 21:32:12 +01:00
fb4c62a0bc Ability to save offline player data 2023-02-16 12:17:59 +01:00
dd2b4467ed new StringUtil.asPatternInSentense method 2023-02-11 23:57:56 +01:00
6577367c27 Javadoc + some small refactoring 2023-02-11 23:40:36 +01:00
33b40f0cba
Cron scheduler now saves last run timestamps in a file. 2023-01-31 20:04:59 +01:00
4c31c0d6e4
Cron scheduler in Java, using the CronExpression library. 2023-01-30 23:49:40 +01:00
c5c6181e15 Allow network API to listen to specific host address 2023-01-26 10:36:52 +01:00
df34881771
AutoUpdatedBossBar: don’t throw exception when cancelling twice 2023-01-08 00:13:14 +01:00
721175f965
Refactor ItemStackBuilder#meta to use ItemStack#editMeta method 2023-01-07 17:22:09 +01:00
c5e59537a0
Ability to get all players inheriting a PermGroup 2023-01-07 17:12:21 +01:00
c4ab62c857
Fix NMS ItemStack reflection issue 2023-01-05 00:21:04 +01:00
1557de2bdf
Access offline players inventory and enderchest.
Also added various reflection wrapper API
2023-01-04 23:12:33 +01:00
a36b8ec1f2 Create directory for logs backup 2022-12-31 01:11:45 +01:00
29c1aa21c9 Removed redondant aliases in ChatConfig.PandaTheme 2022-12-31 00:17:03 +01:00
2d7e7ba9b7 Backup cleaner now fully works 2022-12-30 23:53:36 +01:00