diff options
| author | Fuwn <[email protected]> | 2024-06-07 22:08:38 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-07 22:08:38 -0700 |
| commit | aab79dbd601271d0a3b4b5aefaa1212cb25d9a61 (patch) | |
| tree | 5910b7162bc44438c82419700612da5905b0925f | |
| parent | docs: add readme (diff) | |
| download | worldsplayer_source_editor-aab79dbd601271d0a3b4b5aefaa1212cb25d9a61.tar.xz worldsplayer_source_editor-aab79dbd601271d0a3b4b5aefaa1212cb25d9a61.zip | |
docs(readme): add proper example
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | assets/step_by_step.png | bin | 0 -> 46841 bytes |
2 files changed, 5 insertions, 1 deletions
@@ -56,7 +56,7 @@ to run in the WorldsPlayer client. WORLDSPLAYER_JAR=/path/to/worlds.jar bin/decompile # Edit the source files in the source directory -vi source/... +find source -type f -name "*.java" -exec sed -i.bak 's/this\.setName(longID);/this.setName(longID + " (" + longID + ")");/' {} \; # Recompile WorldsPlayer JAVAC=/path/to/javac bin/recompile @@ -65,6 +65,10 @@ JAVAC=/path/to/javac bin/recompile cp out/worlds.jar /path/to/worlds.jar ``` +Now that we've changed the username format from `username` to `username (username)`, we can run WorldsPlayer to verify that the change has been applied. + + + # Licence This project is licensed with the [GNU General Public License v3.0](./LICENSE).
\ No newline at end of file diff --git a/assets/step_by_step.png b/assets/step_by_step.png Binary files differnew file mode 100644 index 0000000..ece8517 --- /dev/null +++ b/assets/step_by_step.png |