Skip to content

Command line arguments ko KR

GitHub Action edited this page Jan 4, 2021 · 60 revisions

λͺ…령쀄 인자

ASFλŠ” ν”„λ‘œκ·Έλž¨ 싀행에 영ν–₯을 λ―ΈμΉ  수 μžˆλŠ” μ—¬λŸ¬ λͺ…령쀄 μΈμžμ— λŒ€ν•œ 지원을 ν¬ν•¨ν•©λ‹ˆλ‹€. 이것은 ν”„λ‘œκ·Έλž¨μ΄ μ–΄λ–»κ²Œ λ™μž‘ν•΄μ•Όν•˜λŠ”μ§€ νŠΉμ •ν•˜κΈ°μœ„ν•œ κ³ κΈ‰μ‚¬μš©μžκ°€ μ΄μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. ASF.json μ„€μ • 파일의 κΈ°λ³Έ 방식과 λΉ„κ΅ν•˜λ©΄, λͺ…령쀄 μΈμžλŠ” --path λ“± μ£Όμš” μ΄ˆκΈ°μ„€μ •, --system-required λ“± ν”Œλž«νΌ νŠΉν™” μ„€μ •, --cryptkey λ“± λ―Όκ°ν•œ 데이터에 μ‚¬μš©ν•©λ‹ˆλ‹€.


μ‚¬μš©λ²•

μ‚¬μš©μ€‘μΈ OS와 ASF μ·¨ν–₯에 따라 μ‚¬μš©λ²•μ΄ λ‹€λ¦…λ‹ˆλ‹€.

일반:

dotnet ArchiSteamFarm.dll --인자1 --인자2

μœˆλ„μš°:

.\ArchiSteamFarm.exe --인자1 --인자2

λ¦¬λˆ…μŠ€/OS X:

./ArchiSteamFarm --인자1 --인자2

λͺ…령쀄 μΈμžλŠ” ArchiSteamFarm.cmdλ‚˜ ArchiSteamFarm.sh 같은 일반 λ„μš°λ―Έ μŠ€ν¬λ¦½νŠΈμ—μ„œλ„ μ§€μ›ν•©λ‹ˆλ‹€. 그외에 λ„μš°λ―Έ 슀크립트λ₯Ό μ‚¬μš©ν• λ•Œ 도컀 ν•­λͺ©μ— λͺ…μ‹œλœ 것 처럼 ASF_ARGS ν™˜κ²½λ³€μˆ˜λ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

μΈμžμ— 곡백이 λ“€μ–΄κ°„λ‹€λ©΄ λ”°μ˜΄ν‘œλ‘œ ν‘œμ‹œν•˜λŠ” 것을 μžŠμ§€λ§ˆμ‹­μ‹œμ˜€. μ•„λž˜ λ‘κ°œλŠ” 잘λͺ»λ˜μ—ˆμŠ΅λ‹ˆλ‹€:

./ArchiSteamFarm --path /home/archi/My Downloads/ASF # Bad!
./ArchiSteamFarm --path=/home/archi/My Downloads/ASF # Bad!

ν•˜μ§€λ§Œ, λ‹€μŒ λ‘κ°œλŠ” μ™„μ „νžˆ μ •μƒμž…λ‹ˆλ‹€.

./ArchiSteamFarm --path "/home/archi/My Downloads/ASF" # OK
./ArchiSteamFarm "--path=/home/archi/My Downloads/ASF" # OK

인자

--cryptkey <key> ν˜Ήμ€ --cryptkey=<key> - <key>κ°’μ˜ 자체 μ•”ν˜Έν™” ν‚€λ₯Ό 가지고 ASFλ₯Ό μ‹œμž‘ν•©λ‹ˆλ‹€. 이 μ˜΅μ…˜μ€ **λ³΄μ•ˆ**에 영ν–₯을 μ£Όκ³  ASFκ°€ μ‹€ν–‰νŒŒμΌμ— ν•˜λ“œμ½”λ”©λœ κΈ°λ³Έ ν‚€ λŒ€μ‹  제곡된 자체 <key>ν‚€λ₯Ό μ‚¬μš©ν•˜λ„λ‘ ν•©λ‹ˆλ‹€. Since this property affects default encryption key (for encrypting purposes) as well as salt (for hashing purposes), keep in mind that everything encrypted/hashed with this key will require it to be passed on each ASF run.

