@minecraft/server-admin 1.0.0-beta.1.26.0-preview.26 → 1.0.0-beta.1.26.0-preview.27

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -5
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -72,9 +72,9 @@ export class AsyncPlayerJoinBeforeEvent {
72
72
  allowJoin(): void;
73
73
  /**
74
74
  * @remarks
75
- * Deprecated - use {@link disallowJoin} instead.Call this to
76
- * disconnect a player. They will be allowed to try to join
77
- * again.
75
+ * Call this to disallow the player from joining the server.
76
+ * This is useful for preventing unauthorized access to the
77
+ * server.
78
78
  *
79
79
  * @throws This function can throw errors.
80
80
  *
@@ -83,8 +83,10 @@ export class AsyncPlayerJoinBeforeEvent {
83
83
  disallowJoin(reason?: string): void;
84
84
  /**
85
85
  * @remarks
86
- * Call this to stop the player from joining the server. They
87
- * will be allowed to try to join again.
86
+ * Deprecated - use {@link disallowJoin} instead.Call this to
87
+ * disconnect a player. They will be allowed to try to join
88
+ * again. They will be allowed to try to join again after being
89
+ * disconnected.
88
90
  *
89
91
  * @throws This function can throw errors.
90
92
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server-admin",
3
- "version": "1.0.0-beta.1.26.0-preview.26",
3
+ "version": "1.0.0-beta.1.26.0-preview.27",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {