Skip to content

Peripheral library ​

No description available

Classes ​

Functions ​

mnscript
Dispenser Peripheral.GetConnectedDispenser() 
  • Attempts to find a connected Dispenser peripheral
mnscript
Teleporter Peripheral.GetConnectedTeleporter() 
  • Attempts to find a connected Teleporter peripheral
mnscript
VCMiner[] Peripheral.GetConnectedVCMiners() 
  • Finds all connected VCMiner peripherals.
mnscript
number Peripheral.SetAllVCMinerWallet(string) 
  • Sets the wallet address for all connected VCMiners
mnscript
number Peripheral.StartAllVCMiners() 
  • Starts all connected VCMiners mining
mnscript
Peripheral.StopAllVCMiners() 
  • Stops all connected VCMiners mining
mnscript
Peripheral.TurretMakeFriendly(Player) 
  • Registers a player as friendly to all connected turrets
mnscript
Peripheral.TurretMakeFriendlySteamID(string) 
  • Registers a steamid as friendly to all connected turrets
mnscript
Peripheral.TurretMakeHostile(Player) 
  • Registers a player as hostile to all connected turrets
mnscript
Peripheral.TurretMakeHostileSteamID(string) 
  • Registers a steamid as hostile to all connected turrets
mnscript
Peripheral.TurretSetText(string) 
  • Sets the display text on all connected turrets