-
Notifications
You must be signed in to change notification settings - Fork 1
Guide: Monitors
Alan edited this page May 9, 2026
·
3 revisions
Monitors are used to display text.
To get a monitor, use /codebots give <player> <monitor_type>. Size can be 2x1, 3x2 or 4x3. Once you get the monitor item, place it on the ground for the monitor to appear. After the monitor is placed, it will show its unique monitor id which you can use to connect your bot to it.
To connect a bot to the monitor, open the code editor for the bot you want to connect. Add import monitor to the beginning of your code, and inside the main function (preferably at the start of it) add monitor.connect("<monitor id here>"). Bot is now connected to the monitor. You can use monitor.set_text("Hello!") to test the connection.
You can find all functions from the monitor module here.