LogoLogo
What's new?StatusMSquared
  • Morpheus Platform Documentation
  • What is Morpheus Platform?
    • Glossary
    • Interoperability
    • Support
    • EULA
  • Firewall Problems
  • CREATION
    • Unreal Development
      • Get Started
        • Download the Editor
        • Upload Content
        • Creating your Own Map
        • Morpheus Base Project
        • Differences from Unreal
          • Character Configuration
        • Morpheus Networking
          • Introduction to Morpheus Networking
          • Network Levels
          • Replicated Properties
          • RPCs
          • Morpheus Render Targets
          • Morpheus Array
          • Networking FAQ
          • Replicating Sublevels
      • Editor Versions
      • Performance Guarantees
      • Features & Guides
        • Example Plugin
          • Nameplates
          • In-Game Roles
          • Resizing
        • Actor Pooling
        • Audio
        • Avatars
          • Creating an Avatar
          • Attachments
            • MML Attachments
          • Custom Animation Variables
          • Importing an NFT Collection
          • Capsules and Mesh Transforms
        • Bots
        • Chat
          • Unreal Text Chat
        • Control Panels
          • Control Panel Configuration
          • DJ Booth Mission Control
          • Observer Controls
        • Crowd Audio
        • Crowd Rendering
          • Legacy Animated Crowd
            • Animated Crowd Console Commands
            • Attaching static meshes to crowd members
          • Crowd Materials
          • Performance Parameters
          • Live Config Settings
          • Crowd Animation
            • Crowd Anim Blueprint
              • User Guide - Crowd Anim Blueprint
              • Reference Guide - ABP Nodes
                • Animation Playback
                • States and State Machines
                • Variables
                • Transitions
                • Special
                • Blends
                • Additional Notes
        • Helpers & Extras
          • "Instanced Objects" in Blueprints
          • Objects with "world context"
          • Making DataAsset classes
          • Duplicate Objects
          • The Bootflow Subsystem
          • The "Wait For Condition" System
          • Advanced Graphics Settings
          • Listening to Inputs on UObjects
          • Morpheus UserID
          • World Services
          • M2Extras: Skins System
        • Loading Screen
        • Live Config
          • Editing for a World
          • Editing Locally
          • Default Settings
          • Accessing via Blueprint
          • Adding New Settings
          • Overriding Defaults
          • Using Arrays
        • MML
        • Motion Capture
        • Networking
        • Notifications
        • Raycastable Crowd
        • Singletons
        • Streaming & Multiplatform
          • GFN on Mobile
        • UI
          • "UI Mode"
        • User Collections
          • Creating a New Object Definition
          • Accessing from Unreal
            • Creating Objects Definitions
            • Transfer Objects
            • User Collection Views
            • Receiving Updates
        • Video Players
          • Embedded Video Player
          • Millicast video streaming
            • How to Setup an In-Game Video Stream
            • Picture-in-Picture mode
          • Streaming Video Player
            • How to Setup a URL Video Player
            • Picture-in-Picture mode
        • Visual Debugging
          • Inspector
        • Web UI
        • Online Services
          • KV Store Service
        • Web Requests
          • Http Requests
            • Legacy HTTP Nodes
          • JSON Handling
          • WebSockets
          • Identity Validation
          • Allowed External URLs
          • Walkthrough Example
            • Example Counter Service
        • World Travel
          • World Travel in the Editor
        • Avatar Physics Assets
        • Action Gameplay Helper Components
      • Workflows
        • Upgrade the Editor
        • Editing Project Settings
        • Profiling
        • Marketplace Importing
        • Extra Workflows
          • Setup Play-in-Editor
          • Setup Local Asset Validation
          • Adding Gameplay Tags
          • Validating Game Assets
          • Custom Connection Modes
          • Connect Editor to a World
          • Common Issues
      • Best Practices
    • Worlds
      • Invite Players
        • Setting Role Groups
      • Persistent Worlds
      • Always on Worlds
    • Running Events
      • Large Scale Events - Checklist
      • Anti-Cheat (EAC)
      • Player Entry
        • React Native
        • Steam
        • Hardware Requirements
      • Broadcast
        • OBS Integration
      • Failover
      • Capacity and Queue Management
  • ADMINS
    • Access Control
      • Add Metaverse Contributors
      • Create a New Project
    • Pricing
      • Development Support
      • Included Usage & Overages
      • Cloud Streaming
      • Access Modes
      • War Room Support
      • Platform SLA
    • Settings
      • Projects
  • APIs and Tooling
    • API Reference
      • Accounts
      • Events
      • Key/Value Store
      • Organizations
      • Realtime
      • User Profile
      • World Builder
      • Worlds
    • Template Web App
      • Moderation
    • Pixel Streaming
    • Launcher
  • Integrations
    • Analytics
      • Send Events from Web
      • Send Events from Unreal
    • Chat
      • Integrate Pubnub with your Unreal Project
      • Add Moderation to Chat
