Cuberite Forum
World seetings - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: World seetings (/thread-2567.html)



World seetings - Gouranga84 - 10-26-2016

Hello together,

I am very new to Cuberite but quite familiar with Minecraft itself ;-) ... Currently I am trying to set up a private MC Server on my RaspPi 3 using Cuberite. Everything works well until now - but: how do I set the raw material Parameters? Height and Rareness and so on ...
And how can I link two worlds using Wood or Stone Buttons - e.g. main world (friendly) and farm world (Monsters).
thanks a lot in advance

P.S. sorry for eventually misunderstandings - I am sitting in Germany :-)

regards
Gouranga


RE: World seetings - NiLSPACE - 10-26-2016

Hello and welcome to the forum,

Currently it's not possible to change the rareness of diamonds and ores. It shouldn't be too hard though: https://github.com/cuberite/cuberite/pull/2670/files#r45543101

If you want to change worlds when pressing a button you'll have to create a plugin. You can find the documentation here: http://apidocs.cuberite.org/
You'll probably need the OnPlayerRightClick hook and the cWorld:GetSignLines function in order to create it.

Edit
It seems the configuration for the ores is already implemented. You'll need to go into your world.ini and in the [Generator] section find the 'Finishers' and replace 'OreNests' with 'OrePockets'. Restart the server and a new value will be added. Something like this:
Code:
OrePocketsBlocks=coalore:0:127:20:16 | ironore:0:64:20:8 | goldore:0:32:2:8 | redstoneore:0:16:8:7 | diamondore:0:15:1:7 | lapisore:0:30:1:6
I'm not sure what the format is of configuration value. @xoft can probably explain things better.


RE: World seetings - Gouranga84 - 10-26-2016

(10-26-2016, 09:27 PM)NiLSPACE Wrote: Hello and welcome to the forum,

Currently it's not possible to change the rareness of diamonds and ores. It shouldn't be too hard though: https://github.com/cuberite/cuberite/pull/2670/files#r45543101

If you want to change worlds when pressing a button you'll have to create a plugin. You can find the documentation here: http://apidocs.cuberite.org/
You'll probably need the OnPlayerRightClick hook and the cWorld:GetSignLines function in order to create it.

Edit
It seems the configuration for the ores is already implemented. You'll need to go into your world.ini and in the [Generator] section find the 'Finishers' and replace 'OreNests' with 'OrePockets'. Restart the server and a new value will be added. Something like this:
Code:
OrePocketsBlocks=coalore:0:127:20:16 | ironore:0:64:20:8 | goldore:0:32:2:8 | redstoneore:0:16:8:7 | diamondore:0:15:1:7 | lapisore:0:30:1:6
I'm not sure what the format is of configuration value. @xoft can probably explain things better.

Hi,

thanks a lot for your Reply!
Just one question - from your mind ... do you think a raspi 3 works as a private Server? (only 3 to 4 Players)


RE: World seetings - NiLSPACE - 10-26-2016

@xoft's Rasberry Pi 1 can handle roughly 5 players, so it shouldn't be a problem for an Pi 3. Granted, we do have advanced worldgen, redstone and entities disabled.


RE: World seetings - Gouranga84 - 10-26-2016

(10-26-2016, 10:36 PM)NiLSPACE Wrote: @xoft's Rasberry Pi 1 can handle roughly 5 players, so it shouldn't be a problem for an Pi 3. Granted, we do have advanced worldgen, redstone and entities disabled.

Hi, thanks! And granted further I want to enable every of those functions - then 4-5 Players should also work, right? I gues the Performance Level of pi 3 is quite enough, I also work with a pi 1 and there are "worlds" between both of them :-).