Craft icon indicating copy to clipboard operation
Craft copied to clipboard

Some questions for the uninitiated

Open chasingmaxwell opened this issue 10 years ago • 5 comments

  1. How do you set a block as a light source?
  2. Does /spawn only work when connecting to a remote server? I built some stuff near where I first spawned, then went exploring, and now I can't find what I first built anymore.
  3. I can't find any documentation about how to use some of the mods in the Wiki page. I can ask for help in the respective repositories, but I was wondering if there is some common method for implementing mods like logicbot or CraftBirds when running ./craft locally.

chasingmaxwell avatar Dec 06 '14 03:12 chasingmaxwell

I just answered a few of my questions by running my own server locally and connecting through /online localhost. It uses the same db so I'm able to /spawn to where I first started and find what I created there. I also figured out how to add CraftBirds. It's just a python script that adds users to a Craft server. I changed the variables at the top to match my local server and ran python boids.py. Logicbot looks like it uses arguments on the logicbot command to connect to a specific host and port. The only thing at this point that I haven't been able to figure out is how to set a block as a light source.

chasingmaxwell avatar Dec 06 '14 04:12 chasingmaxwell

Ctrl + Right Click (or Cmd + Right Click) toggles a block as a light.

fogleman avatar Dec 06 '14 15:12 fogleman

Excellent! Thanks, @fogleman. Is there a way to set a lower or higher light value?

chasingmaxwell avatar Dec 07 '14 01:12 chasingmaxwell

There isn't, although it could be done if the user input mechanism existed.

https://github.com/fogleman/Craft/blob/master/src/main.c#L1515

The light power is hard-coded to 15 there (which is the maximum).

fogleman avatar Dec 07 '14 02:12 fogleman

Perhaps it could work similarly to logicbot? Entering the following sign would set the light value to VALUE.

`light VALUE

chasingmaxwell avatar Dec 07 '14 03:12 chasingmaxwell