Skip to content

server.cmd.default

Constants #

const water_permission = 'vedrock.cmd.water'

water_permission gates /water. Registered as an operator-only default from register_all so it lines up with the other command nodes.

fn register_all #

fn register_all(mut r cmd.Registry)

struct ClearCommand #

struct ClearCommand {}

fn (ClearCommand) name #

fn (c ClearCommand) name() string

fn (ClearCommand) description #

fn (c ClearCommand) description() string

fn (ClearCommand) aliases #

fn (c ClearCommand) aliases() []string

fn (ClearCommand) permission #

fn (c ClearCommand) permission() string

fn (ClearCommand) arguments #

fn (c ClearCommand) arguments() []cmd.Argument

fn (ClearCommand) execute #

fn (c ClearCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct DeopCommand #

struct DeopCommand {}

fn (DeopCommand) name #

fn (c DeopCommand) name() string

fn (DeopCommand) description #

fn (c DeopCommand) description() string

fn (DeopCommand) aliases #

fn (c DeopCommand) aliases() []string

fn (DeopCommand) permission #

fn (c DeopCommand) permission() string

fn (DeopCommand) arguments #

fn (c DeopCommand) arguments() []cmd.Argument

fn (DeopCommand) execute #

fn (c DeopCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct DifficultyCommand #

struct DifficultyCommand {}

fn (DifficultyCommand) name #

fn (c DifficultyCommand) name() string

fn (DifficultyCommand) description #

fn (c DifficultyCommand) description() string

fn (DifficultyCommand) aliases #

fn (c DifficultyCommand) aliases() []string

fn (DifficultyCommand) permission #

fn (c DifficultyCommand) permission() string

fn (DifficultyCommand) arguments #

fn (c DifficultyCommand) arguments() []cmd.Argument

fn (DifficultyCommand) execute #

fn (c DifficultyCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct GamemodeCommand #

struct GamemodeCommand {}

fn (GamemodeCommand) name #

fn (c GamemodeCommand) name() string

fn (GamemodeCommand) description #

fn (c GamemodeCommand) description() string

fn (GamemodeCommand) aliases #

fn (c GamemodeCommand) aliases() []string

fn (GamemodeCommand) permission #

fn (c GamemodeCommand) permission() string

fn (GamemodeCommand) arguments #

fn (c GamemodeCommand) arguments() []cmd.Argument

fn (GamemodeCommand) execute #

fn (c GamemodeCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct GiveCommand #

struct GiveCommand {}

fn (GiveCommand) name #

fn (c GiveCommand) name() string

fn (GiveCommand) description #

fn (c GiveCommand) description() string

fn (GiveCommand) aliases #

fn (c GiveCommand) aliases() []string

fn (GiveCommand) permission #

fn (c GiveCommand) permission() string

fn (GiveCommand) arguments #

fn (c GiveCommand) arguments() []cmd.Argument

fn (GiveCommand) execute #

fn (c GiveCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct KillCommand #

struct KillCommand {}

fn (KillCommand) name #

fn (c KillCommand) name() string

fn (KillCommand) description #

fn (c KillCommand) description() string

fn (KillCommand) aliases #

fn (c KillCommand) aliases() []string

fn (KillCommand) permission #

fn (c KillCommand) permission() string

fn (KillCommand) arguments #

fn (c KillCommand) arguments() []cmd.Argument

fn (KillCommand) execute #

fn (c KillCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct OpCommand #

struct OpCommand {}

fn (OpCommand) name #

fn (c OpCommand) name() string

fn (OpCommand) description #

fn (c OpCommand) description() string

fn (OpCommand) aliases #

fn (c OpCommand) aliases() []string

fn (OpCommand) permission #

fn (c OpCommand) permission() string

fn (OpCommand) arguments #

fn (c OpCommand) arguments() []cmd.Argument

fn (OpCommand) execute #

fn (c OpCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct SayCommand #

struct SayCommand {}

fn (SayCommand) name #

fn (c SayCommand) name() string

fn (SayCommand) description #

fn (c SayCommand) description() string

fn (SayCommand) aliases #

fn (c SayCommand) aliases() []string

fn (SayCommand) permission #

fn (c SayCommand) permission() string

fn (SayCommand) arguments #

fn (c SayCommand) arguments() []cmd.Argument

fn (SayCommand) execute #

fn (c SayCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct StatusCommand #

struct StatusCommand {}

fn (StatusCommand) name #

fn (c StatusCommand) name() string

fn (StatusCommand) description #

fn (c StatusCommand) description() string

fn (StatusCommand) aliases #

fn (c StatusCommand) aliases() []string

fn (StatusCommand) permission #

fn (c StatusCommand) permission() string

fn (StatusCommand) arguments #

fn (c StatusCommand) arguments() []cmd.Argument

fn (StatusCommand) execute #

fn (c StatusCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct TeleportCommand #

struct TeleportCommand {}

fn (TeleportCommand) name #

fn (c TeleportCommand) name() string

fn (TeleportCommand) description #

fn (c TeleportCommand) description() string

fn (TeleportCommand) aliases #

fn (c TeleportCommand) aliases() []string

fn (TeleportCommand) permission #

fn (c TeleportCommand) permission() string

fn (TeleportCommand) arguments #

fn (c TeleportCommand) arguments() []cmd.Argument

fn (TeleportCommand) execute #

fn (c TeleportCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct TitleCommand #

struct TitleCommand {}

fn (TitleCommand) name #

fn (c TitleCommand) name() string

fn (TitleCommand) description #

fn (c TitleCommand) description() string

fn (TitleCommand) aliases #

fn (c TitleCommand) aliases() []string

fn (TitleCommand) permission #

fn (c TitleCommand) permission() string

fn (TitleCommand) arguments #

fn (c TitleCommand) arguments() []cmd.Argument

fn (TitleCommand) execute #

fn (c TitleCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct VersionCommand #

struct VersionCommand {}

fn (VersionCommand) name #

fn (c VersionCommand) name() string

fn (VersionCommand) description #

fn (c VersionCommand) description() string

fn (VersionCommand) aliases #

fn (c VersionCommand) aliases() []string

fn (VersionCommand) permission #

fn (c VersionCommand) permission() string

fn (VersionCommand) arguments #

fn (c VersionCommand) arguments() []cmd.Argument

fn (VersionCommand) execute #

fn (c VersionCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct WaterCommand #

struct WaterCommand {}

WaterCommand places a water source at the sender's feet and lets it flow. Handy for testing the liquid spread engine in-world.

fn (WaterCommand) name #

fn (c WaterCommand) name() string

fn (WaterCommand) description #

fn (c WaterCommand) description() string

fn (WaterCommand) aliases #

fn (c WaterCommand) aliases() []string

fn (WaterCommand) permission #

fn (c WaterCommand) permission() string

fn (WaterCommand) arguments #

fn (c WaterCommand) arguments() []cmd.Argument

fn (WaterCommand) execute #

fn (c WaterCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct WhitelistCommand #

struct WhitelistCommand {}

fn (WhitelistCommand) name #

fn (c WhitelistCommand) name() string

fn (WhitelistCommand) description #

fn (c WhitelistCommand) description() string

fn (WhitelistCommand) aliases #

fn (c WhitelistCommand) aliases() []string

fn (WhitelistCommand) permission #

fn (c WhitelistCommand) permission() string

fn (WhitelistCommand) arguments #

fn (c WhitelistCommand) arguments() []cmd.Argument

fn (WhitelistCommand) execute #

fn (c WhitelistCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !

struct WorldCommand #

struct WorldCommand {}

fn (WorldCommand) name #

fn (c WorldCommand) name() string

fn (WorldCommand) description #

fn (c WorldCommand) description() string

fn (WorldCommand) aliases #

fn (c WorldCommand) aliases() []string

fn (WorldCommand) permission #

fn (c WorldCommand) permission() string

fn (WorldCommand) arguments #

fn (c WorldCommand) arguments() []cmd.Argument

fn (WorldCommand) execute #

fn (c WorldCommand) execute(mut sender cmd.Sender, ctx cmd.Context) !