-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Command line arguments ko KR
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-migrate
- by default ASF will automatically migrate your config files to latest syntax. Migration includes conversion of deprecated properties into latest ones, removing properties with default values (as they have no effect), as well as cleaning up the file in general (correcting indentation and likewise). This is almost always a good idea, but you might have a particular situation where you'd prefer ASF to never overwrite the config files automatically. For example, you might want to chmod 400
your config files (read permission for the owner only) or put chattr +i
over them, in result denying write access for everyone, e.g. as a security measure. Usually we recommend to keep the config migration enabled, but if you have a particular reason for disabling it and would instead prefer ASF to not do that, you can use this switch for achieving that purpose.
--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
λ‘ κ°μ ν©λλ€. Unless you have a particular need, you should instead configure AutoRestart
property directly in your config. This switch is here so our docker script won't need to touch your global config in order to adapt it to its own environment. λ¬Όλ‘ 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λ₯Ό μ€νν μ΄ν μμ€ν
μ΄ μμν κΉ¨μ΄μλλ‘ ν μ μμ΅λλ€.
- π‘ Home
- π§ νκ²½μ€μ
- π¬ FAQ
- βοΈ Setting up (start here)
- π₯ λ°±κ·ΈλΌμ΄λ κ²μ λ±λ‘κΈ°
- π’ Commands
- π οΈ Compatibility
- 𧩠ItemsMatcherPlugin
- π Management
- β±οΈ Performance
- π‘ Remote communication
- πͺ Steam κ°μ‘± 곡μ
- π Trading