Connect and world ================= A script talks to a Minecraft server through an :class:`~mciwb.Iwb` object. ``mciwb run`` and ``mciwb shell`` make one and call it ``world``; a standalone script makes its own. .. autosummary:: :nosignatures: ~mciwb.Iwb ~mciwb.get_world ~mciwb.Client ~mciwb.get_client ~mciwb.set_client ~mciwb.new_thread ~mciwb.logging.init_logging The world --------- .. autoclass:: mciwb.Iwb :members: .. autofunction:: mciwb.get_world RCON clients and threads ------------------------ .. automodule:: mciwb.threads :no-members: .. autoclass:: mciwb.Client :members: :show-inheritance: .. autofunction:: mciwb.get_client .. autofunction:: mciwb.set_client .. autofunction:: mciwb.new_thread Retries ~~~~~~~ .. autofunction:: mciwb.threads.retry_command .. autofunction:: mciwb.threads.reply_matches .. autodata:: mciwb.threads.ReplyCheck :no-value: .. autodata:: mciwb.threads.RCON_ATTEMPTS .. autofunction:: mciwb.threads.get_thread_name Logging ------- .. autofunction:: mciwb.logging.init_logging