Où sont les fichiers du serveur ?

  • Auteur de la discussion Auteur de la discussion ben51
  • Date de début Date de début

ben51

Aventurier
4 Janvier 2011
3
0
0
Bonjour,

Je voudrait crée un serveur pour jouer avec des amis, pour le lance aucun problème.

Donc je lance mon serveur (sous linux) qui se trouve dans le dossier minecraft-server dans mon home.

Code:
java -Xms512M -Xmx512M -cp minecraft-serv.jar com.mojang.minecraft.server.MinecraftServer
     22:15:56  Setting up
     22:15:56  Loading level
     22:15:56  Now accepting input on 25565
     22:15:57  Level saved! Load: 0/16
     22:15:57  To connect directly to this server, surf to: http://www.minecraft.net/play.jsp?server=b597662372471bba6242110a1d82d18d
     22:15:57  (This is also in externalurl.txt)
     22:16:21  /127.0.0.1 connected
     22:16:26  Kicking /127.0.0.1: You need to log in!
     22:16:26  /127.0.0.1 disconnected
     22:16:57  Level saved! Load: 0/16
     22:17:57  Level saved! Load: 0/16
     22:18:57  Level saved! Load: 0/16
     22:19:57  Level saved! Load: 0/16
     22:20:57  Level saved! Load: 0/16
***  22:21:42  Failed to assemble heartbeat: java.io.IOException: Server returned HTTP response code: 504 for URL: http://www.minecraft.net/heartbeat.jsp
java.io.IOException: Server returned HTTP response code: 504 for URL: http://www.minecraft.net/heartbeat.jsp
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
	at com.mojang.minecraft.server.d.run(Unknown Source)
     22:21:57  Level saved! Load: 0/16
     22:22:57  Level saved! Load: 0/16
***  22:23:27  Failed to assemble heartbeat: java.io.IOException: Server returned HTTP response code: 502 for URL: http://www.minecraft.net/heartbeat.jsp
java.io.IOException: Server returned HTTP response code: 502 for URL: http://www.minecraft.net/heartbeat.jsp
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
	at com.mojang.minecraft.server.d.run(Unknown Source)
     22:23:57  Level saved! Load: 0/16
     22:24:57  Level saved! Load: 0/16

Oui mais voila déjà je ne peut pas me connecter au serveur sur la même machine.

Mais surtout je n’arrive pas à trouver ou sont les fichiers généré par le serveur et par la même occasion les fichiers ops.txt admins.txt , Server.properties ...

Merci ;)
 
Re: Ou sont les fichiers du serveur ?

Les fichiers se trouvent dans le même dossier que celui du fichier "minecraft_server.exe".
Pour ton problème, il faut bien te connecter avec ton ip pc, pas ton ip internet.
EDIT: Je sais pas comment la trouver sous linux.
 
Re: Ou sont les fichiers du serveur ?

J'ai télécharger le serveur à cette adresse
<!-- m --><a class="postlink" href="http://minecraft.net/minecraft-server.zip">http://minecraft.net/minecraft-server.zip</a><!-- m -->
Mais impossible de me connecter avec Lo ip, et pas de fichier de configuration.


Ensuite j'ai trouvé un autre lien, et la tout fonctionne correctement.
<!-- m --><a class="postlink" href="http://www.minecraft.net/download/minecraft_server.jar">http://www.minecraft.net/download/minecraft_server.jar</a><!-- m -->
 
ben51, j'ai utilisé le deuxième lien que tu nous a donné:
<!-- m --><a class="postlink" href="http://www.minecraft.net/download/minecraft_server.jar">http://www.minecraft.net/download/minecraft_server.jar</a><!-- m -->
mais j'ai un probleme, le programme s'ouvre et voila ce que ça m'affiche:
Code:
[INFO] Starting minecraft server version Beta 1.2_01
[WARNING] **** NOT ENOUGH RAM!
[WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[INFO] Loading properties
[WARNING] server.properties does not exist
[INFO] Generating new properties file
[INFO] Starting Minecraft server on *:25565
[WARNING] Failed to load ban list: java.io.FileNotFoundException: banned-players.txt (Le fichier spécifié est introuvable)
[WARNING] Failed to load ip ban list: java.io.FileNotFoundException: banned-ips.txt (Le fichier spécifié est introuvable)
[WARNING] Failed to load ip ban list: java.io.FileNotFoundException: ops.txt (Le fichier spécifié est introuvable)
[INFO] Preparing level "world"
[INFO] Preparing start region
[INFO] Preparing spawn area: 4%
[...]
[INFO] Preparing spawn area: 97%
[INFO] Done! For help, type "help" or "?"
[INFO] To run the server without a gui, start it like this:
[INFO]    java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
[INFO] Console commands:
[INFO]    help  or  ?               shows this message
[INFO]    kick <player>             removes a player from the server
[INFO]    ban <player>              bans a player from the server
[INFO]    pardon <player>           pardons a banned player so that they can connect again
[INFO]    ban-ip <ip>               bans an IP address from the server
[INFO]    pardon-ip <ip>            pardons a banned IP address so that they can connect again
[INFO]    op <player>               turns a player into an op
[INFO]    deop <player>             removes op status from a player
[INFO]    tp <player1> <player2>    moves one player to the same location as another player
[INFO]    give <player> <id> [num]  gives a player a resource
[INFO]    tell <player> <message>   sends a private message to a player
[INFO]    stop                      gracefully stops the server
[INFO]    save-all                  forces a server-wide level save
[INFO]    save-off                  disables terrain saving (useful for backup scripts)
[INFO]    save-on                   re-enables terrain saving
[INFO]    list                      lists all currently connected players
[INFO]    say <message>             broadcasts a message to all players
[INFO] To run the server without a gui, start it like this:
[INFO]    java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
[INFO] Console commands:
[INFO]    help  or  ?               shows this message
[INFO]    kick <player>             removes a player from the server
[INFO]    ban <player>              bans a player from the server
[INFO]    pardon <player>           pardons a banned player so that they can connect again
[INFO]    ban-ip <ip>               bans an IP address from the server
[INFO]    pardon-ip <ip>            pardons a banned IP address so that they can connect again
[INFO]    op <player>               turns a player into an op
[INFO]    deop <player>             removes op status from a player
[INFO]    tp <player1> <player2>    moves one player to the same location as another player
[INFO]    give <player> <id> [num]  gives a player a resource
[INFO]    tell <player> <message>   sends a private message to a player
[INFO]    stop                      gracefully stops the server
[INFO]    save-all                  forces a server-wide level save
[INFO]    save-off                  disables terrain saving (useful for backup scripts)
[INFO]    save-on                   re-enables terrain saving
[INFO]    list                      lists all currently connected players
[INFO]    say <message>             broadcasts a message to all players
[WARNING] Can't keep up! Did the system time change, or is the server overloaded?
[WARNING] Can't keep up! Did the system time change, or is the server overloaded?

Et là, je suis complètement paumé et je ne sais plus quoi faire pour crée mon serveur.
help me!!!!