···1111 strategy:
1212 matrix:
1313 # Use these Java versions
1414- java: [
1515- 17, # Currently min for minecraft
1616- ]
1414+ java:
1515+ - 17 # Currently min for minecraft
1716 runs-on: ubuntu-22.04
1817 steps:
1918 - name: checkout repository
···2827 - name: make gradle wrapper executable
2928 run: chmod +x ./gradlew
3029 - name: build
3131- run: ./gradlew build
3030+ run: ./gradlew shadowJar
3231 - name: capture build artifacts
3333- if: ${{ matrix.java == '17' }} # Only upload artifacts built from latest java
3232+# if: ${{ matrix.java == '17' }} # Only upload artifacts built from latest java
3433 uses: actions/upload-artifact@v4
3534 with:
3635 name: Artifacts
+16-4
CHANGELOG.md
···88### [Unreleased]
991010#### Added
1111-- Added completely server-side translation system (UNLIKE MOJANG'S SYSTEM WHICH IS CLIENT SIDE)
1111+- Added a completely server-side translation system (UNLIKE MOJANG'S SYSTEM WHICH IS CLIENT SIDE)
1212+- Added a Json Storage cleaner, which automatically cleans and updates any values
1313+- Added a safety check with /back that automatically chooses a nearby safe location
1214- Added quilt support
1313-- Added CHANGELOG.md
1515+- Added a CHANGELOG.md
1616+- Added Tpa Accept/Deny Suggestions
1717+- Added Dutch translations
1818+- Added Hungarian translations (Thanks to [Martin Morningstar](https://github.com/RMI637))
1919+14201521#### Changed
2222+- Limited the requests a player can do to the same player to 1
1623- Improved command messages and colors
1717-- improved performance by changing the death event to be player specific (not all entities)
1818-- Replaced all loader specific events with Mixins
2424+- Fixed Tpa Accept/Deny messages going to the wrong person
2525+- Fixed /back saying "Already back" when on the same death location in another dimension
2626+- Fixed /back giving an error when the player didn't have a deathLocation, instead of the appropriate message
2727+- Improved performance by changing the death event to be player specific (not all entities)
2828+- Replaced all loader specific api events with Mixins
2929+- Edited /back to have a DisableSafety option: `/back [<Disable Safety>]`
19302031#### Removed
2132- Removed Sources and Javadoc files to improve build speed
2233- Removed Fabric API dependency
3434+- Removed pretty json printing (to save storage)
233524362537### [v1.0.5]
+14-12
README.md
···11# Teleport Commands <img src="https://raw.githubusercontent.com/MrSn0wy/TeleportCommands/main/common/src/main/resources/teleport_commands.png" alt="Teleport Commands Logo" width="30"/>
2233-43A Minecraft server-side mod that adds various teleportation related commands, like /home /tpa and /back
5466-### This mod is still in beta, if there are any problems then let me know!
55+Here is the [Changelog](CHANGELOG.md)
7687#### Currently available commands:
981010-- `/back` - Teleports you to the location where you last died
99+- `/back [<Disable Safety>]` - Teleports you to the location where you last died, if given true it will not do safety checks
1110<br>
12111312- `/sethome <name>` - Creates a new home
···3332- [ ] `/spawn <dimension>` - Teleports you to your spawnpoint in a dimension, defaults to your current dimension
34333534#### Improvements:
3636-- [ ] Modify /back to check if the location is safe and automatically choose a nearby location that is safe
3735- [ ] Create a config to add any delays and disable commands, also add commands for operators in game
3836- [ ] Add a perm system
3939-- [ ] Limit tpa requests for a player
3737+- [x] Json Storage automatic updater & cleaner
3838+- [x] Modify /back to check if the location is safe and automatically choose a nearby location that is safe
3939+- [x] Limit tpa requests for a player
4040- [x] Add translation system
4141- [x] Improve responses for commands
4242- [x] Add Quilt support and NeoForge
···44444545### Want to help?
46464747-#### You can create a Translation file so other people can use the mod in their native language
4848-1. Clone the repository
4949-2. Go to `common/src/main/resources/assets/teleport_commands/lang/`
5050-3. Go [here](https://minecraft.wiki/w/Language) and pick the in-game locale code for the language you want to translate
5151-4. Copy `en_us.toml` and paste it in a new file called `[in-game locale code here].toml`
5252-5. Translate the file
5353-6. Submit a pull request with your translation :D!
4747+1. You can create a translation file so other people can use the mod in their native language: [translations.md](./common/src/main/resources/assets/teleport_commands/lang/translations.md)
4848+4949+#### Notes
5050+5151+Colors:
5252+- Green = When something succeeds and an action will happen
5353+- Aqua = When something needs attention
5454+- White = When something is done
5555+- Red = When something fails
+2
build.gradle
···11plugins {
22 // Required for NeoGradle
33 id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.7"
44+ // Required to bundle the toml library
55+ id 'com.github.johnrengelman.shadow' version '8.1.1'
46}
···11+### Translations
22+Heya! here is some information about how you can make a translation or modify an existing translation!
33+44+I also want to thank everyone who made a translation for this mod! This makes the mod more accessible for everyone.
55+66+Things to know:
77+- The "%number%" are placeholders, The number indicates what it needs to be replaced with.
88+- funny things are allowed, as long as they don't make the mod less accessible or cluttered!
99+1010+#### Want to make a translation?
1111+1. Make a fork of the mod
1212+2. Go [here](https://minecraft.wiki/w/Language) and pick the in-game locale code for the language you want to translate
1313+3. Copy `en_us.toml` and paste it in a new file called `[in-game locale code here].toml`
1414+4. Translate the values (everything between " ") in the file
1515+5. Submit a pull request with your translation :D!
1616+1717+#### Want to improve an existing translation?
1818+1. Make a fork of the mod
1919+2. Modify the existing translation in the mod
2020+3. Submit a pull request with your changes :D!
2121+2222+2323+#### Credits
2424+- English (en_us): [Mr. Snowy](https://github.com/MrSn0wy)
2525+- Dutch (nl_nl): [Mr. Snowy](https://github.com/MrSn0wy)
2626+- Hungarian (hu_hu): [Martin Morningstar](https://github.com/RMI637)
···22# Every field you add must be added to the root build.gradle expandProps map.
3344# Project
55-version=1.0.5
55+version=1.1.0-beta
66group=dev.mrsnowy.teleport_commands
77java_version=17
88···3333neoforge_loader_version_range=[2,)
34343535# Gradle
3636-org.gradle.jvmargs=-Xmx3G
3636+org.gradle.jvmargs=-Xmx4G
3737org.gradle.daemon=false