aternos/creabit

This is a small Minecraft tool written in PHP to fix missing end or nether dimension compound tags in the level.dat file.

v1.0.0 2024-12-16 11:22 UTC

This package is auto-updated.

Last update: 2024-12-17 13:14:59 UTC


README

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

composer require aternos/creabit

Usage CLI

php repair.php input_file [output_file]

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

Usage PHP code

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