Difference between revisions of "Headless Client/Server/ja"
(Updating to match new version of source page) |
|||
Line 14: | Line 14: | ||
*ヘッドレスクライアント(headless-client)ブランチに切り替えます | *ヘッドレスクライアント(headless-client)ブランチに切り替えます | ||
+ | <div class="mw-translate-fuzzy"> | ||
== コンフィグレーション == | == コンフィグレーション == | ||
* Steamがアップデートを完了したら、インストールフォルダを開きます。 ヘッドレスクライアントは、"Headless Client"サブフォルダにあります。 | * Steamがアップデートを完了したら、インストールフォルダを開きます。 ヘッドレスクライアントは、"Headless Client"サブフォルダにあります。 | ||
Line 43: | Line 44: | ||
サーバーがシャットダウン時に未保存の変更を保存できるようにするには、<code>shutdown</code>コマンドを使用してください。 | サーバーがシャットダウン時に未保存の変更を保存できるようにするには、<code>shutdown</code>コマンドを使用してください。 | ||
設定ファイルの例: | 設定ファイルの例: | ||
+ | { | ||
+ | "tickRate": 60.0, | ||
+ | "usernameOverride": null, | ||
+ | "loginCredential": null, | ||
+ | "loginPassword": null, | ||
+ | "startWorlds": [ | ||
+ | { | ||
+ | "sessionName": "My World 1", | ||
+ | "description": null, | ||
+ | "maxUsers": 32, | ||
+ | "accessLevel": "LAN", | ||
+ | "tags": null, | ||
+ | "mobileFriendly": false, | ||
+ | "loadWorldPresetName": "BasicEmpty", | ||
+ | "saveAsOwner" : "LocalMachine", | ||
+ | "autoRecover": true, | ||
+ | "saveOnExit" : true, | ||
+ | "autoSaveInterval" : 240, | ||
+ | "forcedRestartInterval": -1.0 | ||
+ | } | ||
+ | ], | ||
+ | "dataFolder": null, | ||
+ | "cacheFolder": null | ||
+ | } | ||
+ | </div> | ||
+ | |||
+ | * The "loadWorldPresetName": loads a world based on neos world templates, the templates are: "SpaceWorld", "Basic Empty", "GridSpace", "Microworld", "Testing Scaling", "ScratchSpace", "ScratchSpace (mobile)", "Instancing Test", "Physical Locomotion Test" and "UIX Test" | ||
+ | |||
+ | * The "defaultUserRoles" defines the user and access level for the world. The format is "USERNAME": "ROLE", The roles are: "Admin", "Builder", "Moderator", "Guest", "Spectator". | ||
+ | |||
+ | * Run the executable to start the client | ||
+ | |||
+ | == Configuration for local or Cloud world save == | ||
+ | To configure Headless Client/Server to act as a local storage server, set your world to <code>"saveAsOwner" : "LocalMachine"</code> (will be replaced after first execution with it's unique <code>startWorldURL</code>) as well as <code>"saveOnExit" : true</code> and your desired <code>autoSaveInterval</code>.<br /> | ||
+ | If you want the world data saved to the cloud (a valid dedicated neos account will be needed), set <code> "saveAsOwner" : "CloudUser"</code>. </br> | ||
+ | Please use the <code>shutdown</code> command to allow the server to save any unsaved changes on shutdown. | ||
+ | Config file example: | ||
{ | { | ||
"tickRate": 60.0, | "tickRate": 60.0, |
Revision as of 14:10, 30 January 2021
ヘッドマウントディスプレイ無しのクライアント/サーバーは、グラフィカルユーザーインターフェイスを除くNeosコマンドラインビルドであり、サーバーなどのレンダリングが不要なシナリオで効果的に実行できます。Neos Proユーザーと、 Gunterレベル以上のすべての Patronsは、ヘッドレスクライアント/サーバービルドにアクセスできます。 Discordチャネル #headless-clientを参照するか、管理者に連絡してアクセスコードを取得してください。
インストール
- SteamCMDコマンドを使用する
app_update 740250 -beta headless-client -betapassword your_code
または、グラフィカルインターフェイスを使用している場合:
- Steamに移動し、Neos Propertiesを開いて、BETAsタブに移動します
- コードを使用してベータ版ブランチをアクティブ化する
- ヘッドレスクライアント(headless-client)ブランチに切り替えます
コンフィグレーション
- Steamがアップデートを完了したら、インストールフォルダを開きます。 ヘッドレスクライアントは、"Headless Client"サブフォルダにあります。
- Config/DefaultConfig.jsonファイルを使用して、スタートアップワールドをセットアップするか、アカウントにログインさせることができます(メインのNeosアカウントは使用しないでください)
{ "tickRate": 60.0, "usernameOverride": "10 year old ThinkPad", "loginCredential": null, "loginPassword": null, "startWorld": { "sessionName": "Headless Lounge", "description": "This one is running on my 10 year old TabletPC. Let's see how well it runs!", "maxUsers": 16, "accessLevel": "Anyone", "tags": null, "mobileFriendly": false, "loadWorldURL": null, "loadWorldPresetName": "SpaceWorld", "adminUsernames": [ "Frooxius", "Aegis_Wolf", "Nexulan" ] } }
- 実行可能ファイルを実行してクライアントを起動します
ローカルストレージの設定
ヘッドレスクライアント/サーバーをローカルストレージサーバーとして機能するように構成するには、ワールドを"saveAsOwner":"LocalMachine"
に設定します。(最初の実行後に一意のstartWorldURL
に置き換えられます)および"saveOnExit":true
および必要なautoSaveInterval
。
サーバーがシャットダウン時に未保存の変更を保存できるようにするには、shutdown
コマンドを使用してください。
設定ファイルの例:
{ "tickRate": 60.0, "usernameOverride": null, "loginCredential": null, "loginPassword": null, "startWorlds": [ { "sessionName": "My World 1", "description": null, "maxUsers": 32, "accessLevel": "LAN", "tags": null, "mobileFriendly": false, "loadWorldPresetName": "BasicEmpty", "saveAsOwner" : "LocalMachine", "autoRecover": true, "saveOnExit" : true, "autoSaveInterval" : 240, "forcedRestartInterval": -1.0 } ], "dataFolder": null, "cacheFolder": null }
- The "loadWorldPresetName": loads a world based on neos world templates, the templates are: "SpaceWorld", "Basic Empty", "GridSpace", "Microworld", "Testing Scaling", "ScratchSpace", "ScratchSpace (mobile)", "Instancing Test", "Physical Locomotion Test" and "UIX Test"
- The "defaultUserRoles" defines the user and access level for the world. The format is "USERNAME": "ROLE", The roles are: "Admin", "Builder", "Moderator", "Guest", "Spectator".
- Run the executable to start the client
Configuration for local or Cloud world save
To configure Headless Client/Server to act as a local storage server, set your world to "saveAsOwner" : "LocalMachine"
(will be replaced after first execution with it's unique startWorldURL
) as well as "saveOnExit" : true
and your desired autoSaveInterval
.
If you want the world data saved to the cloud (a valid dedicated neos account will be needed), set "saveAsOwner" : "CloudUser"
.
Please use the shutdown
command to allow the server to save any unsaved changes on shutdown.
Config file example:
{ "tickRate": 60.0, "usernameOverride": null, "loginCredential": null, "loginPassword": null, "startWorlds": [ { "sessionName": "My World 1", "description": null, "maxUsers": 32, "accessLevel": "LAN", "tags": null, "mobileFriendly": false, "loadWorldPresetName": "BasicEmpty", "saveAsOwner" : "LocalMachine", "autoRecover": true, "saveOnExit" : true, "autoSaveInterval" : 240, "forcedRestartInterval": -1.0 } ], "dataFolder": null, "cacheFolder": null }