bc-minecraft-bedrock-command
Version:
A typescript package library that handles commands for minecraft bedrock
204 lines • 12.2 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.schedule = void 0;
const parameter_type_1 = require("../../types/parameter-type");
/**The schedule command */
exports.schedule = [
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'clear', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.integer, required: true },
{ text: 'append', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.time, required: true },
{ text: 'append', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.time, required: true },
{ text: 'append', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.time, required: true },
{ text: 'append', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.integer, required: true },
{ text: 'replace', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.time, required: true },
{ text: 'replace', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.time, required: true },
{ text: 'replace', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
{ text: 'time', type: parameter_type_1.ParameterType.time, required: true },
{ text: 'replace', type: parameter_type_1.ParameterType.keyword, required: false },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'delay', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'clear', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'on_area_loaded', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'circle', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'center x', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'center y', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'center z', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'radius', type: parameter_type_1.ParameterType.integer, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'on_area_loaded', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'from x', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'from y', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'from z', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'to x', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'to y', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'to z', type: parameter_type_1.ParameterType.coordinate, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'on_area_loaded', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'add', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'tickingarea', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'name', type: parameter_type_1.ParameterType.tickingarea, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'on_area_loaded', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'clear', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: true },
],
},
{
name: 'schedule',
documentation: 'Schedules an action to be executed once an area is loaded, or after a certain amount of time.',
permission_level: 1,
parameters: [
{ text: 'schedule', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'on_area_loaded', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'clear', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'tickingarea', type: parameter_type_1.ParameterType.keyword, required: true },
{ text: 'name', type: parameter_type_1.ParameterType.tickingarea, required: true },
{ text: 'function', type: parameter_type_1.ParameterType.function, required: false },
],
},
];
//# sourceMappingURL=schedule.js.map