Skip to main content

API for reading and modifying xbox 360 terraria player files.

Project description

terraria xbox360 player API

API for reading and modifying xbox 360 terraria player files.

Examples

Change player max life to 300

>>> import terraria_xbox360_player_api
>>> player = terraria_xbox360_player_api.TerrariaXbox360Player("PLAYER1.PLR")
>>> player.max_life = 300
>>> player.write_to_file("PLAYER1.PLR")

Set 999 dirt items to first inventory slot

>>> import terraria_xbox360_player_api
>>> player = terraria_xbox360_player_api.TerrariaXbox360Player("PLAYER1.PLR")
>>> player.inventory[0][0] = terraria_xbox360_player_api.Item(2, 999, 0)
>>> player.write_to_file("PLAYER1.PLR")

Read player name

>>> import terraria_xbox360_player_api
>>> terraria_xbox360_player_api.TerrariaXbox360Player("PLAYER1.PLR").name
'test_plr'

Dependencies

Installation

pip install terraria-xbox360-player-api

License

GPL v3 © Filip K.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terraria-xbox360-player-api-1.1.0.tar.gz (17.2 kB view details)

Uploaded Source

File details

Details for the file terraria-xbox360-player-api-1.1.0.tar.gz.

File metadata

File hashes

Hashes for terraria-xbox360-player-api-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3376bf7fbc6447e0381d15509b97b39c59def33a897beb1b062efad78789f71f
MD5 080aca651f1363b855b7f6032b76d579
BLAKE2b-256 35a6e9acaad82ae0e1739417505a6233d7e08015107a0f89800ae95ce8291db9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page