Added events

This commit is contained in:
lieght
2025-09-10 15:27:45 +02:00
parent bd8bd1a247
commit 349c12a778
2 changed files with 28 additions and 1 deletions

View File

@@ -18,6 +18,26 @@ public class Events {
*/
public record OnChangingServerBackend(Server.ServerBackend backend) {}
/**
* Triggers changing the server ip.
*/
public record changeServerIp(String ip) {}
/**
* Triggers on changing the server ip.
*/
public record OnChangingServerIp(String ip) {}
/**
* Triggers changing the server port.
*/
public record changeServerPort(String port) {}
/**
* Triggers on changing the server port.
*/
public record OnChangingServerPort(String port) {}
}
}