Interface ORBScript
-
- All Known Subinterfaces:
LoopingScript
,Script
,TaskScript
public interface ORBScript
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
nextClientTick(java.lang.Runnable runnable)
default void
nextGameTick(java.lang.Runnable runnable)
default void
nextPostClientTick(java.lang.Runnable runnable)
default void
onPause()
default void
onPlayerLogin(RSPlayer player)
default void
onPlayerLogout()
default void
onResume()
default void
onStart(java.lang.String[] args)
default void
onStop()
default void
readyForBreak()
default void
setLoopDelay(int min, int max)
default void
shouldTakeBreak(int minutes)
default void
stop()
default void
stop(java.lang.String msg)
-
-
-
Method Detail
-
onStart
default void onStart(java.lang.String[] args)
-
onPause
default void onPause()
-
onResume
default void onResume()
-
onStop
default void onStop()
-
onPlayerLogin
default void onPlayerLogin(RSPlayer player)
-
onPlayerLogout
default void onPlayerLogout()
-
setLoopDelay
default void setLoopDelay(int min, int max)
-
shouldTakeBreak
default void shouldTakeBreak(int minutes)
-
readyForBreak
default void readyForBreak()
-
stop
default void stop()
-
stop
default void stop(@Nonnull java.lang.String msg)
-
nextPostClientTick
default void nextPostClientTick(@Nonnull java.lang.Runnable runnable)
-
nextClientTick
default void nextClientTick(@Nonnull java.lang.Runnable runnable)
-
nextGameTick
default void nextGameTick(@Nonnull java.lang.Runnable runnable)
-
-