hytopia 0.1.33 → 0.1.34
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/docs/server.collider.md +21 -0
- package/docs/server.collider.shape.md +13 -0
- package/docs/server.default_block_entity_rigid_body_options.md +13 -0
- package/docs/server.default_entity_rigid_body_options.md +1 -1
- package/docs/server.entity.blockhalfextents.md +13 -0
- package/docs/server.entity.blocktextureuri.md +13 -0
- package/docs/server.entity.md +63 -0
- package/docs/server.entity.tag.md +13 -0
- package/docs/server.entitymanager.getentitiesbytag.md +55 -0
- package/docs/server.entitymanager.getentitiesbytagsubstring.md +55 -0
- package/docs/server.entitymanager.md +28 -0
- package/docs/server.entityoptions.blockhalfextents.md +13 -0
- package/docs/server.entityoptions.blocktextureuri.md +13 -0
- package/docs/server.entityoptions.md +57 -0
- package/docs/server.entityoptions.tag.md +13 -0
- package/docs/server.hytopia.collider.md +21 -0
- package/docs/server.hytopia.collider.shape.md +13 -0
- package/docs/server.hytopia.default_block_entity_rigid_body_options.md +13 -0
- package/docs/server.hytopia.default_entity_rigid_body_options.md +1 -1
- package/docs/server.hytopia.entity.blockhalfextents.md +13 -0
- package/docs/server.hytopia.entity.blocktextureuri.md +13 -0
- package/docs/server.hytopia.entity.md +63 -0
- package/docs/server.hytopia.entity.tag.md +13 -0
- package/docs/server.hytopia.entitymanager.getentitiesbytag.md +55 -0
- package/docs/server.hytopia.entitymanager.getentitiesbytagsubstring.md +55 -0
- package/docs/server.hytopia.entitymanager.md +28 -0
- package/docs/server.hytopia.entityoptions.blockhalfextents.md +13 -0
- package/docs/server.hytopia.entityoptions.blocktextureuri.md +13 -0
- package/docs/server.hytopia.entityoptions.md +57 -0
- package/docs/server.hytopia.entityoptions.tag.md +13 -0
- package/docs/server.hytopia.md +12 -1
- package/docs/server.hytopia.rigidbody.md +0 -35
- package/docs/server.hytopia.rigidbodyoptions.md +0 -19
- package/docs/server.hytopia.webserver.md +1 -2
- package/docs/server.md +12 -1
- package/docs/server.rigidbody.md +0 -35
- package/docs/server.rigidbodyoptions.md +0 -19
- package/docs/server.webserver.md +1 -2
- package/examples/block-entity/README.md +15 -0
- package/examples/block-entity/assets/audio/music/cave.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/desert.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/end.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/jungle.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/nether.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/night.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/night2.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/overworld.mp3 +0 -0
- package/examples/block-entity/assets/audio/music/snow.mp3 +0 -0
- package/examples/block-entity/assets/audio/sfx/damage.wav +0 -0
- package/examples/block-entity/assets/audio/sfx/step.wav +0 -0
- package/examples/block-entity/assets/certs/README.md +10 -0
- package/examples/block-entity/assets/certs/localhost.crt +20 -0
- package/examples/block-entity/assets/certs/localhost.key +27 -0
- package/examples/block-entity/assets/cubemaps/skybox/+x.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/+y.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/+z.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-x.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-y.png +0 -0
- package/examples/block-entity/assets/cubemaps/skybox/-z.png +0 -0
- package/examples/block-entity/assets/map.json +2623 -0
- package/examples/block-entity/assets/models/bat.gltf +1 -0
- package/examples/block-entity/assets/models/chicken.gltf +1 -0
- package/examples/block-entity/assets/models/cow.gltf +1 -0
- package/examples/block-entity/assets/models/donkey.gltf +1 -0
- package/examples/block-entity/assets/models/horse.gltf +1 -0
- package/examples/block-entity/assets/models/mindflayer.gltf +1 -0
- package/examples/block-entity/assets/models/pig.gltf +1 -0
- package/examples/block-entity/assets/models/player.gltf +1 -0
- package/examples/block-entity/assets/models/rabbit.gltf +1 -0
- package/examples/block-entity/assets/models/sheep.gltf +1 -0
- package/examples/block-entity/assets/models/skeleton.gltf +1 -0
- package/examples/block-entity/assets/models/spider.gltf +1 -0
- package/examples/block-entity/assets/models/squid.gltf +1 -0
- package/examples/block-entity/assets/models/stalker.gltf +1 -0
- package/examples/block-entity/assets/models/zombie.gltf +1 -0
- package/examples/block-entity/assets/textures/bricks.png +0 -0
- package/examples/block-entity/assets/textures/clay.png +0 -0
- package/examples/block-entity/assets/textures/cobblestone.png +0 -0
- package/examples/block-entity/assets/textures/diamond_ore.png +0 -0
- package/examples/block-entity/assets/textures/dirt.png +0 -0
- package/examples/block-entity/assets/textures/dragons_stone.png +0 -0
- package/examples/block-entity/assets/textures/emerald_ore.png +0 -0
- package/examples/block-entity/assets/textures/glass.png +0 -0
- package/examples/block-entity/assets/textures/gold_ore.png +0 -0
- package/examples/block-entity/assets/textures/grass/+x.png +0 -0
- package/examples/block-entity/assets/textures/grass/+y.png +0 -0
- package/examples/block-entity/assets/textures/grass/+z.png +0 -0
- package/examples/block-entity/assets/textures/grass/-x.png +0 -0
- package/examples/block-entity/assets/textures/grass/-y.png +0 -0
- package/examples/block-entity/assets/textures/grass/-z.png +0 -0
- package/examples/block-entity/assets/textures/gravel.png +0 -0
- package/examples/block-entity/assets/textures/ice.png +0 -0
- package/examples/block-entity/assets/textures/infected_shadowrock.png +0 -0
- package/examples/block-entity/assets/textures/iron_ore.png +0 -0
- package/examples/block-entity/assets/textures/lava.png +0 -0
- package/examples/block-entity/assets/textures/log_side.png +0 -0
- package/examples/block-entity/assets/textures/log_top.png +0 -0
- package/examples/block-entity/assets/textures/mossy_coblestone.png +0 -0
- package/examples/block-entity/assets/textures/nuit.png +0 -0
- package/examples/block-entity/assets/textures/oak_leaves.png +0 -0
- package/examples/block-entity/assets/textures/oak_planks.png +0 -0
- package/examples/block-entity/assets/textures/sand.png +0 -0
- package/examples/block-entity/assets/textures/sandstone.png +0 -0
- package/examples/block-entity/assets/textures/shadowrock.png +0 -0
- package/examples/block-entity/assets/textures/snow.png +0 -0
- package/examples/block-entity/assets/textures/stone.png +0 -0
- package/examples/block-entity/assets/textures/stone_bricks.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+x.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+y.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/+z.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-x.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-y.png +0 -0
- package/examples/block-entity/assets/textures/void_grass/-z.png +0 -0
- package/examples/block-entity/assets/textures/void_sand.png +0 -0
- package/examples/block-entity/assets/textures/water.png +0 -0
- package/examples/block-entity/index.ts +173 -0
- package/examples/block-entity/package.json +14 -0
- package/examples/payload-game/index.ts +7 -0
- package/package.json +1 -1
- package/server.api.json +948 -510
- package/server.d.ts +38 -17
- package/server.js +80 -80
- package/docs/server.hytopia.rigidbody.settag.md +0 -53
- package/docs/server.hytopia.rigidbody.tag.md +0 -13
- package/docs/server.hytopia.rigidbodyoptions.tag.md +0 -13
- package/docs/server.rigidbody.settag.md +0 -53
- package/docs/server.rigidbody.tag.md +0 -13
- package/docs/server.rigidbodyoptions.tag.md +0 -13
- package/examples/README.md +0 -22
@@ -0,0 +1,55 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [EntityManager](./server.hytopia.entitymanager.md) > [getEntitiesByTagSubstring](./server.hytopia.entitymanager.getentitiesbytagsubstring.md)
|
4
|
+
|
5
|
+
## HYTOPIA.EntityManager.getEntitiesByTagSubstring() method
|
6
|
+
|
7
|
+
Gets all spawned entities in the world with a tag that includes a specific substring.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
getEntitiesByTagSubstring(tagSubstring: string): Entity[];
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
tagSubstring
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
string
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The tag substring to get the entities for.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
[Entity](./server.entity.md)<!-- -->\[\]
|
53
|
+
|
54
|
+
All spawned entities in the world with a tag that includes the provided substring.
|
55
|
+
|
@@ -118,6 +118,34 @@ Gets all spawned entities in the world.
|
|
118
118
|
Gets all spawned entities in the world assigned to a player.
|
119
119
|
|
120
120
|
|
121
|
+
</td></tr>
|
122
|
+
<tr><td>
|
123
|
+
|
124
|
+
[getEntitiesByTag(tag)](./server.hytopia.entitymanager.getentitiesbytag.md)
|
125
|
+
|
126
|
+
|
127
|
+
</td><td>
|
128
|
+
|
129
|
+
|
130
|
+
</td><td>
|
131
|
+
|
132
|
+
Gets all spawned entities in the world with a specific tag.
|
133
|
+
|
134
|
+
|
135
|
+
</td></tr>
|
136
|
+
<tr><td>
|
137
|
+
|
138
|
+
[getEntitiesByTagSubstring(tagSubstring)](./server.hytopia.entitymanager.getentitiesbytagsubstring.md)
|
139
|
+
|
140
|
+
|
141
|
+
</td><td>
|
142
|
+
|
143
|
+
|
144
|
+
</td><td>
|
145
|
+
|
146
|
+
Gets all spawned entities in the world with a tag that includes a specific substring.
|
147
|
+
|
148
|
+
|
121
149
|
</td></tr>
|
122
150
|
<tr><td>
|
123
151
|
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [EntityOptions](./server.hytopia.entityoptions.md) > [blockHalfExtents](./server.hytopia.entityoptions.blockhalfextents.md)
|
4
|
+
|
5
|
+
## HYTOPIA.EntityOptions.blockHalfExtents property
|
6
|
+
|
7
|
+
The half extents of the visual size of the block entity when blockTextureUri is set. If no rigidBodyOptions.colliders are provided, a block collider with the size of the half extents will be created.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
blockHalfExtents?: Vector3;
|
13
|
+
```
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [EntityOptions](./server.hytopia.entityoptions.md) > [blockTextureUri](./server.hytopia.entityoptions.blocktextureuri.md)
|
4
|
+
|
5
|
+
## HYTOPIA.EntityOptions.blockTextureUri property
|
6
|
+
|
7
|
+
The texture uri of a entity if the entity is a block entity, if set rigidBodyOptions collider shape \[0\] must be a block
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
blockTextureUri?: string;
|
13
|
+
```
|
@@ -37,6 +37,44 @@ Description
|
|
37
37
|
</th></tr></thead>
|
38
38
|
<tbody><tr><td>
|
39
39
|
|
40
|
+
[blockHalfExtents?](./server.hytopia.entityoptions.blockhalfextents.md)
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
|
46
|
+
</td><td>
|
47
|
+
|
48
|
+
[Vector3](./server.vector3.md)
|
49
|
+
|
50
|
+
|
51
|
+
</td><td>
|
52
|
+
|
53
|
+
_(Optional)_ The half extents of the visual size of the block entity when blockTextureUri is set. If no rigidBodyOptions.colliders are provided, a block collider with the size of the half extents will be created.
|
54
|
+
|
55
|
+
|
56
|
+
</td></tr>
|
57
|
+
<tr><td>
|
58
|
+
|
59
|
+
[blockTextureUri?](./server.hytopia.entityoptions.blocktextureuri.md)
|
60
|
+
|
61
|
+
|
62
|
+
</td><td>
|
63
|
+
|
64
|
+
|
65
|
+
</td><td>
|
66
|
+
|
67
|
+
string
|
68
|
+
|
69
|
+
|
70
|
+
</td><td>
|
71
|
+
|
72
|
+
_(Optional)_ The texture uri of a entity if the entity is a block entity, if set rigidBodyOptions collider shape \[0\] must be a block
|
73
|
+
|
74
|
+
|
75
|
+
</td></tr>
|
76
|
+
<tr><td>
|
77
|
+
|
40
78
|
[createCustomCharacterController?](./server.hytopia.entityoptions.createcustomcharactercontroller.md)
|
41
79
|
|
42
80
|
|
@@ -148,5 +186,24 @@ _(Optional)_ The name of the entity.
|
|
148
186
|
_(Optional)_ The rigid body options for the entity.
|
149
187
|
|
150
188
|
|
189
|
+
</td></tr>
|
190
|
+
<tr><td>
|
191
|
+
|
192
|
+
[tag?](./server.hytopia.entityoptions.tag.md)
|
193
|
+
|
194
|
+
|
195
|
+
</td><td>
|
196
|
+
|
197
|
+
|
198
|
+
</td><td>
|
199
|
+
|
200
|
+
string
|
201
|
+
|
202
|
+
|
203
|
+
</td><td>
|
204
|
+
|
205
|
+
_(Optional)_ An arbitrary identifier tag of the entity. Useful for your own logic.
|
206
|
+
|
207
|
+
|
151
208
|
</td></tr>
|
152
209
|
</tbody></table>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [HYTOPIA](./server.hytopia.md) > [EntityOptions](./server.hytopia.entityoptions.md) > [tag](./server.hytopia.entityoptions.tag.md)
|
4
|
+
|
5
|
+
## HYTOPIA.EntityOptions.tag property
|
6
|
+
|
7
|
+
An arbitrary identifier tag of the entity. Useful for your own logic.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
tag?: string;
|
13
|
+
```
|
package/docs/server.hytopia.md
CHANGED
@@ -800,12 +800,23 @@ Description
|
|
800
800
|
</th></tr></thead>
|
801
801
|
<tbody><tr><td>
|
802
802
|
|
803
|
+
[DEFAULT\_BLOCK\_ENTITY\_RIGID\_BODY\_OPTIONS](./server.hytopia.default_block_entity_rigid_body_options.md)
|
804
|
+
|
805
|
+
|
806
|
+
</td><td>
|
807
|
+
|
808
|
+
The default rigid body options for a block entity when EntityOptions.rigidBodyOptions is not provided.
|
809
|
+
|
810
|
+
|
811
|
+
</td></tr>
|
812
|
+
<tr><td>
|
813
|
+
|
803
814
|
[DEFAULT\_ENTITY\_RIGID\_BODY\_OPTIONS](./server.hytopia.default_entity_rigid_body_options.md)
|
804
815
|
|
805
816
|
|
806
817
|
</td><td>
|
807
818
|
|
808
|
-
The default rigid body options when EntityOptions.rigidBodyOptions is not provided.
|
819
|
+
The default rigid body options for a model entity when EntityOptions.rigidBodyOptions is not provided.
|
809
820
|
|
810
821
|
|
811
822
|
</td></tr>
|
@@ -366,27 +366,6 @@ RAPIER.RigidBody \| undefined
|
|
366
366
|
The raw RAPIER rigid body instance.
|
367
367
|
|
368
368
|
|
369
|
-
</td></tr>
|
370
|
-
<tr><td>
|
371
|
-
|
372
|
-
[tag](./server.hytopia.rigidbody.tag.md)
|
373
|
-
|
374
|
-
|
375
|
-
</td><td>
|
376
|
-
|
377
|
-
`readonly`
|
378
|
-
|
379
|
-
|
380
|
-
</td><td>
|
381
|
-
|
382
|
-
string \| undefined
|
383
|
-
|
384
|
-
|
385
|
-
</td><td>
|
386
|
-
|
387
|
-
An arbitrary identifier tag of the rigid body. Useful for your own logic.
|
388
|
-
|
389
|
-
|
390
369
|
</td></tr>
|
391
370
|
</tbody></table>
|
392
371
|
|
@@ -1233,20 +1212,6 @@ Sets whether the rigid body is sleeping.
|
|
1233
1212
|
Sets the soft ccd prediction of the rigid body.
|
1234
1213
|
|
1235
1214
|
|
1236
|
-
</td></tr>
|
1237
|
-
<tr><td>
|
1238
|
-
|
1239
|
-
[setTag(tag)](./server.hytopia.rigidbody.settag.md)
|
1240
|
-
|
1241
|
-
|
1242
|
-
</td><td>
|
1243
|
-
|
1244
|
-
|
1245
|
-
</td><td>
|
1246
|
-
|
1247
|
-
Sets the tag of the rigid body.
|
1248
|
-
|
1249
|
-
|
1250
1215
|
</td></tr>
|
1251
1216
|
<tr><td>
|
1252
1217
|
|
@@ -376,25 +376,6 @@ number
|
|
376
376
|
_(Optional)_ The soft continuous collision detection prediction of the rigid body.
|
377
377
|
|
378
378
|
|
379
|
-
</td></tr>
|
380
|
-
<tr><td>
|
381
|
-
|
382
|
-
[tag?](./server.hytopia.rigidbodyoptions.tag.md)
|
383
|
-
|
384
|
-
|
385
|
-
</td><td>
|
386
|
-
|
387
|
-
|
388
|
-
</td><td>
|
389
|
-
|
390
|
-
string
|
391
|
-
|
392
|
-
|
393
|
-
</td><td>
|
394
|
-
|
395
|
-
_(Optional)_ The tag of the rigid body.
|
396
|
-
|
397
|
-
|
398
379
|
</td></tr>
|
399
380
|
<tr><td>
|
400
381
|
|
package/docs/server.md
CHANGED
@@ -809,12 +809,23 @@ Description
|
|
809
809
|
</th></tr></thead>
|
810
810
|
<tbody><tr><td>
|
811
811
|
|
812
|
+
[DEFAULT\_BLOCK\_ENTITY\_RIGID\_BODY\_OPTIONS](./server.default_block_entity_rigid_body_options.md)
|
813
|
+
|
814
|
+
|
815
|
+
</td><td>
|
816
|
+
|
817
|
+
The default rigid body options for a block entity when EntityOptions.rigidBodyOptions is not provided.
|
818
|
+
|
819
|
+
|
820
|
+
</td></tr>
|
821
|
+
<tr><td>
|
822
|
+
|
812
823
|
[DEFAULT\_ENTITY\_RIGID\_BODY\_OPTIONS](./server.default_entity_rigid_body_options.md)
|
813
824
|
|
814
825
|
|
815
826
|
</td><td>
|
816
827
|
|
817
|
-
The default rigid body options when EntityOptions.rigidBodyOptions is not provided.
|
828
|
+
The default rigid body options for a model entity when EntityOptions.rigidBodyOptions is not provided.
|
818
829
|
|
819
830
|
|
820
831
|
</td></tr>
|
package/docs/server.rigidbody.md
CHANGED
@@ -366,27 +366,6 @@ RAPIER.RigidBody \| undefined
|
|
366
366
|
The raw RAPIER rigid body instance.
|
367
367
|
|
368
368
|
|
369
|
-
</td></tr>
|
370
|
-
<tr><td>
|
371
|
-
|
372
|
-
[tag](./server.rigidbody.tag.md)
|
373
|
-
|
374
|
-
|
375
|
-
</td><td>
|
376
|
-
|
377
|
-
`readonly`
|
378
|
-
|
379
|
-
|
380
|
-
</td><td>
|
381
|
-
|
382
|
-
string \| undefined
|
383
|
-
|
384
|
-
|
385
|
-
</td><td>
|
386
|
-
|
387
|
-
An arbitrary identifier tag of the rigid body. Useful for your own logic.
|
388
|
-
|
389
|
-
|
390
369
|
</td></tr>
|
391
370
|
</tbody></table>
|
392
371
|
|
@@ -1233,20 +1212,6 @@ Sets whether the rigid body is sleeping.
|
|
1233
1212
|
Sets the soft ccd prediction of the rigid body.
|
1234
1213
|
|
1235
1214
|
|
1236
|
-
</td></tr>
|
1237
|
-
<tr><td>
|
1238
|
-
|
1239
|
-
[setTag(tag)](./server.rigidbody.settag.md)
|
1240
|
-
|
1241
|
-
|
1242
|
-
</td><td>
|
1243
|
-
|
1244
|
-
|
1245
|
-
</td><td>
|
1246
|
-
|
1247
|
-
Sets the tag of the rigid body.
|
1248
|
-
|
1249
|
-
|
1250
1215
|
</td></tr>
|
1251
1216
|
<tr><td>
|
1252
1217
|
|
@@ -376,25 +376,6 @@ number
|
|
376
376
|
_(Optional)_ The soft continuous collision detection prediction of the rigid body.
|
377
377
|
|
378
378
|
|
379
|
-
</td></tr>
|
380
|
-
<tr><td>
|
381
|
-
|
382
|
-
[tag?](./server.rigidbodyoptions.tag.md)
|
383
|
-
|
384
|
-
|
385
|
-
</td><td>
|
386
|
-
|
387
|
-
|
388
|
-
</td><td>
|
389
|
-
|
390
|
-
string
|
391
|
-
|
392
|
-
|
393
|
-
</td><td>
|
394
|
-
|
395
|
-
_(Optional)_ The tag of the rigid body.
|
396
|
-
|
397
|
-
|
398
379
|
</td></tr>
|
399
380
|
<tr><td>
|
400
381
|
|
package/docs/server.webserver.md
CHANGED
@@ -0,0 +1,15 @@
|
|
1
|
+
# block-entity
|
2
|
+
|
3
|
+
To install dependencies:
|
4
|
+
|
5
|
+
```bash
|
6
|
+
bun install
|
7
|
+
```
|
8
|
+
|
9
|
+
To run:
|
10
|
+
|
11
|
+
```bash
|
12
|
+
bun run index.ts
|
13
|
+
```
|
14
|
+
|
15
|
+
This project was created using `bun init` in bun v1.1.26. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
For local development self-signed certs are stored here.
|
2
|
+
The server will look for assets/certs/localhost.key and
|
3
|
+
assets/certs/localhost.cert and use those for localhost SSL.
|
4
|
+
|
5
|
+
We use these self-signed certs to allow https://localhost
|
6
|
+
& wss://localhost support. Without this, play.hytopia.com
|
7
|
+
requires a bunch of funky browser flag workarounds in
|
8
|
+
order to connect to your local server. This is only used
|
9
|
+
for local development and will be ignored when your game
|
10
|
+
is deployed to HYTOPIA servers.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDRjCCAi6gAwIBAgIFOTEzNTIwDQYJKoZIhvcNAQELBQAwWDEQMA4GA1UEAxMH
|
3
|
+
SFlUT1BJQTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV
|
4
|
+
BAcTB1NlYXR0bGUxEDAOBgNVBAoTB0hZVE9QSUEwHhcNMjQxMTEzMjIyMjEwWhcN
|
5
|
+
MzQxMTExMjIyMjEwWjAUMRIwEAYDVQQDEwlsb2NhbGhvc3QwggEiMA0GCSqGSIb3
|
6
|
+
DQEBAQUAA4IBDwAwggEKAoIBAQCo2i9L13+4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F9lcaKvOfgcx0JvGEp5SdzQQaS3RJqn0xWLh1O4NMsiVbLNi
|
18
|
+
Zi5qFv7pW/DO174xSa7cMVE8qp8YHAOZdpcqm6cCgYB9FL2ZnetteTQE78E3NsrE
|
19
|
+
pIwPATIeQdOQkOaK3k6Qw57vUrQNYE//LODJAl0Ln21buQd+1MCMhZctRzbvTK8z
|
20
|
+
4TtgpVmyH7g1eouSU/Y/4nEcaYyuQr55ZjImSbGSsMPAN7SlxHytHPpnGj3Z6VKy
|
21
|
+
rKl3CwrDxLjGRL6j0jLeOQKBgBiu3xMoIGy0Iw16o2qQ7GmPTHgEOZUqbLImem5X
|
22
|
+
mCUwM00f80lsq51CUx540NW2CTyWVpr2JnYzk5RZIfDLejRXUvxknny4kEA2ypU6
|
23
|
+
qYGMwU/HBVHkLAn5XvT2a9xM0mzZ558d+ahbw8qAgRxg7BZ+2PW/bf7F2WRBUk1f
|
24
|
+
xauhAoGBALEspoxQozwohGQnP7EMF0/0JoKNpdNv0b0qCVvNiMo0+N297lI2mFQp
|
25
|
+
6xYlW/1l9afLokklF/J2IsyBrTCZoY7SaEk/lMMrQSyra+y0z71ogZ8A4ny9fxsj
|
26
|
+
0dDYJZGllL+3E/MQfd7k+KnOM/+A+cPoAnci76+L3vdkUb2P8SJk
|
27
|
+
-----END RSA PRIVATE KEY-----
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|