hytopia 0.1.29 → 0.1.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/bin/scripts.js +1 -0
  2. package/docs/server.blocktype.md +2 -2
  3. package/docs/server.blocktype.onentitycollision.md +1 -1
  4. package/docs/server.blocktype.onentitycontactforce.md +1 -1
  5. package/docs/server.defaultcharactercontroller.canjump.md +1 -1
  6. package/docs/server.defaultcharactercontroller.canrun.md +1 -1
  7. package/docs/server.defaultcharactercontroller.canwalk.md +1 -1
  8. package/docs/server.defaultcharactercontroller.md +3 -3
  9. package/docs/server.entity.createcustomcharactercontroller.md +2 -2
  10. package/docs/server.entity.md +9 -9
  11. package/docs/server.entity.onblockcollision.md +1 -1
  12. package/docs/server.entity.onblockcontactforce.md +1 -1
  13. package/docs/server.entity.ondespawn.md +1 -1
  14. package/docs/server.entity.onentitycollision.md +1 -1
  15. package/docs/server.entity.onentitycontactforce.md +1 -1
  16. package/docs/server.entity.onspawn.md +1 -1
  17. package/docs/server.entity.ontick.md +1 -1
  18. package/docs/server.entityoptions.createcustomcharactercontroller.md +13 -0
  19. package/docs/server.entityoptions.md +19 -0
  20. package/docs/server.hytopia.blocktype.md +2 -2
  21. package/docs/server.hytopia.blocktype.onentitycollision.md +1 -1
  22. package/docs/server.hytopia.blocktype.onentitycontactforce.md +1 -1
  23. package/docs/server.hytopia.defaultcharactercontroller.canjump.md +1 -1
  24. package/docs/server.hytopia.defaultcharactercontroller.canrun.md +1 -1
  25. package/docs/server.hytopia.defaultcharactercontroller.canwalk.md +1 -1
  26. package/docs/server.hytopia.defaultcharactercontroller.md +3 -3
  27. package/docs/server.hytopia.entity.createcustomcharactercontroller.md +2 -2
  28. package/docs/server.hytopia.entity.md +9 -9
  29. package/docs/server.hytopia.entity.onblockcollision.md +1 -1
  30. package/docs/server.hytopia.entity.onblockcontactforce.md +1 -1
  31. package/docs/server.hytopia.entity.ondespawn.md +1 -1
  32. package/docs/server.hytopia.entity.onentitycollision.md +1 -1
  33. package/docs/server.hytopia.entity.onentitycontactforce.md +1 -1
  34. package/docs/server.hytopia.entity.onspawn.md +1 -1
  35. package/docs/server.hytopia.entity.ontick.md +1 -1
  36. package/docs/server.hytopia.entityoptions.createcustomcharactercontroller.md +13 -0
  37. package/docs/server.hytopia.entityoptions.md +19 -0
  38. package/docs/server.hytopia.moveoptions.md +5 -0
  39. package/docs/server.hytopia.simplecharactercontroller.md +1 -1
  40. package/docs/server.moveoptions.md +5 -0
  41. package/docs/server.simplecharactercontroller.md +1 -1
  42. package/examples/entity-spawn/index.ts +1 -1
  43. package/examples/payload-game/index.ts +46 -104
  44. package/package.json +1 -1
  45. package/server.api.json +142 -60
  46. package/server.d.ts +51 -33
  47. package/server.js +25 -25
  48. package/tsconfig.json +4 -1
  49. package/examples/character-controller/tsconfig.json +0 -27
  50. package/examples/entity-spawn/tsconfig.json +0 -27
  51. package/examples/payload-game/tsconfig.json +0 -27
package/tsconfig.json CHANGED
@@ -12,7 +12,10 @@
12
12
  "strictNullChecks": true,
13
13
  "esModuleInterop": true,
14
14
  "resolveJsonModule": true,
15
- "baseUrl": "."
15
+ "baseUrl": "./",
16
+ "paths": {
17
+ "hytopia": ["./"]
18
+ }
16
19
  },
17
20
  "include": ["./**/*"],
18
21
  "exclude": ["bin/**/*", "node_modules/**/*"]
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- // Enable latest features
4
- "lib": ["ESNext", "DOM"],
5
- "target": "ESNext",
6
- "module": "ESNext",
7
- "moduleDetection": "force",
8
- "jsx": "react-jsx",
9
- "allowJs": true,
10
-
11
- // Bundler mode
12
- "moduleResolution": "bundler",
13
- "allowImportingTsExtensions": true,
14
- "verbatimModuleSyntax": true,
15
- "noEmit": true,
16
-
17
- // Best practices
18
- "strict": true,
19
- "skipLibCheck": true,
20
- "noFallthroughCasesInSwitch": true,
21
-
22
- // Some stricter flags (disabled by default)
23
- "noUnusedLocals": false,
24
- "noUnusedParameters": false,
25
- "noPropertyAccessFromIndexSignature": false
26
- }
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- // Enable latest features
4
- "lib": ["ESNext", "DOM"],
5
- "target": "ESNext",
6
- "module": "ESNext",
7
- "moduleDetection": "force",
8
- "jsx": "react-jsx",
9
- "allowJs": true,
10
-
11
- // Bundler mode
12
- "moduleResolution": "bundler",
13
- "allowImportingTsExtensions": true,
14
- "verbatimModuleSyntax": true,
15
- "noEmit": true,
16
-
17
- // Best practices
18
- "strict": true,
19
- "skipLibCheck": true,
20
- "noFallthroughCasesInSwitch": true,
21
-
22
- // Some stricter flags (disabled by default)
23
- "noUnusedLocals": false,
24
- "noUnusedParameters": false,
25
- "noPropertyAccessFromIndexSignature": false
26
- }
27
- }
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- // Enable latest features
4
- "lib": ["ESNext", "DOM"],
5
- "target": "ESNext",
6
- "module": "ESNext",
7
- "moduleDetection": "force",
8
- "jsx": "react-jsx",
9
- "allowJs": true,
10
-
11
- // Bundler mode
12
- "moduleResolution": "bundler",
13
- "allowImportingTsExtensions": true,
14
- "verbatimModuleSyntax": true,
15
- "noEmit": true,
16
-
17
- // Best practices
18
- "strict": true,
19
- "skipLibCheck": true,
20
- "noFallthroughCasesInSwitch": true,
21
-
22
- // Some stricter flags (disabled by default)
23
- "noUnusedLocals": false,
24
- "noUnusedParameters": false,
25
- "noPropertyAccessFromIndexSignature": false
26
- }
27
- }