Minecraft UUID
1.0A PHP Library to convert between three of the different Minecraft UUID-Formats.
A PHP Library to convert between three of the different Minecraft UUID-Formats.
Official Minecraft Wiki about UUIDs:
https://minecraft.fandom.com/wiki/Universally_unique_identifier
Installation
composer require lordrazen/minecraft-uuid-converter
https://packagist.org/packages/lordrazen/minecraft-uuid-converter
UUID Formats
Regular UUIDs (Hyphenated Hexadecimal):
ea3bc3ec-7051-4efc-87f9-68635c9b473a
Trimmed UUIDs (Hexadecimal):
ea3bc3ec70514efc87f968635c9b473a
UUIDs as Integer Arrays (Int-Array):
[I;-365181972,1884376828,-2013697949,1553680186]
How to use this class to convert UUIDs
Create a new UUID object:
$uuid = new UUID();
Read a given UUID String (String can have any format from above):
$uuid->read($input);
Generate a new, random UUID:
$uuid->generateNew();
Return the converted UUIDs:
$uuid->getUuid();
$uuid->getUuidTrimmed();
$uuid->getUuidInt();
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta