Page 1 of 1

Executabil pentru pornirea serverului?

Posted: 22 Oct 2012, 10:33
by Lany
Salut as dori si eu sa stiu se poate face ca executabil pe linux pentru pornirea serverului de bukkit in format ".jar"?Daka da, va rog frumos imi spuneti si mie?Multumesc mult!

Re: Executabil pentru pornirea serverului?

Posted: 22 Oct 2012, 17:36
by xVladyyx
Iti spun cum sa iti faci server bukkit pe Linux eu:
1. Download CraftBukkit's latest build: CraftBukkit - Recommended Build
2. Put the .jar in a folder, for this example we'll use a generic one: ~/craftbukkit
3. Move to the above directory in terminal with 'cd ~/craftbukkit'
4. Create a new file in the minecraft folder and name it craftbukkit.sh
5. Edit the file and paste this into it:

Code: Select all

#!/bin/sh
 BINDIR=$(dirname "$(readlink -fn "$0")")
 cd "$BINDIR"
 java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true
6. Make the file executable, either by running "chmod +x ~/craftbukkit/craftbukkit.sh" in a terminal, or by changing the permissions in the file's properties.
7. Then, in terminal, type '~/craftbukkit/craftbukkit.sh' to run to start the server.
8. When you're done playing around, issue the "stop" command in console.
If you plan to run the server more permanently an init script like this one (recommended)
If you want to run your server with screen, you can use a script like this one (recommended)
SURSA: http://wiki.bukkit.org

Re: Executabil pentru pornirea serverului?

Posted: 25 Oct 2012, 20:16
by Adrian28
TC. Raspuns primit + Autorul nu a mai dat nici un semn.