
AutoMegaphone Package Script
- Item name
- AutoMegaphone Package Script
- Category
- Scripts
- Sold by
- MorganeParis
- Min. resale price
- 20
- Listed
- 2/24/2026
Description
AutoMegaphone Package (Policy + Zones) Version 1.5.1 Give your experience clean, automatic Megaphone control without heavy logic or complicated setups. MPP – Auto Megaphone is a dual-script package delivered as a single Script asset. It includes a central Policy controller (the authority) and optional Zone triggers that request Megaphone state changes through ScriptEvents. The Policy script decides who is allowed to use the Megaphone and when, while Zones simply send lightweight requests to enable or disable it. This architecture keeps your scene organized, scalable, and easy to maintain. New in 1.5: the latest request always wins, visitor by visitor. A request that arrives during the cooldown is kept and applied when the cooldown ends, requests of the same instant are grouped (no more bursts of messages on a zone edge), a refused change never leaves a wrong state, "no longer in Megaphone mode" is only announced for visitors the Policy had turned on, the lists accept avatar handles, and the settings are grouped by category in the Build panel. Perfect for: • concerts and live events • public speaking stages • classrooms and guided tours • clubs and roleplay environments • social hubs with different voice zones Examples of setups: • Megaphone ON when users join for instant global announcements • Megaphone enabled only on stage areas • Silent rooms that automatically disable Megaphone • complex layouts using multiple zones (stage / backstage / lobby) The system can also be controlled through Script Events, allowing other scripts to trigger Megaphone changes — including MPP – Action Button (Megaphone on/off for yourself, or for everyone, with an access mode and a whitelist for the "everyone" buttons). ________________________________________ Why it rocks ✅ Central authority The Policy script enforces all rules while zones remain simple trigger tools. ✅ Unlimited zones Add as many trigger volumes as needed to shape your voice layout. ✅ ScriptEvent automation Other scripts and MPP – Action Button can control Megaphone with events. ✅ Built-in anti-spam protection — Improved in 1.5 Per-visitor cooldown, the latest request wins, requests of the same instant grouped, redundant requests ignored. ✅ Advanced targeting system Everyone, Owner Only, Whitelist and Blacklist modes, by avatar handle or UUID. ✅ Flexible feedback system Optional private or public messages with dynamic tokens ({name} {state} {source}), one summary for "all on / all off". ✅ Clean configuration UI Tri-state actions (None / On / Off), operating modes, settings grouped by category. ________________________________________ Technical Details Included modules (one Script asset): • MPP – Auto Megaphone Policy Central controller responsible for all rules and decisions. • MPP – Auto Megaphone Zone Trigger volumes that request Megaphone ON/OFF through ScriptEvents. Requirements: • Policy: no special components required (Policy Collision trigger requires a RigidBody) • Zone: requires RigidBody set as Trigger Volume Policy trigger options: • Join trigger • Collision trigger (optional) • Leave trigger (best effort) • Script Events: self on/off, all on/off (owner only, owner + whitelist, or everyone) Key features: • Per-avatar cooldown, latest request wins (1.5) • “Once per avatar per session” trigger mode • Message tokens: {name} {state} {source} • Warnings in the script console for inconsistent settings (1.5) • Debug logging option ________________________________________ Full documentation online: https://mpp-mainstore.com/sansar/AutoMegaphone/ ________________________________________ Updating from 1.4.4 • Your settings are kept when you update the script: the 26 settings of the Policy and the 5 of the Zone keep their values, only their labels change and move into groups. Take a screenshot of both panels first, update one Policy and one Zone, and check that each object still runs its own module. • The modules are now listed as "MPP - Auto Megaphone Policy" and "MPP - Auto Megaphone Zone". Changelog — Version 1.5.1 • Labels and groups aligned with the other MPP scripts: Activation, Targets, Auto Triggers, Messages, Events, Debug (Policy) and Zone, Debug (Zone); "Enable Script Events". • Modules named without a version number. Changelog — Version 1.5.0 • The latest request wins, visitor by visitor: a request that arrives during the cooldown is kept and applied when it ends, never lost. • Requests of the same instant are grouped (0.1 s), even with Cooldown Seconds at 0: no burst of public messages on a zone edge. • The state remembered for a visitor follows Sansar's answers: a refused change never leaves a wrong state, and the next request goes through. • "... is no longer in Megaphone mode" is only announced for a visitor the Policy had turned on. • All On / All Off: one summary message (public or private to the sender), no more copy per visitor; the denied message is sent at most every 5 seconds. • Whitelist, Blacklist and Global Event Whitelist accept avatar handles as well as UUIDs; old lists still work. • Zones and the Policy collision ignore VR hands. • Warnings at start for inconsistent settings (empty whitelist with a whitelist mode, join and collision sharing "once per session", collision without RigidBody). • Settings grouped by category in the Build panel; more robust in busy scenes. Changelog — Version 1.4.4 • Introduced tri-state actions (None / On / Off) for clearer megaphone behavior control. • Added PolicyOnly / ZoneOnly / Hybrid operating modes for flexible scene setups. • Added support for external ScriptEvent control, allowing other scripts to trigger Megaphone state changes (including MPP – ActionButton). • Improved anti-spam logic to suppress redundant state requests. • Improved editor tooltips and configuration clarity. • General stability improvements and internal code cleanup. ________________________________________ Enjoy and Keep Good Vibes. Hugs from Morgane. ________________________________________