Compatibility
Minecraft: Java Edition
1.21.4
1.21–1.21.1
1.20.5–1.20.6
1.20–1.20.1
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Carpet features created for the LAB SMP, as we need them. Currently only contains Scarpet events.
Scarpet events:
__on_player_message_broadcast(player, message)
- Triggers right before a player message is broadcasted to the server.
- Can be cancelled by returning 'cancel', which prevents the message from being sent.
- Useful for making changes to chats before they're sent.
__on_player_edits_sign(player, block)
- Fires after a player edits a sign, after the vanilla text changes take place.
- Can be used to add custom sign formatting.
- Example script