이 μ†μ„±κ°’μ˜ νŠΉμ„±λ•Œλ¬Έμ— ASF_CRYPTKEY ν™˜κ²½ λ³€μˆ˜λ₯Ό μ„ μ–Έν•˜μ—¬ cryptkeyλ₯Ό μ„€μ •ν•˜λŠ” 것도 κ°€λŠ₯ν•©λ‹ˆλ‹€. 인자 처리 쀑 λ―Όκ°ν•œ 정보λ₯Ό ν”Όν•˜κ³  싢은 μ‚¬λžŒλ“€μ—κ²Œ 더 μ μ ˆν•©λ‹ˆλ‹€.


--ignore-unsupported-environment - will cause ASF to ignore detection of unsupported environment, which normally is signalized with an error and forced exit. As of now, unsupported environment is classifed as running .NET Framework build on platform that could be running .NET Core build instead. Since we support generic-netf builds only in very limited scenarios (with Mono), using it for other cases (e.g. for launching on win-x64 platform) is not supported. Visit compatibility for more info.


--network-group <group> or --network-group=<group> - will cause ASF to init its limiters with a custom network group of <group> value. This option affects running ASF in multiple instances by signalizing that given instance is dependent only on instances sharing the same network group, and independent of the rest. Typically you want to use this property only if you're routing ASF requests through custom mechanism (e.g. different IP addresses) and you want to set networking groups yourself, without relying on ASF to do it automatically (which currently includes taking into account WebProxy only). Keep in mind that when using a custom network group, this is unique identifier within the local machine, and ASF will not take into account any other details, such as WebProxy value, allowing you to e.g. start two instances with different WebProxy values which are still dependent on each other.

Due to the nature of this property, it's also possible to set the value by declaring ASF_NETWORK_GROUP environment variable, which may be more appropriate for people that would want to avoid sensitive details in the process arguments.


--no-config-watch - by default ASF sets up a FileSystemWatcher over your config directory in order to listen for events related to file changes, so it can interactively adapt to them. For example, this includes stopping bots on config deletion, restarting bot on config being changed, or loading keys into BGR once you drop them into the config directory. This switch allows you to disable such behaviour, which will cause ASF to completely ignore all the changes in config directory, requiring from you to do such actions manually, if deemed appropriate. Usually we recommend to keep the config events enabled, but if you have a particular reason for disabling them and would instead prefer ASF to not do that, you can use this switch for achieving that purpose.


--no-restart - 이 μŠ€μœ„μΉ˜λŠ” 주둜 도컀 μ»¨ν…Œμ΄λ„ˆμ—μ„œ μ‚¬μš©ν•˜λ©° AutoRestart 값을 false둜 κ°•μ œν•©λ‹ˆλ‹€. νŠΉλ³„ν•œ ν•„μš”κ°€ μ—†λ‹€λ©΄ ν™˜κ²½μ„€μ •μ—μ„œ AutoRestart ν•­λͺ©μ„ 직접 μ„€μ •ν•˜μ—¬μ•Ό ν•©λ‹ˆλ‹€. 이 μŠ€μœ„μΉ˜λŠ” 도컀 μŠ€ν¬λ¦½νŠΈκ°€ 자체 ν™˜κ²½μ„€μ •μ„ μ μš©ν• λ•Œ 일반 ν™˜κ²½μ„€μ •μ„ κ±΄λ“œλ¦¬μ§€ μ•Šμ•„λ„ λ˜λ„λ‘ ν•©λ‹ˆλ‹€. λ¬Όλ‘  ASFλ₯Ό 슀크립트 λ‚΄λΆ€μ—μ„œ μ‹€ν–‰ν•˜κ³  μžˆλ‹€λ©΄ 이 μŠ€μœ„μΉ˜λ₯Ό ν™œμš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. (그렇지 μ•Šλ‹€λ©΄ 일반 ν™˜κ²½μ„€μ • ν•­λͺ©μ΄ λ‚«μŠ΅λ‹ˆλ‹€)


