description |
---|
This page describes miscellaneous API methods |
killboxSet(float)
Sets the height level under which we kill or despawn an entity.
{% tabs %} {% tab title="Details" %}
The default value is -40
. This can also be set from the server config.
Type | Description |
---|---|
float | Y level height |
0 if successful, -1 if invalid
{% endtab %}
{% tab title="Example" %}
// TODO
{% endtab %} {% endtabs %}
killboxGet()
Retrieves the current height level at which we kill/despawn an entity.
{% tabs %} {% tab title="Details" %}
None.
The current height level.
{% endtab %}
{% tab title="Example" %}
// TODO
{% endtab %} {% endtabs %}