-
Notifications
You must be signed in to change notification settings - Fork 2
Debug wand
The debug wand is a creative-only tool which provides various debugging and utility methods.
When shift+right-clicking a computer, it injects Lua's debug
library into the computer. This aids debugging Lua code,
but may be insecure under some runtimes. For more information, see the page on CCTweaks-Lua's wiki.
When shift+right-clicking a network node (such as a cable or modem) it will list various bits of information, such as the peripherals on the network.
If you look at a network node whilst holding the debug wand you will also get a "visualisation" of all nodes on the network and how they are connected. Whilst this is primarily aimed for debugging issues with the network system, it does provide a useful (and pretty) picture of your wired network.
Whilst the debug wand is a creative-only item and so generally inaccessible by normal players, you may still wish to limit its use (for instance if you are running a creative server).
-
Computer.debugWandEnabled=true
: This controls whether the debug wand will inject thedebug
library or print out debugging information.
Visualisation can also be disabled, though its configuration offers more options. These live under the the
Network.Visualisation
config section.
-
enabled
: Whether network visualisation is enabled -
cooldown
: The number of ticks between syncing the network. A lower number means that the large networks will load quicker but increases CPU time and may result in lag. -
renderDistance
: The maximum number of chunks a node can be to be sent to the client. The client may still render nodes further away than that.