Skip to main content

Bolt datapack flow control library.

Project description

Crankshaft

GitHub Actions ReaperMC Discord Beet Discord

Flow control library for the Bolt scripting language.

from crankshaft:api import event

@event
def load():
    tellraw @a "Hello, World!"

@event
def player_join():
    tellraw @s {"text": "A diamond for you!", "color": "aqua"}
    give @s diamond

Documentation

Available over at Crankshaft Documentation

Contributing

Contributions are welcome. Make sure to first open an issue discussing a problem or a new feature before creating a pull request. This project uses poetry.

poetry install

You can run the tests with poetry run pytest -v.

poetry run pytest -v

License - MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crankshaft-1.0.0.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

crankshaft-1.0.0-py3-none-any.whl (13.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page