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
- Host: GitHub
- URL: https://github.com/aternosorg/creabit
- Owner: aternosorg
- License: mit
- Created: 2024-12-16T10:27:44.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-17T13:14:55.000Z (over 1 year ago)
- Last Synced: 2025-06-22T01:44:12.119Z (12 months ago)
- Language: PHP
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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());
```