Difference between revisions of "Headless Client/Server/ko"
(Updating to match new version of source page) |
|||
Line 15: | Line 15: | ||
# "headless-client"를 선택합니다. | # "headless-client"를 선택합니다. | ||
+ | <div class="mw-translate-fuzzy"> | ||
== 설정 == | == 설정 == | ||
# 스팀에서 Neos VR의 업데이트가 끝나면, 로컬저장소 열기를 이용하여 게임이 설치된 폴더로 이동합니다. | # 스팀에서 Neos VR의 업데이트가 끝나면, 로컬저장소 열기를 이용하여 게임이 설치된 폴더로 이동합니다. | ||
Line 48: | Line 49: | ||
<br/><br/> | <br/><br/> | ||
설정 파일 샘플: | 설정 파일 샘플: | ||
+ | { | ||
+ | "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:09, 30 January 2021
헤드리스 클라이언트/서버는 NEOS의 커맨드 라인(Console) 버전으로, 서버 등과 같은 그래픽이 배제된 환경하에서 동작합니다.
이 기능에 접근하기 위한 조건으로 사용자의 페트레온에서의 등급이 Gunter 이상이어야 합니다. 우리의 디스코드 체널중 #headless-client에 접속하거나 또는 관리자를 통하여 이 기능에 접근하기 위한 코드를 발급받을 수 있습니다.
설치
- SteamCMD 명령을 사용하는 경우
app_update 740250 -beta headless-client -betapassword 디스코드에서_발급받은_코드
- 그래픽 환경에서 설치하는 경우
- 스팀 내 라이브러리에서 Neos VR을 찾아 마우스 우클릭을 합니다.
- "속성"을 선택하고, 표시되는 속성 창에서 "BETAs" 탭을 클릭합니다.
- 디스코드 체널에서 발급받은 코드를 베타코드 입력창에 입력합니다.
- "headless-client"를 선택합니다.
설정
- 스팀에서 Neos VR의 업데이트가 끝나면, 로컬저장소 열기를 이용하여 게임이 설치된 폴더로 이동합니다.
- 새로 "Headless Client" 폴더가 생성되었음을 확인할 수 있으며, 설정 파일은 그 아래 Config폴더에 있는 DefaultConfig.json 입니다.
- Config/DefaultConfig.json 파일을 열어 설정을 수행하세요. (단, 로그인 설정에서는 Neos VR 메인 계정을 이용하지 말아 주세요.)
{ "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" ] } }
- 4. Neos VR Headless client를 실행합니다.
로컬 저장소를 위한 설정
헤드리스 클라이언트 / 서버가 로컬 스토리지 서버로 작동하도록 구성하려면 설정파일에서
"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 }