An open API service indexing awesome lists of open source software.

https://github.com/aternosorg/creabit

Small Minecraft tool written in PHP to fix missing end or nether dimension compound tags in the level.dat file
https://github.com/aternosorg/creabit

Last synced: 11 months ago
JSON representation

Small Minecraft tool written in PHP to fix missing end or nether dimension compound tags in the level.dat file

Awesome Lists containing this project

README

          

# About
This is a small Minecraft tool written in PHP to fix missing end or nether dimension compound tags in the level.dat file. If the tags are missing, the portals do not work.

# Installation

```bash
composer require aternos/creabit
```

# Usage CLI

```bash
php repair.php input_file [output_file]
```

If no output file path is given, the output directory is the current directory.

# Usage PHP code

```php
$fileName = 'level.dat'
$fileContent = file_get_contents($filename)
$creabit = new Creabit($fileContent)
file_put_contents($fileName, $creabit->repair());
```