Commit Graph
19 Commits
Author SHA1 Message Date
AdrianandGitHub 2e8ef8b2ca Fire PlayerSettingsChangedEvent event when PlayerSettings are provided in the Configuration phase (#1118) 2023-10-29 14:44:04 -04:00
AdrianandGitHub f884e049c0 Log the protocol phase in case of trying to obtain a packet id not existing in the phase (#1107) 2023-10-12 21:29:04 +01:00
AdrianandGitHub eb594fc799 Implement ComponentLogger (#1022) 2023-10-12 18:44:10 +01:00
AdrianandGitHub e0cf2e211f Updated Guice to 6.0.0 and manually include updated ASM (#1016) 2023-06-02 22:12:03 -04:00
AdrianandGitHub e364e2c7d1 feat: Warn if an attempt is made to register a command with multiple interfaces implemented instead of just ignoring it (#1000) 2023-04-09 12:23:39 -04:00
AdrianandGitHub b0e8dbc419 [ci skip] Fixed build badge (#975) 2023-03-15 22:45:18 -04:00
AdrianandGitHub cc74cf855f Added MiniMessage support to built-in motd (#666) 2023-03-15 19:27:20 -04:00
AdrianandGitHub 9149ed3384 Update adventure javadoc link (#956) 2023-02-25 15:20:41 +00:00
AdrianandGitHub 8761d02def feat: Implement RegisteredServer#ping(PingOptions) (#938) 2023-01-26 00:33:07 -05:00
AdrianandGitHub 4b33d5fb8a Update Configurate to 3.7.3 (#845) 2022-08-17 20:27:45 +01:00
AdrianandGitHub fbde1ff82a Implement Documented javadoc annotation on AwaitingEvent (#837) 2022-08-14 17:16:42 -04:00
AdrianandGitHub 508c1edb3a Fixed possible IOException if forwarding-secret-file path is a directory (#743)
* Fixed possible IOException if path is a directory

* Removed File usage

* Catch possible NumberFormatException on invalid config version

!Files.exists -> Files.notExists
2022-06-18 20:06:51 -04:00
4drian3dandGitHub 74edac9642 Fixed BungeeGuard support (#739) 2022-06-09 18:08:55 +01:00
4drian3dandGitHub e45ca5f357 Improved Scheduler API (#696)
* Improved Scheduler API

- Added `Scheduler#builder(plugin)`
This method allows a more simplified builder while maintaining the main requirement of the executor plugin
- Added `Scheduler#taskByPlugin(plugin)`
Allows to obtain the tasks that a plugin has sent to execute and that are currently active
- Added `TaskBuilder#task(Consumer<SchuledTask>)`
Allows to specify a task with access to the task itself with the ability to cancel itself

* Applied requested changes

- Removed tasks builder method
- Added `Scheduler#buildTask(plugin, Consumer<ScheduledTask>)`

* Removed some unused imports

* Applied suggested change

* Fix possible test bug

* Applied more suggested changes

* Fixed tests inside tasks
2022-06-09 03:27:06 -04:00
4drian3dandGitHub acc407a6d5 Added ability to customize translations (#692)
* Added ability to customize translations

* Removed remaining usage of `Paths#get`

As of java 11 its replacement `Path#of` was created, which is called when using `Paths#get`, besides, according to documentation, it mentions that it can be deprecated at any time

And fix a minor typo in LegacyChannelIdentifier
2022-04-16 00:38:44 -04:00
4drian3dandGitHub 3cb10f6ad4 Implement missing Pointers (#694)
- Implement Player's LOCALE and DISPLAY_NAME pointers
- Implement VelocityConsole's LOCALE pointer
2022-04-16 00:37:35 -04:00
4drian3dandGitHub 2a39b24770 Shutdown command improvements (#680)
- Migrate to Brigadier usage
- Added MiniMessage support for custom shutdown reason
2022-04-08 22:56:41 -04:00
4drian3dandGitHub b8223686ea Added logPlayerConnections configuration option (#673) 2022-04-03 15:30:47 -04:00
4drian3dandGitHub 9fc4341f40 Replacement of some deprecated method (#672)
- PlainComponentSerializer -> PlainTextComponentSerializer
- BinaryTagHolder#of -> BinaryTagHolder#binaryTagHolder
2022-03-31 22:09:44 -04:00