Setting up a server - 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: Setting up a server (/thread-1656.html) |
RE: Setting up a server - LogicParrot - 05-05-2015 Direct ARMv6 (Raspberry-pi) download: http://builds.cuberite.org/job/MCServer%20Linux%20armhf/lastSuccessfulBuild/artifact/MCServer/MCServer.tar The homepage, where you have a selection of downloads: http://mc-server.org/ You just need to extract the tar file and then run it, here's how to do that via console: Code: tar -xvf MCServer.tar #Extract RE: Setting up a server - denbertuz - 05-05-2015 (05-05-2015, 08:27 PM)Safwat Wrote: Direct ARMv6 (Raspberry-pi) download: http://builds.cuberite.org/job/MCServer%20Linux%20armhf/lastSuccessfulBuild/artifact/MCServer/MCServer.tar GREAT - You are my new personal minecraft herobrine (05-05-2015, 08:27 PM)Safwat Wrote: tar -xvf MCServer.tar #Extract Do you have a startup script - would like to ad it so it starts up when the PI is booting. RE: Setting up a server - NiLSPACE - 05-05-2015 I moved this thread to MCServer Discussions I appearantly forgot to move it earlier RE: Setting up a server - LogicParrot - 05-05-2015 (05-05-2015, 08:43 PM)denbertuz Wrote: GREAT - You are my new personal minecraft herobrineWohoo (05-05-2015, 08:43 PM)denbertuz Wrote: Do you have a startup script - would like to ad it so it starts up when the PI is booting. Yes, this is possible. Do you want the server to run in a window after you log in to the desktop? or do you want it to keep running in the background regardless of whether you've logged in to the desktop or not? The second approach is more automatic; if the PI reboots, the server reboots. The first approach requires you to log in to the desktop before the server starts running, but it has a window, allowing you to input commands and such. RE: Setting up a server - LogicParrot - 05-05-2015 I'll list the 2 approaches, I'm assuming the Raspberry uses LXDE. Approach 1, boot at desktop boot (assuming LXDE):
Note that all double-quotes are to be kept, the only thing you need to modify is the uppercase PATH TO THE MCSERVER EXECUTABLE RE: Setting up a server - denbertuz - 05-05-2015 (05-05-2015, 09:11 PM)Safwat Wrote: Yes, this is possible. Do you want the server to run in a window after you log in to the desktop? or do you want it to keep running in the background regardless of whether you've logged in to the desktop or not? The second approach is more automatic; if the PI reboots, the server reboots. The first approach requires you to log in to the desktop before the server starts running, but it has a window, allowing you to input commands and such. I'm a huge fan of headless debian, hence I prefer the "correct" second solution RE: Setting up a server - LogicParrot - 05-05-2015 Note that I fixed a command error in approach 2. I accidentally deleted this remark: If you want to execute server commands / see the server console while using approach 2, there could be an Rcon plugin or something, but I'm not sure, the other devs know better. RE: Setting up a server - xoft - 05-05-2015 Actually RCON is built into MCServer itself, but is not enabled by default. You can find the settings in the settings.ini file. However, the preferred way to interact with the server is via the WebAdmin - that one has to be enabled as well through the webadmin.ini file which also defines the usernames and passwords for logging in. RE: Setting up a server - LogicParrot - 05-05-2015 I tried typing /destroyentities in the webchat but that did not work. Is it possible to call the commands that can be called from console? RE: Setting up a server - NiLSPACE - 05-05-2015 No, you can't use the console commands from the webchat. EDIT: We could however change the webchat command handlers to return a bool and a string. Then the webchat would show the returned string. That way we could simply bind the console commands to the webadmin. |