Powered by GitBook
On this page
  • Overview
  • Usage
  • Understanding Blueprint Functionality
  • Muting Functionality
  • Popup Message
  • Muted Icon
  • Muted Message
  • Testing the Silencer Locally

Was this helpful?

  1. CREATION
  2. Unreal Development
  3. Features & Guides
  4. Gameplay Content

Player Silencer

Last updated 1 year ago

Was this helpful?

Overview

The silencer is used to mute/unmute player's microphones, mainly for moderation purposes

Usage

To be able to use the Silencer the user need to have the PDA_Item_Silencer_PlayerSelector in the inventory and equip it. Once the item is selected the Silencer UI will appear in the bottom left corner. While active you will be able to select as many people as necessary and mute them. There are multiple selection options that come from the PlayerSelector Device, like Direct or Brush selection under Manual Selection. A "Select by Tag" and "Select by Role" are on the works.

To mute the selected users use the buttons on the UI or use the shortcuts indicated on the left of the corresponding button. The muted user will be notified in multiple ways. A "You are muted" message will appear on top of the microphone icon on the bottom right corner. Also, a message popup will appear for a couple of seconds notifying that you have been muted and the user that muted you. In a future we will have a "Reason" section to explain the mute action.

As long as the item is active, the user with the Silencer will be able to see who is muted on the session indicated by a Muted red icon on top of the user nametag.

Understanding Blueprint Functionality

There are multiple sections of this system that can be customized

Muting Functionality

The Muting happens under BP_SilencerAbility_PlayerSelector. The default behavior is to join the players selected with the Manual Selection with the users that will fall under one of the Tags or Roles selected, adding all the users under one big list and applying the action to all of them. Any change to the selection should be here and call SetCharacterMuted with the final list. Note that the players that have the "VoiceAuthority" Capability won't be muted.

Popup Message

The message displaying "You have been muted by User_X" is displayed using the BPC_GlobalMessageReceiver and is called from BPMC_CrowdAudio -> OnRep_ManuallyMuted. Any modification to the message can be added there using the S_TemporaryMessageRow array. The duration for the Popup can be changed on the SendMessageRows call.

Muted Icon

The Muted icon that appears on top of the player nameplate corresponds to the WBP_Muted. This widget contains the logic that allows it to only be visible if you have the Silencer active and the player you see is muted. Any change to the design or visibility functionality should be contained in this widget.

Muted Message

The "You are muted" message corresponds to the WBP_ManuallyMutedNotice. Similar to the Muted Icon this widget contains the logic to only be visible if you are muted. The message displayed is a simple text widget.

Testing the Silencer Locally

Once you have multiple users on the same session working you need to equip the Silencer Item. Check if your role have the Silencer Item assigned or use "juno.inventory.additems PDA_Item_Silencer_PlayerSelector" to add it through commands. Press the corresponding key of your hotbar to activate the Silencer.

To be able to test locally the Silencer there are a couple of steps to follow. Use guide to create multiple accounts to be able to test it locally using the Unreal Editor.

THIS