-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding features and make the code prettier
- we now have flags - we now can just simply get the converted UUID without any file altering involved - we now have a readme, kind of
- Loading branch information
Showing
2 changed files
with
108 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,31 @@ | ||
# minecraft-UUID-coverter | ||
Written in hatred. Converts Minecraft UUID into the 1.16 int-array format. | ||
Converts Minecraft UUID into the 1.16 int-array format. | ||
|
||
I will update this in the future to make it actually usable for more situations | ||
## Usage: | ||
```cmd | ||
uuidc | ||
``` | ||
Scans the current directory looking for uuids in files (don't do this if you don't know what you are doing) | ||
**Notice to me**: Stop making this the default behaviour, this is very bad for people who don't rtfm... | ||
|
||
```cmd | ||
uuidc <UUID> | ||
``` | ||
Convert the UUID and prints the converted int array | ||
|
||
```cmd | ||
uuidc -uuid=<UUID> | ||
``` | ||
Same as above but you have to write more | ||
|
||
```cmd | ||
uuidc <-flags> | ||
``` | ||
Flags: | ||
- `-uuid` - look above | ||
- `-help` - no | ||
- `-file=<file>` - specify a file to change | ||
- `-dir=<directory>` - specify a directory to scan | ||
- `-ext=<extension>` - only include files with that extension (include the .) | ||
- `-r` - scan directory recursive | ||
- `-simulate` - don't do anything, just shows you what would be done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters