Skip to content

Commit a365c93

Browse files
86ddevan-goode
authored andcommitted
Add how to use Drasl with Velocity to usage.md
Tested on a production setup. Had to scour the Velocity source code to find the argument.
1 parent 1f1d576 commit a365c93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/usage.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,14 @@ java -Xmx1024M -Xms1024M \
142142
nogui
143143
```
144144

145+
### Velocity Proxy
146+
147+
Velocity has the option `mojang.sessionserver` which lets you specify the endpoint of a custom session server. Please note that it has to be the full URL to the `/session/minecraft/hasJoined` endpoint.
148+
149+
```
150+
java -Dmojang.sessionserver=https://drasl.example.com/session/minecraft/hasJoined -jar velocity.jar
151+
```
152+
145153
## Default skins
146154

147155
If a user has not set a skin and a skin is not forwarded from a fallback API server via `ForwardSkins`, Drasl will try to serve one of the "default skins" in `$STATE_DIRECTORY/default-skin/` (`/var/lib/drasl/default-skin/` by default). You can create this directory and place your own PNG textures inside to override the default Steve/Alex skins used by the client when a skin is not available.

0 commit comments

Comments
 (0)