hytopia 0.1.20 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/boilerplate/assets/certs/README.md +2 -3
  2. package/boilerplate/assets/models/bat.gltf +1 -0
  3. package/boilerplate/assets/models/chicken.gltf +1 -0
  4. package/boilerplate/assets/models/cow.gltf +1 -0
  5. package/boilerplate/assets/models/donkey.gltf +1 -0
  6. package/boilerplate/assets/models/horse.gltf +1 -0
  7. package/boilerplate/assets/models/mindflayer.gltf +1 -0
  8. package/boilerplate/assets/models/pig.gltf +1 -0
  9. package/boilerplate/assets/models/rabbit.gltf +1 -0
  10. package/boilerplate/assets/models/sheep.gltf +1 -0
  11. package/boilerplate/assets/models/skeleton.gltf +1 -0
  12. package/boilerplate/assets/models/spider.gltf +1 -1
  13. package/boilerplate/assets/models/squid.gltf +1 -0
  14. package/boilerplate/assets/models/stalker.gltf +1 -0
  15. package/boilerplate/assets/textures/cobblestone.png +0 -0
  16. package/boilerplate/assets/textures/emerald_ore.png +0 -0
  17. package/boilerplate/assets/textures/gold_ore.png +0 -0
  18. package/boilerplate/assets/textures/grass/+x.png +0 -0
  19. package/boilerplate/assets/textures/grass/+y.png +0 -0
  20. package/boilerplate/assets/textures/grass/+z.png +0 -0
  21. package/boilerplate/assets/textures/grass/-x.png +0 -0
  22. package/boilerplate/assets/textures/grass/-y.png +0 -0
  23. package/boilerplate/assets/textures/grass/-z.png +0 -0
  24. package/boilerplate/assets/textures/iron_ore.png +0 -0
  25. package/boilerplate/assets/textures/lava.png +0 -0
  26. package/boilerplate/assets/textures/mossy_coblestone.png +0 -0
  27. package/boilerplate/assets/textures/sand.png +0 -0
  28. package/boilerplate/assets/textures/sandstone.png +0 -0
  29. package/boilerplate/assets/textures/snow.png +0 -0
  30. package/boilerplate/assets/textures/stone_bricks.png +0 -0
  31. package/boilerplate/assets/textures/void_grass/+x.png +0 -0
  32. package/boilerplate/assets/textures/void_grass/+y.png +0 -0
  33. package/boilerplate/assets/textures/void_grass/+z.png +0 -0
  34. package/boilerplate/assets/textures/void_grass/-x.png +0 -0
  35. package/boilerplate/assets/textures/void_grass/-y.png +0 -0
  36. package/boilerplate/assets/textures/void_grass/-z.png +0 -0
  37. package/boilerplate/assets/textures/water.png +0 -0
  38. package/boilerplate/index.ts +0 -11
  39. package/docs/server.hytopia.webserver.md +0 -33
  40. package/docs/server.webserver.md +0 -33
  41. package/examples/character-controller/assets/certs/README.md +2 -3
  42. package/examples/character-controller/index.ts +0 -1
  43. package/examples/entity-spawn/assets/certs/README.md +2 -3
  44. package/examples/entity-spawn/index.ts +0 -2
  45. package/examples/payload-game/assets/certs/README.md +2 -3
  46. package/examples/payload-game/index.ts +0 -5
  47. package/package.json +1 -1
  48. package/server.api.json +2 -66
  49. package/server.d.ts +0 -10
  50. package/server.js +57 -57
  51. package/boilerplate/assets/textures/grass.png +0 -0
  52. package/boilerplate/assets/textures/water_still.png +0 -0
  53. package/docs/server.hytopia.webserver.enablelocalssl.md +0 -17
  54. package/docs/server.webserver.enablelocalssl.md +0 -17
package/server.api.json CHANGED
@@ -28702,39 +28702,7 @@
28702
28702
  "isAbstract": false,
28703
28703
  "name": "WebServer",
28704
28704
  "preserveMemberOrder": false,
28705
- "members": [
28706
- {
28707
- "kind": "Method",
28708
- "canonicalReference": "server!HYTOPIA.WebServer#enableLocalSSL:member(1)",
28709
- "docComment": "/**\n * Enables SSL for local development. The server will be available at https://localhost:8080. This is intended for local development without a reverse proxy. Don't use it when using tunnels like ngrok.com that already handle SSL. Usage of this method will be ignored in production. Must be called in init function of {@link startServer}.\n */\n",
28710
- "excerptTokens": [
28711
- {
28712
- "kind": "Content",
28713
- "text": "enableLocalSSL(): "
28714
- },
28715
- {
28716
- "kind": "Content",
28717
- "text": "void"
28718
- },
28719
- {
28720
- "kind": "Content",
28721
- "text": ";"
28722
- }
28723
- ],
28724
- "isStatic": false,
28725
- "returnTypeTokenRange": {
28726
- "startIndex": 1,
28727
- "endIndex": 2
28728
- },
28729
- "releaseTag": "Public",
28730
- "isProtected": false,
28731
- "overloadIndex": 1,
28732
- "parameters": [],
28733
- "isOptional": false,
28734
- "isAbstract": false,
28735
- "name": "enableLocalSSL"
28736
- }
28737
- ],
28705
+ "members": [],
28738
28706
  "implementsTokenRanges": [
28739
28707
  {
28740
28708
  "startIndex": 1,
@@ -35526,39 +35494,7 @@
35526
35494
  "isAbstract": false,
35527
35495
  "name": "WebServer",
35528
35496
  "preserveMemberOrder": false,
35529
- "members": [
35530
- {
35531
- "kind": "Method",
35532
- "canonicalReference": "server!WebServer#enableLocalSSL:member(1)",
35533
- "docComment": "/**\n * Enables SSL for local development. The server will be available at https://localhost:8080. This is intended for local development without a reverse proxy. Don't use it when using tunnels like ngrok.com that already handle SSL. Usage of this method will be ignored in production. Must be called in init function of {@link startServer}.\n */\n",
35534
- "excerptTokens": [
35535
- {
35536
- "kind": "Content",
35537
- "text": "enableLocalSSL(): "
35538
- },
35539
- {
35540
- "kind": "Content",
35541
- "text": "void"
35542
- },
35543
- {
35544
- "kind": "Content",
35545
- "text": ";"
35546
- }
35547
- ],
35548
- "isStatic": false,
35549
- "returnTypeTokenRange": {
35550
- "startIndex": 1,
35551
- "endIndex": 2
35552
- },
35553
- "releaseTag": "Public",
35554
- "isProtected": false,
35555
- "overloadIndex": 1,
35556
- "parameters": [],
35557
- "isOptional": false,
35558
- "isAbstract": false,
35559
- "name": "enableLocalSSL"
35560
- }
35561
- ],
35497
+ "members": [],
35562
35498
  "implementsTokenRanges": [
35563
35499
  {
35564
35500
  "startIndex": 1,
package/server.d.ts CHANGED
@@ -2401,16 +2401,6 @@ export declare class WebServer implements Readyable {
2401
2401
 
2402
2402
 
2403
2403
 
2404
- /**
2405
- * Enables SSL for local development. The server will be
2406
- * available at https://localhost:8080. This is intended
2407
- * for local development without a reverse proxy. Don't
2408
- * use it when using tunnels like ngrok.com that already
2409
- * handle SSL. Usage of this method will be ignored
2410
- * in production. Must be called in init function of
2411
- * {@link startServer}.
2412
- */
2413
- enableLocalSSL(): void;
2414
2404
 
2415
2405
 
2416
2406