InteractiveBoard Docs
  • GETTING STARTED
    • Installing InteractiveBoard
    • Commands & Permissions
    • Integrations
    • Creating a board
  • Objects
    • General Information
      • Enabled
      • Properties & Placeholders
      • Conditions
      • Layout
      • Click and Hover
      • Children
      • Cache Behavior
    • Background
    • Button
    • Gif
    • Image
    • Scroll Pane
    • Skin Objects
    • Text Objects
    • Static
      • Action Listener
      • Music Player
      • Delayed Function Timer
      • Repeat Function Timer
  • Functions
    • General Information
      • Conditions
      • Delay
      • Price
    • Switch Scene
    • Game
      • Command
      • Open Crafting Table
      • Play Sound
      • Send Message
      • Switch Server
    • State
      • Scroll Change
      • Enabled
        • Set Enabled State
        • Switch Enabled State
      • Playback
        • Set Playback State
        • Switch Playback State
    • Shop
  • Conditions
    • Has money
    • Permission
  • BOARD SETTINGS
    • General
    • Displays
    • View Grouping & Default Scenes
Powered by GitBook
On this page
  1. Objects
  2. General Information

Conditions

Conditions can be used to only have an object enabled if certain conditions are met.

Information on various types of conditions can be found here: Conditions

## This button only works for players with rank.vip permission
vipbutton1:
  type: button
  size: 256 128
  color: green
  
  ## conditions that need to be met
  conditions:
    ## checks if the player has the rank.vip permission
    perm1:
      type: permission
      ## permission to check
      permission: 'rank.vip'
  ## Button can't be clicked if permissions aren't met    
  on-click:
    sendmsg1:
      type: send_message
      message: 'You can only see this button and click it if you have the VIP rank!'

Last updated 8 months ago