GithubHelp home page GithubHelp logo

yetnt / do-every Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 823 KB

Run a command every (X) amount of seconds. Beta Apis in Experimental Features is required for this to work!

License: MIT License

TypeScript 100.00%
bedrock-addons bedrock-edition intervals minecraft minecraft-bedrock minecraft-bedrock-addon minecraft-script minecraft-script-api minecraftbedrock

do-every's Introduction

doevery!

A Minecraft Bedrock Edition Script Addon which allows execution of commands every (x) amount of seconds!

[!IMPORTANT] > In order for the mod to addon to work, you need to Enable Beta APIs in Experimental Gameplay.

[!NOTE] > There is no specific command prefix, anything that isnt a letter or number (or /), can be a prefix to use. (It has to be an alhpanumeric character)

Commands

doevery

Execute a task (command) every x amount of seconds

Aliases: de, startevery, sev

Usage:

!doevery (Task name) (Amount of time in seconds)

After using, you will asked to send the command to be executed, make sure the command does NOT have a / or else, the script will ignore it.

Example:

!doevery lightning 20
Send the chat command you want to execute every 20 seconds. (Without the slash (/) )
execute at @s run summon lightning_bolt ~ ~ ~
Task with the name (lightning) has been added!

Possible Errors

When waiting for a command to execute, if you do not say anything in 20 seconds, it will stop execution.

Of course type it out correctly.

stopevery

Stop task execution.

Aliases: se, endevery, ee

Usage:

!stopevery (Task name)

Example:

!stopevery lightning
Task has successfully been cleared!

listevery

List all the Tasks

Aliases: le, list, l, listtasks, lt

Usage:

!listevery
(Tasks)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.