Commit Graph
137 Commits
Author SHA1 Message Date
Jason Penilla dca05a5f9a improve join/save exception handling 2023-08-20 11:44:42 -07:00
Jason b180546987 improve config management (#276)
- ConfigFactory -> ConfigManager
- gracefully handle broken primary config on reload (continue using existing config and print error)
- throw error for broken primary config on init
- as a consequence of the previous two points #primaryConfig is no longer nullable
- write back configs after reading them, ensuring new config options get added to existing configs
- require command settings to load for init to continue
2023-08-19 13:21:53 -07:00
Jason Penilla 7371f7b92e enable user manager type bstats chart 2023-08-19 11:26:44 -07:00
Jason Penilla af263020ff setup velocity bstats 2023-08-19 10:58:00 -07:00
Jason Penilla d86b93894e Clean up command DI 2023-08-12 10:17:32 -07:00
Jason Penilla ee006bc9d7 Remove unused CarbonPlayerPaper.Factory interface 2023-08-10 15:44:07 -07:00
Jason Penilla 1e20138137 Remove unchecked cast and unnecessary generic in CarbonChatInternal 2023-08-10 14:21:10 -07:00
Jason Penilla ef275b5c33 Simplify user manager hierarchy 2023-08-10 00:42:29 -07:00
Jason Penilla 10b9862c18 displayName -> nickname; renderName -> displayName 2023-08-10 00:27:43 -07:00
Jason Penilla 1267b3bd4b API cleanup & other various refactoring 2023-08-09 23:50:20 -07:00
Jason Penilla b46f6c6016 cross-server whispers & cross-server player name tab completion in commands 2023-08-08 09:23:57 -07:00
Jason Penilla 18f94a31c9 support offline players in CarbonPAPIPlaceholders 2023-08-08 09:18:14 -07:00
Jason Penilla 3385c343c9 ignore empty chats 2023-08-06 15:17:32 -07:00
Draycia 2d89dc68c4 Allow console to use chat with 'console_sender' channel format 2023-08-02 18:02:53 -07:00
Jason Penilla 7a0ff8333d Fix legacy code detection in PlaceholderAPIMiniMessageParser 2023-07-19 11:39:37 -07:00
Draycia 89894fad30 Add chat-filter and make command messages utilise prepareAndEmitChatEvent 2023-07-08 19:22:09 -07:00
Draycia d1a0cd3cc6 Fix checkstyle 2023-07-08 17:40:30 -07:00
Draycia 482d09b3f5 Fix missing licenses 2023-07-08 17:39:22 -07:00
Draycia 33e19541e0 Add nickname PAPI placeholder 2023-07-08 17:38:37 -07:00
Draycia 4ce7a46391 Finish removing relocated libraries from API 2023-07-08 17:01:25 -07:00
Draycia 09054b7332 Hide Event lib from API 2023-07-08 15:55:17 -07:00
Draycia 83e5439de2 Add permission to allow PAPI placeholders in messages
Fix chat placeholders not being properly used
2023-07-05 22:45:11 -07:00
Draycia f2fa2b5d92 Revert "Remove non-functional Chat Placeholders"
This reverts commit 403c3a3059.
2023-07-05 21:57:57 -07:00
Draycia 403c3a3059 Remove non-functional Chat Placeholders 2023-07-05 21:54:03 -07:00
Josua Parks fc1b597f03 Cleanup chat listeners and deduplicate shared code (#260) 2023-07-04 20:59:13 -07:00
Jason Penilla b8f1fa2d10 deduplicate dependency loading logic 2023-07-04 11:48:30 -07:00
Jason Penilla 4dc1a58a18 clean up CarbonPaperLoader 2023-07-04 11:20:00 -07:00
Jason 307395ce5b Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task (#259)
* Download dependencies at runtime on all platforms (not just Paper), and read dependency info from file in plugin jar generated by Gradle task

* Add maven central as fallback for paper mirror

* filter duplicate dependencies

* fix fabric runServer

* add todo

* enable hangar publishing

* - exclude unneeded deps from runtime dl
- sort deps and relocations in the list file
- other misc fixes

* move jdbi relocation

* don't log anything when we don't download or relocate any dependencies

* add back mariadb driver and download more dependencies at runtime

and other related build changes

* build cleanup

* build cleanup

* remove useless dependencies block
2023-07-04 00:24:00 -07:00
Draycia 82c22a08fa Don't throw exceptions when DSRV channels are misconfigured 2023-07-02 19:49:54 -07:00
Draycia e4adb0752a Fix custom placeholders not being used on Velocity and Paper 2023-07-02 16:38:27 -07:00
Jason Penilla 7b1826514f 6dac942 pt 2 2023-06-28 15:08:06 -07:00
Jason Penilla 3c0f9621bb fix(paper): Remove unnecessary library download
This is provided by Paper
2023-06-28 14:15:10 -07:00
Jason Penilla fc1cfd419a Clean up plugin instance access in DSRVChatHook 2023-06-27 16:55:55 -07:00
Jason Penilla 8e59a14fdb Un-promote ChannelRegistry#byCommandName from API 2023-06-24 18:04:58 -07:00
Draycia 47b1ba4d7f More cleanup 2023-06-23 13:49:11 -07:00
Draycia 85612eb94c Fix injection issue and cleanup CCProvider usage 2023-06-23 13:22:46 -07:00
Draycia 00945e5c8d Send custom chat completions on Paper 2023-06-20 14:38:34 -07:00
Jason Penilla 6add891319 misc cleanup 2023-06-17 17:09:39 -07:00
Jason 72cd93ff04 Add toggle for nickname management (#252) 2023-06-17 14:37:29 -07:00
Josua ParksandRiley Park 9cb0795379 Fix event registration and listener subscriptions (#251)
Co-authored-by: Riley Park <[email protected]>
2023-06-15 19:08:23 -07:00
Draycia fe9d330a6f Move message packet logic 2023-06-15 16:23:51 -07:00
Draycia c45bc28de0 Add missing rendering logic to channel registry 2023-06-15 16:23:51 -07:00
Draycia 14b229152e Fix channel prefixes not working 2023-06-08 20:29:19 -07:00
Draycia 76e7d4d18e Remove rendering logic from DSRVChatHook 2023-06-08 15:25:43 -07:00
Draycia 5668ad21a8 Replace event library, remove deprecated methods
And some cleanup
2023-06-06 21:04:41 -07:00
Draycia 545d09c574 Remove non-sourced resolver
Fixes a few issues causing placeholders to not work
2023-06-01 01:54:29 -07:00
Draycia d322229744 Use channelMessage and rejoin left channels on message 2023-05-28 17:48:08 -07:00
Josua Parks 6839cd0f66 Update Fabric module to support 1.19.4 (#241) 2023-05-03 18:26:33 -07:00
Jason 052c3731f5 Folia support & display name state handling improvements (#240) 2023-04-25 12:48:40 -07:00
Jason Penilla 6607ee2493 fix: Provide Identity pointers for "offline" CarbonPlayers 2023-04-23 17:50:57 -07:00