--path <path> ν˜Ήμ€ --path=<path> - ASFλŠ” μ„€μΉ˜μ‹œμ— 자체 디렉토리λ₯Ό νƒμƒ‰ν•©λ‹ˆλ‹€. 이 인자λ₯Ό μ§€μ •ν•˜λ©΄ ASFλŠ” μ„€μΉ˜ 후에 주어진 디렉토리λ₯Ό νƒμƒ‰ν•˜κ³ , λ°”μ΄λ„ˆλ¦¬λ₯Ό λ™μΌν•œ μž₯μ†Œμ— λ³΅μ œν•  ν•„μš” 없이 config, plugins 및 www 디렉토리와 NLog.configνŒŒμΌμ„ ν¬ν•¨ν•˜λŠ” λ‹€μ–‘ν•œ μ–΄ν”Œλ¦¬μΌ€μ΄μ…˜ λΆ€λΆ„μ˜ μ‚¬μš©μž μ§€μ •κ²½λ‘œλ‘œ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. λ¦¬λˆ…μŠ€ν˜•νƒœμ˜ νŒ¨ν‚€μ§•μ—μ„œ 그런 것 처럼 λ°”μ΄λ„ˆλ¦¬μ™€ μ‹€μ œ ν™˜κ²½μ„€μ •μ„ λΆ„λ¦¬ν•˜κ³ μž ν• λ•Œ 특히 μœ μš©ν•©λ‹ˆλ‹€. 이 λ°©μ‹μœΌλ‘œ μ—¬λŸ¬ λ‹€λ₯Έ μ„€μΉ˜λ³Έμ„ ν•˜λ‚˜μ˜ (μ΅œμ‹ ) λ°”μ΄λ„ˆλ¦¬λ§ŒμœΌλ‘œ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. κ²½λ‘œλŠ” ASF λ°”μ΄λ„ˆλ¦¬μ˜ ν˜„μž¬ μœ„μΉ˜μ—μ„œ μƒλŒ€κ²½λ‘œ λ˜λŠ” μ ˆλŒ€κ²½λ‘œλ‘œ 지정할 수 μžˆμŠ΅λ‹ˆλ‹€. Keep in mind that this command points to new "ASF home" - the directory that has the same structure as original ASF, with config directory inside, see below example for explanation.

이 μ†μ„±κ°’μ˜ νŠΉμ„±λ•Œλ¬Έμ— ASF_PATH ν™˜κ²½ λ³€μˆ˜λ₯Ό μ„ μ–Έν•˜μ—¬ μ˜ˆμƒ 경둜λ₯Ό μ„€μ •ν•˜λŠ” 것도 κ°€λŠ₯ν•©λ‹ˆλ‹€. ν”„λ‘œμ„ΈμŠ€ 인자 쀑 λ―Όκ°ν•œ 정보λ₯Ό ν”Όν•˜κ³  싢은 μ‚¬λžŒλ“€μ—κ²Œ 더 μ μ ˆν•©λ‹ˆλ‹€.

If you're considering using this command-line argument for running multiple instances of ASF, we recommend reading our compatibility page on this manner.

Examples:

dotnet /opt/ASF/ArchiSteamFarm.dll --path /opt/TargetDirectory # Absolute path
dotnet /opt/ASF/ArchiSteamFarm.dll --path ../TargetDirectory # Relative path works as well
ASF_PATH=/opt/TargetDirectory dotnet /opt/ASF/ArchiSteamFarm.dll # Same as env variable
β”œβ”€β”€ /opt
β”‚     β”œβ”€β”€ ASF
β”‚     β”‚     β”œβ”€β”€ ArchiSteamFarm.dll
β”‚     β”‚     └── ...
β”‚     └── TargetDirectory
β”‚           β”œβ”€β”€ config
β”‚           β”œβ”€β”€ logs (generated)
β”‚           β”œβ”€β”€ plugins (optional)
β”‚           β”œβ”€β”€ www (optional)
β”‚           β”œβ”€β”€ log.txt (generated)
β”‚           └── NLog.config (optional)
└── ...

--process-required - 싀행쀑인 봇이 μ—†λŠ” 경우 ASFλ₯Ό μ’…λ£Œν•˜λŠ” κΈ°λ³Έ 섀정을 λΉ„ν™œμ„±ν•©λ‹ˆλ‹€. μžλ™ μ’…λ£Œ κΈˆμ§€ 섀정은 λŒ€λΆ€λΆ„μ˜ μ‚¬μš©μžκ°€ ν™œμ„±ν™”λœ λ΄‡μ˜ κ°―μˆ˜μ™€ 상관없이 μ›Ήμ„œλΉ„μŠ€κ°€ λŒμ•„κ°€κΈ°λ₯Ό μ›ν•˜λŠ” **IPC**μ™€μ˜ μ‘°ν•©μ—μ„œ 특히 μœ μš©ν•©λ‹ˆλ‹€. IPC μ˜΅μ…˜μ„ μ‚¬μš©μ€‘μ΄κ±°λ‚˜ ASFλ₯Ό 직접 μ’…λ£Œν• λ•ŒκΉŒμ§€ 계속 μ‹€ν–‰λ˜κΈ°λ₯Ό μ›ν•˜λŠ” 경우 μ•Œλ§žλŠ” μ˜΅μ…˜μž…λ‹ˆλ‹€.

