Skip to main content

multicraft

PyPI Python Downloads Status Issues

Interact with your Minecraft server from hosts that use Multicraft using Python.

Installation

Install the module with pip:

pip3 install multicraft

Update existing installation: pip3 install multicraft --upgrade

Features

  • Includes a handful of common multicraft hosts.
  • Manage users, players, commands, schedules, and databases.
  • Start, stop, or restart your server.
  • Run console commands (give, kill, whitelist, op, etc)
  • Read your servers current cpu and memmory usage.
  • Send a chat message.

See the docs for more information.

Dependencies

Name Description
requests Requests is a simple, yet elegant, HTTP library.

Example

from multicraft import MulticraftAPI

api = MulticraftAPI(
    url = 'https://localhost/api.php',
    user = 'username',
    key = 'apiKey'
)

owner = api.get_user_id(api.user)

owned_servers = api.list_servers_by_owner(owner)
print(owned_servers)

for id in owned_servers.keys():
    server = api.get_server(id)
    print(server)

Metadata

Release files for multicraft 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multicraft 0.0.2
File Size Uploaded Provenance
multicraft-0.0.2.tar.gz 13.2 kB Without provenance Details

Release files / multicraft-0.0.2.tar.gz

Download URL multicraft-0.0.2.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7b9f79d85836dcbb45937a76e8efa110e89cff790aad2b909b23ae42835befb8
BLAKE2b-256 checksum
How to use checksums
b49d93cfcef9c6022a8c7c72bb509a09a12d86fea86f41339e7dfacdb7a33eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for multicraft 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page