
Allium Peripherals
The Allium Peripherals mod introduces two unique peripheral devices for ComputerCraft: Restitched at present. These include chat modems for survival and creative modes. These devices operate similarly to the chat modules from the popular Plethora mod by SquidDev.
Available Devices
The modification features several items with various functions and control methods.
Survival Chat Modem
To craft the device, you'll need to arrange 8 gold ingots around a ComputerCraft speaker. After placing the modem, right-click to bind it to your character, and right-click again to unbind. It's important to note that other players cannot unbind you from a chat modem you've bound yourself to (the only exception is breaking and replacing the block). After successful binding, the following methods become available:
capture
: adding a pattern to create an event when sending a message matching the specified template. Once captured, the message is not transmitted to other playersuncapture
: removing a specific pattern or all patterns if parameters are not specifiedgetCaptures
: returns a table with all active capturesgetBoundPlayer
: provides two string values - the bound player's name and their UUIDsay
: sending a message to the bound player
The key advantage of the chat modem is unlimited distance for message transmission and reception, though there is a limitation: the device can only be bound to one player.
Creative Chat Modem
The creative version of the modem functions similarly to the standard one, but with an important difference: captures are applied globally. Since this device doesn't require binding to a specific player, the getBoundPlayer
and say
methods are unavailable for it, while all other functions are completely identical to the survival version.