Bound - Values (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.2.0

Syntax

bound value %string% (of|from) %bound%

Description

Get/set/delete custom values for bounds. Some objects will be serialized as their type, others will serialize as just a string. Numbers/Locations/Booleans/(Offline)Players/Items will be serialized as their type. Entities will be serialized as a string version of their UUID. All other objects will be serialized as a string. All bound values will return a list of the values, all bound keys will return a list of keys for these values. Deleting all bound values/keys will clear the list.

Examples

set bound value "king" of bound with id "the_garden" to player
set {_v} to bound value "king" of {_bound}
delete bound value "spawn" of {_bound}
set {_values::*} to all bound values of bound with id "ma_bound"
set {_keys::*} to all bound keys of bound with id "look_mah_imma_bound"
delete all bound values from bound with id "now_im_a_sad_valueless_bound"

View source