Package com.sk89q.worldedit.command
Class HistorySubCommands
java.lang.Object
com.sk89q.worldedit.command.HistorySubCommands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearHistory
(Actor actor, LocalSession session) void
distr
(Player player, LocalSession session, RollbackDatabase database, Arguments arguments, UUID other, Integer index, Integer page) void
find
(Player player, World world, RollbackDatabase database, Arguments arguments, UUID other, @Range(from=0L,to=2147483647L) Integer radius, Long timeDiff, Integer page) void
void
list
(Player player, LocalSession session, RollbackDatabase database, Arguments arguments, UUID other, Integer page) void
rerun
(Player player, World world, RollbackDatabase database, UUID other, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int radius, long timeDiff) void
rollback
(Player player, World world, RollbackDatabase database, UUID other, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int radius, long timeDiff, boolean restore) void
-
Constructor Details
-
HistorySubCommands
-
-
Method Details
-
rerun
public void rerun(Player player, World world, RollbackDatabase database, @ArgFlag(name='u',desc="String user",def="me") UUID other, @ArgFlag(name='r',def="0",desc="radius") @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int radius, @ArgFlag(name='t',desc="Time e.g. 20s",def="0") long timeDiff) throws WorldEditException - Throws:
WorldEditException
-
rollback
public void rollback(Player player, World world, RollbackDatabase database, @ArgFlag(name='u',desc="String user",def="") UUID other, @ArgFlag(name='r',def="0",desc="radius") @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int radius, @ArgFlag(name='t',desc="Time e.g. 20s",def="0") long timeDiff, @Switch(name='f',desc="Restore instead of rollback") boolean restore) throws WorldEditException - Throws:
WorldEditException
-
importdb
- Throws:
WorldEditException
-
summary
public void summary(Player player, RollbackDatabase database, Arguments arguments, @Arg(desc="Player uuid/name") UUID other, @Arg(desc="edit index") Integer index) throws WorldEditException, ExecutionException, InterruptedException -
find
public void find(Player player, World world, RollbackDatabase database, Arguments arguments, @ArgFlag(name='u',def="",desc="String user") UUID other, @ArgFlag(name='r',def="0",desc="radius") @Range(from=0L,to=2147483647L) Integer radius, @ArgFlag(name='t',desc="Time e.g. 20s",def="0") Long timeDiff, @ArgFlag(name='p',desc="Page to view.",def="") Integer page) throws WorldEditException - Throws:
WorldEditException
-
distr
public void distr(Player player, LocalSession session, RollbackDatabase database, Arguments arguments, @Arg(desc="Player uuid/name") UUID other, @Arg(desc="edit index") Integer index, @ArgFlag(name='p',desc="Page to view.",def="") Integer page) throws ExecutionException, InterruptedException -
list
public void list(Player player, LocalSession session, RollbackDatabase database, Arguments arguments, @Arg(desc="Player uuid/name") UUID other, @ArgFlag(name='p',desc="Page to view.",def="") Integer page) -
clearHistory
-