User Tools

Site Tools


usage:atlatc:environment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
usage:atlatc:environment [2020-01-23 18:01]
orwell created
usage:atlatc:environment [2021-04-28 14:29] (current)
orwell no new major version
Line 82: Line 82:
 /env_setup <name of environment> /env_setup <name of environment>
 </code> </code>
 +
 +{{usage:nodes:formspec-edit-env.png?300}}
  
 The buttons on the top row can be used to save the changes, re-run the init code and to delete the environment. The text field on the top-right can be used to copy-paste the position that was last punched by you. (with the introduction of [[usage:atlatc:passive#Passive Component Naming]], this facility had become obsolete) The buttons on the top row can be used to save the changes, re-run the init code and to delete the environment. The text field on the top-right can be used to copy-paste the position that was last punched by you. (with the introduction of [[usage:atlatc:passive#Passive Component Naming]], this facility had become obsolete)
  
 Whenever you made changes to the init code, it is desirable to re-run it. Note that re-running the init code clears the ''F'' table first. Whenever you made changes to the init code, it is desirable to re-run it. Note that re-running the init code clears the ''F'' table first.
 +
 +===== Errors and ''print()'' messages =====
 +
 +Until version 2.3.0, any errors or ''print()'' outputs were printed to all players in the server chat. This has changed to reduce chat spam on public servers. Players have to explicitly //subscribe// to the environments they are interested in. To do this, the following commands are used:
 +
 +  * ''/env_subscribe <env_name>'', ''/env_unsubscribe <env_name>'': Subscribe or unsubscribe from log/error messages originating from this environment
 +
 +  * ''/env_subscriptions [env_name]'': With no arguments, lists the environments you have subscribed to. Given an env name, lists the players that have subscribed to this environment.
 +
 +When creating an environment using ''/env_create'', you are automatically subscribed to it.
  
usage/atlatc/environment.1579798866.txt.gz · Last modified: 2020-01-23 18:01 by orwell