mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 02:19:41 -05:00
Added support for an update on load feature for plugins. Thanks Raphfrk!
Any files placed in the new (optional) update folder are automatically copied into the plugins directory the next time a reload happens. This allows safe updating of the plugin .jar files. By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
1 parent
5b05f71501
commit
d6f44121b1
3 files changed
+83
-1
No files matched your search
@@ -83,6 +83,14 @@ public interface Server {
|
||||
*/
|
||||
public int broadcastMessage(String message);
|
||||
|
||||
/**
|
||||
* Gets the name of the update folder. The update folder is used to safely update
|
||||
* plugins at the right moment on a plugin load.
|
||||
*
|
||||
* @return The name of the update folder
|
||||
*/
|
||||
public String getUpdateFolder();
|
||||
|
||||
/**
|
||||
* Gets a player object by the given username
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user