ViaProxy/README.md

125 lines
6 KiB
Markdown
Raw Permalink Normal View History

2023-01-04 14:58:09 -05:00
# ViaProxy
2023-04-12 11:35:56 -04:00
Standalone proxy which allows players to join EVERY Minecraft server version (Classic, Alpha, Beta, Release, Bedrock)
2023-01-04 15:54:57 -05:00
To download the latest version, go to the [Releases section](#executable-jar-file) and download the latest version.
2023-01-04 16:27:26 -05:00
Using it is very simple, just run the jar file, and it will start a user interface where everything can be configured.
2024-04-26 12:00:03 -04:00
For a full user guide go to the [Usage for Players](#usage-for-players-gui) section or the [Usage for Server Owners](#usage-for-server-owners-config) section.
2023-01-04 14:58:09 -05:00
## Supported Server versions
2024-01-18 13:30:18 -05:00
- Release (1.0.0 - 1.20.5)
2023-01-04 14:58:09 -05:00
- Beta (b1.0 - b1.8.1)
2023-12-05 17:24:40 -05:00
- Alpha (a1.0.15 - a1.2.6)
- Classic (c0.0.15 - c0.30 including [CPE](https://wiki.vg/Classic_Protocol_Extension))
2023-01-04 14:58:09 -05:00
- April Fools (3D Shareware, 20w14infinite)
- Combat Snapshots (Combat Test 8c)
2024-04-02 10:47:19 -04:00
- Bedrock Edition 1.20.70 ([Some features are missing](https://github.com/RaphiMC/ViaBedrock#features))
2023-01-04 14:58:09 -05:00
## Supported Client versions
2024-01-18 13:30:18 -05:00
- Release (1.7.2 - 1.20.5)
2024-02-23 15:27:57 -05:00
- Bedrock Edition (Needs the [Geyser plugin](https://geysermc.org/download))
2023-04-07 13:15:43 -04:00
- Classic, Alpha, Beta, Release 1.0 - 1.6.4 (Only passthrough)
2023-01-04 14:58:09 -05:00
ViaProxy supports joining to any of the listed server version from any of the listed client versions.
## Special Features
- Support for joining online mode servers
2024-02-23 15:27:57 -05:00
- Support for joining on servers which have chat signing enabled from all listed client versions
2024-04-26 12:00:03 -04:00
- Supports transfer and cookies for <=1.20.4 clients on 1.20.5+ servers
2024-02-23 15:27:57 -05:00
- Allows joining Minecraft Realms with any supported client version
2023-01-04 14:58:09 -05:00
## Releases
2023-01-04 15:54:57 -05:00
### Executable Jar File
2023-10-17 07:18:46 -04:00
If you want the executable jar file you can download a stable release from [GitHub Releases](https://github.com/ViaVersion/ViaProxy/releases/latest) or the latest dev version from [GitHub Actions](https://github.com/RaphiMC/ViaProxy/actions/workflows/build.yml) or the [ViaVersion Jenkins](https://ci.viaversion.com/view/All/job/ViaProxy/).
2023-01-04 15:54:57 -05:00
2023-01-04 14:58:09 -05:00
### Gradle/Maven
2023-05-28 12:41:31 -04:00
To use ViaProxy with Gradle/Maven you can use the ViaVersion maven server:
```groovy
repositories {
maven { url "https://repo.viaversion.com" }
}
dependencies {
2023-10-17 07:18:46 -04:00
implementation("net.raphimc:ViaProxy:x.x.x") // Get latest version from releases
2023-05-28 12:41:31 -04:00
}
```
```xml
<repositories>
<repository>
<id>viaversion</id>
<url>https://repo.viaversion.com</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.raphimc</groupId>
<artifactId>ViaProxy</artifactId>
2023-10-17 07:18:46 -04:00
<version>x.x.x</version> <!-- Get latest version from releases -->
2023-05-28 12:41:31 -04:00
</dependency>
</dependencies>
```
2023-01-04 14:58:09 -05:00
2023-01-04 15:54:57 -05:00
## Usage for Players (GUI)
2023-12-11 16:22:03 -05:00
![ViaProxy GUI](https://i.imgur.com/RaDWkbK.png)
2023-01-04 15:54:57 -05:00
1. Download the latest version from the [Releases section](#executable-jar-file)
2. Put the jar file into a folder (ViaProxy will generate config files and store some data there)
3. Run the jar file
4. Fill in the required fields like server address and version
2023-12-23 06:08:30 -05:00
5. If you want to join online mode servers, add your Minecraft account in the Accounts tab
6. Click on "Start"
7. Join with your Minecraft client on the displayed address
8. Have fun!
2023-01-04 15:54:57 -05:00
2024-04-26 12:00:03 -04:00
## Usage for Server owners (Config)
2023-01-04 15:54:57 -05:00
1. Download the latest version from the [Releases section](#executable-jar-file)
2. Put the jar file into a folder (ViaProxy will generate config files and store some data there)
2024-04-26 12:00:03 -04:00
3. Run the jar file (Using ``java -jar ViaProxy-whateverversion.jar config viaproxy.yml``)
4. ViaProxy now generates a config file called ``viaproxy.yml`` in the same folder and exits
5. Open the config file and configure the proxy (Most important options are at the top)
6. Start the proxy using the start command and test whether it works (Join using the server's public address and the bind port you configured)
7. Have fun!
2023-01-04 15:54:57 -05:00
2024-04-26 12:00:03 -04:00
## Usage for Server owners (CLI)
1. Download the latest version from the [Releases section](#executable-jar-file)
2. Put the jar file into a folder (ViaProxy will generate config files and store some data there)
3. Run the jar file (Using ``java -jar ViaProxy-whateverversion.jar cli --help``)
4. ViaProxy will print the CLI usage and exit
5. Configure the proxy and optionally put the finished start command into a script
6. Start the proxy using the start command and test whether it works (Join using the server's public address and the bind port you configured)
7. Have fun!
2023-01-04 15:54:57 -05:00
### Configuring the protocol translation
2024-04-26 12:00:03 -04:00
To change ViaProxy settings you can check out the ``viaproxy.yml`` config file. Most of the settings are configurable via the GUI.
To change the protocol translation settings/features you can look into the ``ViaLoader`` folder.
2023-04-02 15:25:27 -04:00
You will find 5 config files there:
2023-01-04 15:54:57 -05:00
- viaversion.yml (ViaVersion)
2023-10-19 15:18:21 -04:00
- viabackwards.yml (ViaBackwards)
2023-01-04 15:54:57 -05:00
- viarewind.yml (ViaRewind)
- vialegacy.yml (ViaLegacy)
2023-04-02 15:25:27 -04:00
- viabedrock.yml (ViaBedrock)
2023-01-04 14:58:09 -05:00
2023-01-04 17:41:19 -05:00
### Developer Plugin API
2023-02-24 19:29:14 -05:00
ViaProxy has a plugin API which allows you to create plugins for ViaProxy.
Documentation and examples:
2023-12-23 06:15:54 -05:00
- [NoLocalConnections](https://github.com/ViaVersionAddons/NoLocalConnections)
- [ViaProxyMultiLaunch](https://github.com/ViaVersionAddons/ViaProxyMultiLaunch)
- [ViaProxyGeyserPlugin](https://github.com/ViaVersionAddons/ViaProxyGeyserPlugin)
- [ViaProxyRakNetProviders](https://github.com/ViaVersionAddons/ViaProxyRakNetProviders)
2023-01-04 17:41:19 -05:00
2023-09-17 06:46:36 -04:00
## Contributing
Contributions in the form of pull requests are always welcome.
Please make sure to keep your code style consistent with the rest of the project and that your code is easily maintainable.
If you plan to make a large scale changes, please open an issue first or join my discord to discuss it.
### Translations
If you want to help translating ViaProxy you can do so by creating a pull request with your language file.
The language files are located in the [language folder](/src/main/resources/assets/language).
You can find the guidelines for creating a language file in the [en_US](/src/main/resources/assets/language/en_US.properties) language file.
2023-01-04 15:54:57 -05:00
## Contact
If you encounter any issues, please report them on the
2023-07-25 13:31:31 -04:00
[issue tracker](https://github.com/ViaVersion/ViaProxy/issues).
2023-05-30 15:05:58 -04:00
If you just want to talk or need help using ViaProxy feel free to join the ViaVersion
[Discord](https://discord.gg/viaversion).