Optional
allowsOptional
iconicon: not including this uses the default set by security level: laptop, chip, kellis, tablet, ePhone, ePhone2
LABYRINTHS ONLY: Psylance, PacificAir, Alchemist, DLCLaptop, DLCPC1, DLCPC2, DLCServer
Optional
ipOptional
securitySecurity is a number from 0 to 5 that represents how hard it is to hack From 1-4 it will need that many ports to open, 4 and above will automatically add other security to scale it up easily, you can overwrite specifics below (recommended)
安全性是一个从0到5的数字,代表被入侵的难度。
默认情况下:
安全等级 | 需要破解端口数 | 代理 | 防火墙 | 追踪 |
---|---|---|---|---|
1-3 | 总端口数 - 1 | 不启用 | 不启用 | 不启用 |
4 | 总端口数 - 1 | 不启用 | 不启用 | 启用 |
≥5 | 总端口数 - 2 | 启用 | 启用 | 启用 |
参考:https://github.com/Modern-School/OpenHacknet/blob/main/Computer.cs#L109-L140
Optional
typefor the type flag: 1= corporate, 2 = Home, 3 = server 4 = empty
you can also use the word "empty" to make sure it launches without generating junk files and IRC.
上述内容有误,实际情况是只有 3 种处理方式:
type | 处理方式 |
---|---|
4 , 特例 "empty" |
不生成垃圾文件 |
5 |
生成 eos 设备的文件 |
其他 number |
随机生成垃圾文件,且逻辑一致 |
参考:https://github.com/Modern-School/OpenHacknet/blob/main/ComputerLoader.cs#L73-L81 https://github.com/Modern-School/OpenHacknet/blob/main/Computer.cs#L51-L106
AllowsDefaultBootModule is default to true and means that when you connect to a node it will automatically launch it's program (the last daemon defined in this file) and put it up on the display module.