NovaUniverse.py is an API wrapper for “Nova Universe” (a minecraft event hosting group) that allows you to interface with the Nova Universe API in a fast object-oriented way natively within Python. One of the bonuses is that it was developed by ME, an admin at NovaUniverse.
- Install package from pypi.
#Windows/Linux
pip install novauniverse
- That's It! - Brief Example Below
from novauniverse import EventClient, Events, NovaOnlinePlayer
client = EventClient()
@client.on_event(Events.CLIENT_READY)
def client_is_ready():
print("Client is ready!")
@client.on_event(Events.PLAYER_JOIN)
def on_player_join(player:NovaOnlinePlayer):
print(f"{player.username} joined {player.server_name}!")
client.start()
More Examples and Info at https://nupy.devgoldy.xyz/