Name | lodestone JSON |
Version |
0.1.11
JSON |
| download |
home_page | |
Summary | 🤖 Create Minecraft bots with a powerful, stable, and high level Python API. |
upload_time | 2023-12-20 08:34:08 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.10 |
license | |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<file-attachment-contents filename="README.md">
<h1 align="center">
<br>
<a href="https://github.com/SilkePilon/lodestone/"><img src="assets/165C35D6-E412-4173-A37E-22EAB9108EAC.png" alt="Lodestone" width="250"></a>
<br>
</h1>
<h4 align="center">🤖 Create Minecraft bots with a powerful, stable, and high level Python API <img src="https://minecraft.wiki/images/Invicon_Recovery_Compass.gif?c2f29"></h4>
<p align="center">
<img alt="Node version" src="https://img.shields.io/static/v1?label=node&message=%20%3E=18.0.0&logo=node.js&color=2334D058" />
<a href="https://python.org/"><img src="https://img.shields.io/badge/Python-FFD43B?logo=python&logoColor=blue" alt="Python"></a>
<a href="https://github.com/reworkd/AgentGPT/blob/master/docs/README.zh-HANS.md"><img src="https://img.shields.io/badge/JavaScript-323330?logo=minecraft&logoColor=F7DF1E" alt="javascript"></a>
<a href="soon!"><img src="https://img.shields.io/badge/Discord-5865F2?logo=discord&logoColor=white" alt="Hungarian"></a>
</p>
<!--  -->
## About <img src="/assets/items/upscaled/writable_book.png" width="25" height="25">
Lodestone is an incredibly powerful and flexible framework for building Minecraft bots of all kinds.
Whether you’re new to Minecraft bot development or a seasoned pro, Lodestone provides all the tools you need to bring your bot ideas to life.
Let’s dive into how to get up and running with Lodestone.
## Features
* <img src="https://minecraft.wiki/images/ItemSprite_compass.png?2364d"> Supports Minecraft 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20.1.
* <img src="https://minecraft.wiki/images/EntitySprite_tamed-wolf.png?e90cb"> Entity knowledge and tracking.
* <img src="https://minecraft.wiki/images/EnvSprite_non-renewable-resource.png?44294"> Block knowledge. You can query the world around you. Milliseconds to find any block.
* <img src="https://minecraft.wiki/images/EnvSprite_sprint.png?e9341"> Physics and movement - handle all bounding boxes
* <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27"> Attacking entities and using vehicles.
* <img src="https://minecraft.wiki/images/EnvSprite_two-by-two.png?56fdc"> Inventory management.
* <img src="https://minecraft.wiki/images/BlockSprite_crafting-table.png?1ea45"> Crafting, chests, dispensers, enchantment tables.
* <img src="https://minecraft.wiki/images/EnvSprite_item.png?89d23"> Digging and building.
* <img src="https://minecraft.wiki/images/BlockSprite_brewing-stand.png?918de"> Miscellaneous stuff such as knowing your health and whether it is raining.
* <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27"> Activating blocks and using items.
* <img src="https://minecraft.wiki/images/ItemSprite_oak-sign.png?e1d26"> Chat.
* <img src="https://minecraft.wiki/images/EffectSprite_particle-speed.png?0ed64"> Plugins for many servers.
## Getting Started <img src="/assets/items/upscaled/iron_sword.png" width="20" height="20">
> [!IMPORTANT]
> project lodestone is still in development and has some bugs.
All instalation instructons and documentation can be found [here](https://lodestone-documentation.vercel.app/ "docs") <img src="/assets/items/upscaled/arrow.png" width="25" height="25"> but here is the general idea.
#### Installation and Setup
The first step is to install the Lodestone package using pip. It’s recommended to create a virtual environment first before installing:
```bash
python3 -m venv env
source env/bin/activate
pip install lodestone
```
With Lodestone installed, create a bot.py file to initialize your bot. This is where you’ll configure your bot’s username, authentication method, and other options:
```python
import lodestone
bot = lodestone.createBot(
host='localhost',
port=25565, # set this to your own LAN port
username='MyAwesomeBot',
auth='microsoft'
)
```
In this example, we’re connecting to a local Minecraft server on localhost and using Microsoft authentication.
##### Running and Logging In
With your bot created, run it using:
```bash
python bot.py
```
The first time you run your bot, Lodestone will prompt you to log in using the authentication method you configured. Follow the login prompts to authenticate your bot and connect it to the Minecraft server.
Lodestone provides multiple authentication options including Microsoft and Offline modes. See the docs for details.
### Using the Lodestone CLI
Lodestone also offers an easy to use command line intercace (CLI). This allows you to use the basic functions of lodestone.
the CLI offers auto tab complete and has real time chat logs.
To use the CLI run the following command:
```bash
python -m lodestone -u USERNAME -h HOST -p PORT -v VERSION
```
> [!IMPORTANT]
> `username` and `host` are required options. <img src="https://minecraft.wiki/images/EffectSprite_particle-speed.png?0ed64">
> [!WARNING]
> Do not share your Minecraft info to anyone. <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27">
<details open>
<summary>Command line arguments</summary>
<br>
The command line arguments available are:
* `--username` or `-u`: The Minecraft username the bot will log into. <img src="https://minecraft.wiki/images/EnvSprite_emote.png?37574">
* `--host` or `-h`: The IP address or hostname of the Minecraft server. <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27">
* `--port` or `-p`: The port number the Minecraft server is listening on. Default is 25565. <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27">
* `--auth`: The authentication method your account requires (mojang/microsoft/cracked). Default is "microsoft". <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27">
* `--version` or `-v` : Minecraft version to use when connecting to a server. Default is auto. <img src="https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27">
</details>
## Contributors <img src="https://minecraft.wiki/images/EnvSprite_heart.png?8a428">
| Name | Helped With | GitHub | Discord |
| --------------------- | ----------------------------------------- | ----------- | ----------- |
| **Katzengott** | fishing bot and cactus bot | [@Katzengott](https://github.com/Katzengott) | edelkatze |
## Roadmap
- [ ] Add config.json file
- [X] Add [click](https://github.com/pallets/click)
- [X] Change to use as Pip package for better use
- [X] Add Discord integration
- [ ] Add Custom code runner (a way for users to test their own bot code in a nice and simple way)
## MineFlayer 🚀
Mineflayer is a complex library that allows you to control Minecraft accounts through a powerful, stable, and high-level JavaScript API
## Discord
https://discord.gg/Fa7HZgkczz
## Credits
<a href="https://github.com/PrismarineJS/mineflayer" target="_blank">MineFlayer</a>
---
Screenshots:
[Dashboard](https://imgur.com/a/Hceiwhp)
[Settings](https://imgur.com/a/9p1YbtE)
</file-attachment-contents>
Raw data
{
"_id": null,
"home_page": "",
"name": "lodestone",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "Silke Pilon <silkepilon2009@gmail.com>, HellishBro <hellishbro@outlook.com>, Levy <Levy@example.com>",
"download_url": "https://files.pythonhosted.org/packages/b3/bb/83fa8713d6d0d9409e3d2178ae920628a0a4eb1e9820cc3d17a7652b8fdd/lodestone-0.1.11.tar.gz",
"platform": null,
"description": "<file-attachment-contents filename=\"README.md\">\n\n<h1 align=\"center\">\n <br>\n <a href=\"https://github.com/SilkePilon/lodestone/\"><img src=\"assets/165C35D6-E412-4173-A37E-22EAB9108EAC.png\" alt=\"Lodestone\" width=\"250\"></a>\n <br>\n</h1>\n\n<h4 align=\"center\">\ud83e\udd16 Create Minecraft bots with a powerful, stable, and high level Python API <img src=\"https://minecraft.wiki/images/Invicon_Recovery_Compass.gif?c2f29\"></h4>\n\n<p align=\"center\">\n <img alt=\"Node version\" src=\"https://img.shields.io/static/v1?label=node&message=%20%3E=18.0.0&logo=node.js&color=2334D058\" />\n <a href=\"https://python.org/\"><img src=\"https://img.shields.io/badge/Python-FFD43B?logo=python&logoColor=blue\" alt=\"Python\"></a>\n <a href=\"https://github.com/reworkd/AgentGPT/blob/master/docs/README.zh-HANS.md\"><img src=\"https://img.shields.io/badge/JavaScript-323330?logo=minecraft&logoColor=F7DF1E\" alt=\"javascript\"></a>\n <a href=\"soon!\"><img src=\"https://img.shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\" alt=\"Hungarian\"></a>\n</p>\n\n<!--  -->\n\n## About <img src=\"/assets/items/upscaled/writable_book.png\" width=\"25\" height=\"25\">\n\nLodestone is an incredibly powerful and flexible framework for building Minecraft bots of all kinds.\nWhether you\u2019re new to Minecraft bot development or a seasoned pro, Lodestone provides all the tools you need to bring your bot ideas to life.\nLet\u2019s dive into how to get up and running with Lodestone.\n\n\n## Features\n\n* <img src=\"https://minecraft.wiki/images/ItemSprite_compass.png?2364d\"> Supports Minecraft 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19 and 1.20.1.\n* <img src=\"https://minecraft.wiki/images/EntitySprite_tamed-wolf.png?e90cb\"> Entity knowledge and tracking.\n* <img src=\"https://minecraft.wiki/images/EnvSprite_non-renewable-resource.png?44294\"> Block knowledge. You can query the world around you. Milliseconds to find any block.\n* <img src=\"https://minecraft.wiki/images/EnvSprite_sprint.png?e9341\"> Physics and movement - handle all bounding boxes\n* <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\"> Attacking entities and using vehicles.\n* <img src=\"https://minecraft.wiki/images/EnvSprite_two-by-two.png?56fdc\"> Inventory management.\n* <img src=\"https://minecraft.wiki/images/BlockSprite_crafting-table.png?1ea45\"> Crafting, chests, dispensers, enchantment tables.\n* <img src=\"https://minecraft.wiki/images/EnvSprite_item.png?89d23\"> Digging and building.\n* <img src=\"https://minecraft.wiki/images/BlockSprite_brewing-stand.png?918de\"> Miscellaneous stuff such as knowing your health and whether it is raining.\n* <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\"> Activating blocks and using items.\n* <img src=\"https://minecraft.wiki/images/ItemSprite_oak-sign.png?e1d26\"> Chat.\n* <img src=\"https://minecraft.wiki/images/EffectSprite_particle-speed.png?0ed64\"> Plugins for many servers.\n\n## Getting Started <img src=\"/assets/items/upscaled/iron_sword.png\" width=\"20\" height=\"20\">\n\n> [!IMPORTANT]\n> project lodestone is still in development and has some bugs.\n\nAll instalation instructons and documentation can be found [here](https://lodestone-documentation.vercel.app/ \"docs\") <img src=\"/assets/items/upscaled/arrow.png\" width=\"25\" height=\"25\"> but here is the general idea.\n\n#### Installation and Setup\nThe first step is to install the Lodestone package using pip. It\u2019s recommended to create a virtual environment first before installing:\n```bash\npython3 -m venv env\nsource env/bin/activate\npip install lodestone\n```\nWith Lodestone installed, create a bot.py file to initialize your bot. This is where you\u2019ll configure your bot\u2019s username, authentication method, and other options:\n```python\nimport lodestone\nbot = lodestone.createBot(\n host='localhost',\n port=25565, # set this to your own LAN port\n username='MyAwesomeBot',\n auth='microsoft' \n)\n```\nIn this example, we\u2019re connecting to a local Minecraft server on localhost and using Microsoft authentication.\n\n##### Running and Logging In\nWith your bot created, run it using:\n```bash\npython bot.py\n```\nThe first time you run your bot, Lodestone will prompt you to log in using the authentication method you configured. Follow the login prompts to authenticate your bot and connect it to the Minecraft server.\nLodestone provides multiple authentication options including Microsoft and Offline modes. See the docs for details.\n\n\n\n### Using the Lodestone CLI\n\nLodestone also offers an easy to use command line intercace (CLI). This allows you to use the basic functions of lodestone.\nthe CLI offers auto tab complete and has real time chat logs.\n\nTo use the CLI run the following command:\n```bash\npython -m lodestone -u USERNAME -h HOST -p PORT -v VERSION\n```\n\n> [!IMPORTANT]\n> `username` and `host` are required options. <img src=\"https://minecraft.wiki/images/EffectSprite_particle-speed.png?0ed64\">\n\n> [!WARNING]\n> Do not share your Minecraft info to anyone. <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\">\n\n<details open>\n<summary>Command line arguments</summary>\n<br>\n\nThe command line arguments available are:\n\n* `--username` or `-u`: The Minecraft username the bot will log into. <img src=\"https://minecraft.wiki/images/EnvSprite_emote.png?37574\">\n* `--host` or `-h`: The IP address or hostname of the Minecraft server. <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\">\n* `--port` or `-p`: The port number the Minecraft server is listening on. Default is 25565. <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\">\n* `--auth`: The authentication method your account requires (mojang/microsoft/cracked). Default is \"microsoft\". <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\">\n* `--version` or `-v` : Minecraft version to use when connecting to a server. Default is auto. <img src=\"https://minecraft.wiki/images/EffectSprite_strength-revision-1.png?8da27\">\n\n</details>\n\n## Contributors <img src=\"https://minecraft.wiki/images/EnvSprite_heart.png?8a428\">\n| Name | Helped With | GitHub | Discord |\n| --------------------- | ----------------------------------------- | ----------- | ----------- |\n| **Katzengott** | fishing bot and cactus bot | [@Katzengott](https://github.com/Katzengott) | edelkatze |\n\n\n\n## Roadmap\n\n- [ ] Add config.json file\n- [X] Add [click](https://github.com/pallets/click)\n- [X] Change to use as Pip package for better use\n- [X] Add Discord integration\n- [ ] Add Custom code runner (a way for users to test their own bot code in a nice and simple way)\n\n## MineFlayer \ud83d\ude80\n\nMineflayer is a complex library that allows you to control Minecraft accounts through a powerful, stable, and high-level JavaScript API\n\n## Discord\n\nhttps://discord.gg/Fa7HZgkczz\n\n## Credits\n\n<a href=\"https://github.com/PrismarineJS/mineflayer\" target=\"_blank\">MineFlayer</a>\n\n---\n\nScreenshots:\n[Dashboard](https://imgur.com/a/Hceiwhp)\n[Settings](https://imgur.com/a/9p1YbtE)\n\n</file-attachment-contents>\n\n",
"bugtrack_url": null,
"license": "",
"summary": "\ud83e\udd16 Create Minecraft bots with a powerful, stable, and high level Python API.",
"version": "0.1.11",
"project_urls": {
"Documentation": "https://github.com/SilkePilon/Lodestone/blob/main/README.md",
"Homepage": "https://github.com/SilkePilon/Lodestone",
"Repository": "https://github.com/SilkePilon/Lodestone"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a456834b19b35c5e655bd7d6f8ac0dcacde7ca047536fef5bc758f2cc7a77a9c",
"md5": "47ce3590909e01cfa6b3d47802905cd4",
"sha256": "83897a3dbdac313811c6d794a74a5703f2d617fc125b8593a6abed57a8bb5a57"
},
"downloads": -1,
"filename": "lodestone-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "47ce3590909e01cfa6b3d47802905cd4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 31678,
"upload_time": "2023-12-20T08:34:06",
"upload_time_iso_8601": "2023-12-20T08:34:06.667146Z",
"url": "https://files.pythonhosted.org/packages/a4/56/834b19b35c5e655bd7d6f8ac0dcacde7ca047536fef5bc758f2cc7a77a9c/lodestone-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b3bb83fa8713d6d0d9409e3d2178ae920628a0a4eb1e9820cc3d17a7652b8fdd",
"md5": "7d142e484e218b882ad58be3f0acc4ff",
"sha256": "becd5d059a74ffb3c0a9ff74587521a24b7ae3e06bdddeaf95016869d67f206b"
},
"downloads": -1,
"filename": "lodestone-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "7d142e484e218b882ad58be3f0acc4ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 30319,
"upload_time": "2023-12-20T08:34:08",
"upload_time_iso_8601": "2023-12-20T08:34:08.090022Z",
"url": "https://files.pythonhosted.org/packages/b3/bb/83fa8713d6d0d9409e3d2178ae920628a0a4eb1e9820cc3d17a7652b8fdd/lodestone-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-20 08:34:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "SilkePilon",
"github_project": "Lodestone",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "lodestone"
}