Commit graph

61 commits

Author SHA1 Message Date
217c57d8e6 Rename groupId 2025-11-02 04:09:20 +05:00
f976ff86ed Rename groupId 2025-11-02 04:08:51 +05:00
88f8f2bd92 Use Collection instead of List 2025-09-20 01:33:35 +05:00
bcdf6d510d Bump version, refactor commandframework groupId, refactor project name 2025-09-03 19:29:41 +05:00
d0by
7b49addd51 Bungee exclusions 2022-08-22 14:51:29 +02:00
Frank van der Heijden
9e54ce35da
Upgrade cloud & gradle, fix unregistering of plugins command 2022-08-21 14:00:26 +02:00
Frank van der Heijden
14cb215899
Merge pull request #48 from FrankHeijden/fix/duplicate-bungee-disable
Remove duplicate onDisable call when unloading bungee plugins
2022-04-13 23:27:50 +02:00
Frank van der Heijden
cb786ac7a0
Add loaded bungee plugins to toLoad 2022-04-13 17:05:22 +02:00
Frank van der Heijden
25813fdafd
Remove duplicate onDisable call when unloading bungee plugins 2022-04-12 13:34:45 +02:00
Frank van der Heijden
33bb6e179e
Fix plugin statuses when enabling bungee plugins 2022-04-12 13:33:07 +02:00
Frank van der Heijden
8850983a4d
Fix disabled plugins format + cleanup 2021-12-20 19:09:30 +01:00
Frank van der Heijden
7ab173af9c
Bump dependencies 2021-12-02 13:46:17 +01:00
Frank van der Heijden
a6ee92473d
explicit ServerUtils name 2021-11-25 23:50:33 +01:00
Frank van der Heijden
75c2fda749
Kotlinify + publish to repo.fvdh.dev 2021-10-05 16:44:22 +02:00
Frank van der Heijden
15e3ba306c
Fix the common module being relocated due to adventure
Making a single distributable jar with adventure is fun
2021-10-05 12:46:45 +02:00
Frank van der Heijden
44fb0e00b3
Factor out common versions in build files 2021-08-04 20:35:58 +02:00
Frank van der Heijden
870e2bcae5
Inline PluginManager#loadPlugins() call to catch load errors (bungee) 2021-08-04 18:14:01 +02:00
Frank van der Heijden
d2928b4a04
Refactor ServerUtilsConfig#set to delete existing objects at path 2021-08-04 16:25:30 +02:00
Frank van der Heijden
5200840296
Fix minimessage relocation 2021-08-04 02:32:51 +02:00
Frank van der Heijden
0478583c12
Fix -v flag on plugins command 2021-08-03 20:25:53 +02:00
Frank van der Heijden
dd99bad81c
Bungee can't differentiate between loaded and enabled 2021-08-03 20:07:50 +02:00
Frank van der Heijden
0f9c6f4041
Relocate common module for each platform
This is needed because velocity has adventure shaded. Velocity's common module does not need to shade adventure, while BungeeCord and Bukkit do have to shade the dependency in.
2021-08-03 18:28:37 +02:00
Frank van der Heijden
12b3aa5720
Avoid component newlines, instead send message per line 2021-08-03 16:41:09 +02:00
Frank van der Heijden
083012abfe
Add MiniMessage 2021-08-03 02:07:39 +02:00
Frank van der Heijden
1b4997869d
Add "depending plugin" warning 2021-07-31 00:45:48 +02:00
Frank van der Heijden
94664286e5
Fix BungeeCord multi plugin management 2021-07-30 14:19:23 +02:00
Frank van der Heijden
94e4693b5e
Add initial multi plugin management 2021-07-29 15:08:42 +02:00
Frank van der Heijden
cb78112cb3
Add Velocity Updater support 2021-07-25 00:08:56 +02:00
Frank van der Heijden
25fdec31b1
Add config migration feature 2021-07-24 18:21:30 +02:00
Frank van der Heijden
d96398f4a9
Implement velocity listeners / events 2021-07-24 14:31:45 +02:00
Frank van der Heijden
779f4785e0
Slow down on generic usage 2021-07-24 14:31:08 +02:00
Frank van der Heijden
6545d7ffac
Add initial cloud commands + refactors to common 2021-07-24 02:02:55 +02:00
Frank van der Heijden
02bee8c839
Yay code duplication for this PR, next PR implements cloud smh 2021-07-21 03:11:14 +02:00
Frank van der Heijden
4390dc2c56
Initial Velocity support 2021-07-15 17:55:44 +02:00
Frank van der Heijden
9871af44f2
Add support for latest BungeeCord/Waterfall, fixes #14 2021-05-02 11:56:45 +02:00
Phil Gibson
b51ff445dd
Fix watched plugins reloading without ensuring the file has fully uploaded first (#8)
* build: add Apache codec library

Utilise the Apache commons codec library, which has file hashing and checking functions. This will be useful for a fix on hotreloading plugins.

* feat: run tasks later on taskmanagers

Add the ability to run tasks at a later date on task managers.
This is expressed in ticks for bungeecord and bukkit, and is converted to milliseconds for bungeecord.

* feat: add method to get hash of file

Add a method to get the MD5 hash of a file.

* fix: watching plugins waits until the plugin has finished uploading

If a watched plugin is changed, it will no longer immediately reload the plugin. Instead, it will check every 10 ticks (500 milliseconds for BungeeCord) to see if the file MD5 checksum has changed.

If it hasn't, then we can presume the file upload has completed and reload the plugin.

* build: bump version to 2.5.1

* build: relocate apache codec

Relocate the Apache Codec to avoid dependency clashes

* perf: remove unnecessary task call
2021-02-03 20:36:31 +01:00
Frank van der Heijden
c787bcfe3c
Implement PluginEvent API 2021-01-30 16:40:43 +01:00
Frank van der Heijden
b46f6fbb1f
Refactor UpdaterCheckerTask
Update checking/downloading/installing can now be configured precisely and more intuitive in the config.
2021-01-30 14:41:37 +01:00
Frank van der Heijden
6ebe0073ea
Make PluginManagers independent from the main class 2021-01-16 15:34:58 +01:00
Frank van der Heijden
150a9ac86b
Fix BungeeCord's PluginClassLoader constructor reflection 2021-01-08 09:43:28 +01:00
Frank van der Heijden
8a855d6935
Refactor reflections and use MinecraftReflection 2020-12-21 00:11:31 +01:00
Frank van der Heijden
466e2659e8
Update dependencies
- Updated checkstyle
- Fixed new checkstyle issues
- Added staged feature: reloading server.properties partially
2020-12-19 15:19:23 +01:00
Frank van der Heijden
4a374c5f43
Feature: unload bukkit commands per config.yml 2020-10-12 17:37:07 +02:00
Frank van der Heijden
2c1c92fef6
Fix auto-updater failing
- Implemented a new self-reload system, which will boot up a separate plugin to load ServerUtils back up again.
2020-09-29 19:09:40 +02:00
Frank van der Heijden
f268b098a3
Add shorthand subcommand aliases 2020-07-31 01:56:17 +02:00
Frank van der Heijden
b47db98420
Close async tasks properly when shutting down 2020-07-27 01:02:50 +02:00
Frank van der Heijden
f604eaeb4d
Set permission for unwatching plugin the same as 'su watchplugin' 2020-07-22 00:11:51 +02:00
Frank van der Heijden
095cad4ed0
Unregister commands when disabling 2020-07-22 00:05:38 +02:00
Frank van der Heijden
07719cc1cc
Feature - plugin watcher, detect file changes & reload 2020-07-20 20:19:07 +02:00
Frank van der Heijden
d6b75e5c02
Close plugin class as well (BungeeCord) 2020-07-20 14:39:14 +02:00