Skip to content

Commit

Permalink
- change discord settings
Browse files Browse the repository at this point in the history
  - change default useLegacyLogin & serverOnlineMode as a workarround
  - update minecraft-protocol: 1.51.0
  • Loading branch information
vincss committed Dec 5, 2024
1 parent ca7403a commit 7b8ca0b
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 41 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,10 @@ Give a ⭐️ if you like the project!
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/vincss)

## 📜 ChangeLog
- To be released
- 1.11.0 - MC 1.21.x / Bedrock 1.21.40 :
- change discord settings
- change default useLegacyLogin & serverOnlineMode as a workarround
- update minecraft-protocol: 1.51.0
- 1.10.0 - MC 1.20.2 / Bedrock 1.21.40 :
- update @jsprismarine/prismarine : 0.12.0 ( bedrock 1.21.40 )
- 1.9.1 - 1.20.2 :
Expand Down
116 changes: 79 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"express": "^4.18.2",
"express-handlebars": "^7.0.4",
"js-yaml": "^4.1.0",
"minecraft-protocol": "^1.46.0",
"minecraft-protocol": "^1.51.0",
"prismarine-chat": "^1.8.0",
"properties-reader": "^2.3.0",
"winston": "^3.8.2"
Expand Down
3 changes: 2 additions & 1 deletion sleepingSettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ serverName: "SleepingServer, waiting for his prince..."
serverPort: 25565
# bedrockPort: 19132
loginMessage: "...Waking server up, come back in a minute..."
serverOnlineMode: true # like in the server.properties, to check the licence of player or not.
serverOnlineMode: false # like in the server.properties, to check the licence of player or not.
useLegacyLogin: true
maxPlayers: 20
# useNativeFiles: true

Expand Down
3 changes: 2 additions & 1 deletion src/sleepingSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const DefaultSettings: Settings = {
maxPlayers: 20,

loginMessage: "...Waking server up, come back in a minute...",
serverOnlineMode: true,
serverOnlineMode: false,
useLegacyLogin: true,

startMinecraft: true, // false to disable
minecraftCommand: "java -jar paper.jar nogui",
Expand Down

0 comments on commit 7b8ca0b

Please sign in to comment.