IPCλ₯Ό μ‹€ν–‰ν•  생각이 μ—†λ‹€λ©΄ 그닀지 μ“Έλͺ¨ μ—†μŠ΅λ‹ˆλ‹€. ν•„μš”ν• λ•Œλ§ˆλ‹€ ASFλ₯Ό μ‹œμž‘ν•˜λ©΄ λ©λ‹ˆλ‹€.(이와 λ°˜λŒ€λ‘œ ASF μ›Ήμ„œλ²„λŠ” 당신이 λ³΄λ‚΄λŠ” λͺ…령을 μœ„ν•΄ 항상 λŒ€κΈ°ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€)


--system-required - ASFκ°€ 전체 μƒμ• μ£ΌκΈ°λ™μ•ˆ μ‹œμŠ€ν…œμ΄ μ‚΄μ•„μžˆμ–΄μ•Ό ν•œλ‹€λŠ” μ‹ ν˜Έλ₯Ό μš΄μ˜μ²΄μ œμ— 보내도둝 ν•©λ‹ˆλ‹€. ν˜„μž¬ 이 μŠ€μœ„μΉ˜λŠ” μœˆλ„ κΈ°κΈ°μ—μ„œλ§Œ μœ νš¨ν•˜λ©° ν”„λ‘œμ„ΈμŠ€κ°€ μ‹€ν–‰λ˜λŠ” ν•œ λŒ€κΈ°λͺ¨λ“œλ‘œ λ“€μ–΄κ°€λŠ” 것을 λ°©μ§€ν•©λ‹ˆλ‹€. 밀에 PCλ‚˜ λž©νƒ‘μ—μ„œ 농사λ₯Ό μ§“λŠ” 경우 특히 μœ μš©ν•©λ‹ˆλ‹€. 농사λ₯Ό μ§“λŠ” λ™μ•ˆ μ‹œμŠ€ν…œμ€ 계속 κΉ¨μ–΄μžˆλ‹€κ°€ ASFλŠ” λλ‚˜λ©΄ ν‰μ†Œμ²˜λŸΌ 꺼지고 μ‹œμŠ€ν…œλ„ λ‹€μ‹œ λŒ€κΈ°λͺ¨λ“œλ‘œ 듀어가도둝 ν•˜μ—¬ 농사가 λλ‚˜λ©΄ μ „κΈ°λ₯Ό μ¦‰μ‹œ μ ˆμ•½ν•©λ‹ˆλ‹€.

μ •ν™•ν•œ μžλ™ μ’…λ£Œλ₯Ό μœ„ν•΄ λ‹€λ₯Έ ASF 섀정도 ν•„μš”ν•¨μ„ λͺ…μ‹¬ν•˜μ‹­μ‹œμ˜€. 특히 --process-requiredλ₯Ό ν”Όν•˜κ³  λͺ¨λ“  봇이 ShutdownOnFarmingFinished 섀정을 λ”°λ₯΄λŠ”지λ₯Ό ν™•μΈν•˜μ‹­μ‹œμ˜€. λ¬Όλ‘  μžλ™μ’…λ£ŒλŠ” 이 κΈ°λŠ₯의 였직 ν•œ κ°€λŠ₯성이고 ν•„μš”μ‘°κ±΄μ€ μ•„λ‹™λ‹ˆλ‹€. 예λ₯Όλ“€μ–΄ 이 μ˜΅μ…˜μ„ --process-required와 같이 μ‚¬μš©ν•œλ‹€λ©΄ ASFλ₯Ό μ‹€ν–‰ν•œ 이후 μ‹œμŠ€ν…œμ΄ μ˜μ›νžˆ κΉ¨μ–΄μžˆλ„λ‘ ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

Clone this wiki locally