[ci skip] spotlessApply with the new settings

This commit is contained in:
Raven Szewczyk committed 2023-01-29 11:36:41 +00:00
1 parent 6b208b98bc
commit a309488cdf
214 files changed
+9283 -9265

No files matched your search

@@ -5,8 +5,7 @@ import minetweaker.api.event.*;
import minetweaker.util.IEventHandler;
/**
* Abstract server implementation. Implements call of which the implementation
* is already fixed by the API.
* Abstract server implementation. Implements call of which the implementation is already fixed by the API.
*
* @author Stan Hebben
*/
@@ -10,22 +10,23 @@ import stanhebben.zenscript.annotations.*;
*/
@ZenClass("minetweaker.server.IServer")
public interface IServer {
@ZenMethod
void addCommand(String name, String usage, String[] aliases, ICommandFunction function, @Optional ICommandValidator validator, @Optional ICommandTabCompletion completion);
void addCommand(String name, String usage, String[] aliases, ICommandFunction function,
@Optional ICommandValidator validator, @Optional ICommandTabCompletion completion);
@ZenMethod
void addMineTweakerCommand(String name, String[] usage, ICommandFunction function);
@ZenMethod
boolean isOp(IPlayer player);
@ZenMethod
IEventHandle onPlayerLoggedIn(IEventHandler<PlayerLoggedInEvent> ev);
@ZenMethod
IEventHandle onPlayerLoggedOut(IEventHandler<PlayerLoggedOutEvent> ev);
@ZenMethod
boolean isCommandAdded(String name);
}