Tooltips
Discord
  • Tooltips
  • Start here
  • Support
  • Plugin
    • Features
    • Commands
    • FAQ
    • Guides
      • Clearing cache
      • Furniture shop
      • BetonQuest Dialogue
      • Languages
      • Manual width
  • Configuration
    • Theme
      • Theme textures
      • Making a custom theme
    • Icon
    • Preset
      • Conditions
      • Condition list
      • Show
      • Actions
        • Commands
      • Functions
      • Animations
      • Argument Types
  • Extra
    • Notable 2.0 Changes
    • Integrations
    • Variables
    • API
      • Custom Conditions
Powered by GitBook
On this page
  • Regular
  • Arrays
  1. Configuration
  2. Preset

Argument Types

Various argument types that are found in native conditions

Regular

Name
Description
Value examples
Concrete examples

Integer

A real number

  • 1

  • 2

  • 1000...

  • {distance = 10}

String

Regular text. Some may support PAPI placeholders

  • hello

  • %player_name%...

  • {first=%player_name%}

Boolean

true or false

  • true

  • false

  • {value=true}

Type

Specific type (clarified in the condition list)

  • creative

  • survival

  • grass_block

  • {gm=creative}

Operation

Operation to perform on two variables

  • ==

  • <=

  • >=

  • <

  • >

  • {oper= <=}

  • {o==}

Location

A location in the players current world

  • [ x, y, z]

  • [ 43, 64, -43]

  • { l = [43, 64, -43] }

Slot

A players slot

  • {slot=hand}

Arrays

Some arguments support an array of specific types. For example the gamemode condition can define multiple game modes like so: gamemode{gm=creative,survival} which will trigger the condition if the players gamemode is either creative or survival. Array options are separated with a comma " , ". It's optional to specify multiple values in an array, it can just as well consist of a single value.

conditions:
# Array of game mode types
- gamemode { gm = creative, survival, adventure }
# Array of material types
- standingon { mat = grass_block, dirt_block }
# Array of furniture id strings
- lookingatfurniture { id = table, chair }
PreviousAnimationsNextNotable 2.0 Changes

Last updated 8 months ago

found

here