Allium Peripherals

Allium Peripherals

Mod

Yet another peripheral mod for ComputerCraft:Restitched

Client and server Technology

1,323 downloads
6 followers
Created2 years ago
Updated2 years ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Allium Peripherals

Allium offers two peripherals for CC:R at present. A survival, and creative chat modem. These modems function identically to the chat module from SquidDev's Plethora peripherals mod.

Items

The current list of items in the game, along with a bit of documentation on their methods.

Chat Modem

To start, craft one using 8 gold ingots surrounding a CC speaker. Place one down and right click on one to bind yourself, right click to unbind. Nobody else can unbind you from a chat modem you've bound yourself to (apart from breaking and replacing it). Once bound you have access to all the methods:

  • capture: add a pattern to queue an event every time you send a message that matches. Once a message gets captured, it does not get sent to anyone else.
  • uncapture: removes a single given pattern or all patterns if none are supplied
  • getCaptures: returns a table of all captures
  • getBoundPlayer: returns two strings, the username of the bound player, and the UUID of the bound player
  • say: sends a message to the bound player.

The chat modem allows for unlimited distance sending and receiving of messages, with the drawback that it can only bind to one player.

Creative Chat Modem

The creative chat modem is similar to a survival modem, with the exception that it applies captures globally. Since it lacks the need for a player, the methods getBoundPlayer and say do not apply to the creative chat modem, all others from the survival modem are identical.

Credits

I would like to give a huge(blank) thanks for all the users on the fabric community discord for helping me make this mod a reality, from shouting at me to refresh gradle, to dealing with my mental breakdown while trying to implement block entities. I'd also like to thank SquidDev in particular for assisting me when I came across issues with the CC end of the mod.

External resources



Project members

hugeblank

Owner


Technical information

License
MIT
Client side
required
Server side
required
Project ID