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 `python >>> 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 `python >>> 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 `python >>> 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](LICENSE) © 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.0.7.tar.gz (4.3 kB view hashes)

Uploaded Source

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