Skip to content

reapermc/crankshaft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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