UCR Docs
Discord
  • Welcome
  • Getting Started
    • What's UCR
    • Installation
  • Custom Roles
    • First steps
    • Configuration
      • Configuration elements
      • Health and AHP
      • Hume Shield
      • Effects
      • Stamina
      • Escape Logic
      • Spawn Behavior
      • Custom Flags
        • Vanilla Flags
    • Troubleshooting
    • Compatibility
  • Commands
    • List
    • Overview
    • Info
    • Role
    • Spawn
    • Reload
    • SpawnPoint
      • List
      • Create
      • Delete
      • Goto
      • Sync
      • Migrate
      • Download
    • Percentages
    • Errors
    • Generate
    • Update
    • Owner
    • Version
  • Syntax Notions
    • Enums
    • Arrays
    • Null
Powered by GitBook

© 2025 UncomplicatedCustomServer Collective & FoxWorn

On this page
Export as PDF
  1. Custom Roles
  2. Configuration

Custom Flags

Custom Flags are the easiest and most user-friendly way to add more complex custom behaviors to a Custom Role.

Since v6.0.0 Custom Flags became a more powerful tool as they started supporting arguments and developers could finally create their own.

The Custom Flag configuration param is a List of Custom Abilities. Elements inside this List might also require some arguments that can be added like they were an object.

Here's an example of a Custom Flag configuration:

custom_flags: 
- CustomScpAnnouncer:
    name: '250'
- DoNotTriggerTeslaGates

As you can see the Custom Flag CustomScpAnnouncer does require an argument and it's given like it was an object, while the DoNotTriggerTeslaGates can work without any argument(s).

Developers can read the development page related to Custom Flags (or Modules) in order to create their one that can be also used in the YAML configurations!

PreviousSpawn BehaviorNextVanilla Flags

Last updated 1 month ago