hytopia 0.10.8 → 0.10.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/scripts.js CHANGED
@@ -76,7 +76,6 @@ async function build() {
76
76
  platform: 'node',
77
77
  target: 'node24',
78
78
  sourcemap: 'inline',
79
- packages: 'external',
80
79
  mainFields: ['module', 'main'],
81
80
  conditions: ['import', 'node'],
82
81
  banner: {
@@ -113,7 +112,6 @@ function start() {
113
112
  platform: 'node',
114
113
  target: 'node24',
115
114
  sourcemap: 'inline',
116
- packages: 'external',
117
115
  mainFields: ['module', 'main'],
118
116
  conditions: ['import', 'node'],
119
117
  banner: {
@@ -89,9 +89,9 @@ startServer(world => {
89
89
 
90
90
  // Send a nice welcome message that only the player who joined will see ;)
91
91
  world.chatManager.sendPlayerMessage(player, 'Welcome to the game!', '00FF00');
92
- world.chatManager.sendPlayerMessage(player, 'Use WASD to move around.');
93
- world.chatManager.sendPlayerMessage(player, 'Press space to jump.');
92
+ world.chatManager.sendPlayerMessage(player, 'Use WASD to move around & space to jump.');
94
93
  world.chatManager.sendPlayerMessage(player, 'Hold shift to sprint.');
94
+ world.chatManager.sendPlayerMessage(player, 'Random cosmetic items are enabled for testing!');
95
95
  world.chatManager.sendPlayerMessage(player, 'Press \\ to enter or exit debug view.');
96
96
  });
97
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hytopia",
3
- "version": "0.10.8",
3
+ "version": "0.10.10",
4
4
  "description": "The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.",
5
5
  "type": "module",
6
6
  "main": "./server.mjs",