1. Le forum de Minecraft-France va définitivement fermer ses portes. Celui-ci restera en lecture seule mais vous ne pourrez plus y apporter de nouveaux topics. Nous vous invitons à nous rejoindre sur le Discord de Minecraft-France qui permet de présenter vos projets, discuter avec la communauté etc.. Merci à tous d'avoir fait vivre ce forum de nombreuses années. Pour nous rejoindre sur Discord, Cliquez ici

Serveur Creer un serveur sous linux avec spigot 1.8

Discussion dans 'Tutoriels' créé par cercus, 11 Juil 2015.

  1. cercus

    cercus Bûcheron

    Inscrit:
    13 Fev 2014
    Messages:
    162
    Points:
    98
    Sexe:
    Homme
    Bonjour à tous, je vous présente ici un tutoriel sur comment créer un serveur minecraft avec spigot sous linux (ici j'utiliserais kali linux).

    Etape 1 : Créez un dossier (peu importe le nom du dossier (ici, je le nomerai serveur minecraft) dans votre dossier personnel.

    Etape 2 : Télécharger Spigot : http://getspigot.org/

    Etape 3 : Une fois Spigot téléchargé, mettez le .rar dans le dossier que vous avez crée

    Etape 4 : Toujours dans ce dossier, créez un document texte et le nommer "serveur" (le nom n'a pas d'importance puis l'ouvrir et entrez ceci :
    Code (cpp):
    java -Xmx1024M -Xms1024M -jar spigot.jar
    . Enregistrer le document texte et fermer le document texte.

    Etape 5 : Clique droit sur le document texte "serveur", "propriété", allez dans "Permissions" puis cochez la case " Autoriser l'execution du fichier comme un programme".

    Etape 6 : Lancer ce document texte "serveur" dans le terminal. Normalement, des fichiers seront crées dans ce dossier.

    Etape 7 : Ouvrez le dossier eula.txt et remplacer false par true. Enregistrer le document.

    Etape 8 : Ouvrez à nouveau le document texte "serveur" dans le terminal : vous devrez avoir un truc de ce genre (ne vous préoccupez pas des plugins installés) :
    Code (cpp):
    Loading libraries, please wait...
    [12:26:24 INFO]: Starting minecraft server version 1.8.7
    [12:26:24 INFO]: Loading properties
    [12:26:24 INFO]: Default game type: SURVIVAL
    [12:26:24 INFO]: This server is running CraftBukkit version git-Spigot-f928e7a-f27339c (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT)
    [12:26:25 INFO]: Server Ping Player Sample Count: 12
    [12:26:25 INFO]: Using 4 threads for Netty based IO
    [12:26:25 INFO]: Debug logging is disabled
    [12:26:25 INFO]: Generating keypair
    [12:26:25 INFO]: Starting Minecraft server on *:25565
    [12:26:25 INFO]: Using epoll channel type
    [12:26:26 INFO]: Set PluginClassLoader as parallel capable
    [12:26:26 INFO]: [WorldEdit] Loading WorldEdit v6.1;no_git_id
    [12:26:26 INFO]: [Essentials] Loading Essentials vTeamCity
    [12:26:26 INFO]: [EssentialsProtect] Loading EssentialsProtect vTeamCity
    [12:26:26 INFO]: [EssentialsSpawn] Loading EssentialsSpawn vTeamCity
    [12:26:26 INFO]: [GroupManager] Loading GroupManager v2.0 (Phoenix)
    [12:26:26 INFO]: [EssentialsChat] Loading EssentialsChat vTeamCity
    [12:26:26 INFO]: [Multiverse-Core] Loading Multiverse-Core v2.5-b691
    [12:26:26 INFO]: **** Beginning UUID conversion, this may take A LONG time ****
    [12:26:26 INFO]: Preparing level "world"
    [12:26:26 INFO]: -------- World Settings For [world] --------
    [12:26:26 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [12:26:26 INFO]: Mob Spawn Range: 4
    [12:26:26 INFO]: Anti X-Ray: true
    [12:26:26 INFO]:     Engine Mode: 1
    [12:26:26 INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [12:26:26 INFO]:     Replace Blocks: [1, 5]
    [12:26:26 INFO]: Nerfing mobs spawned from spawners: false
    [12:26:26 INFO]: Cactus Growth Modifier: 100%
    [12:26:26 INFO]: Cane Growth Modifier: 100%
    [12:26:26 INFO]: Melon Growth Modifier: 100%
    [12:26:26 INFO]: Mushroom Growth Modifier: 100%
    [12:26:26 INFO]: Pumpkin Growth Modifier: 100%
    [12:26:26 INFO]: Sapling Growth Modifier: 100%
    [12:26:26 INFO]: Wheat Growth Modifier: 100%
    [12:26:26 INFO]: NetherWart Growth Modifier: 100%
    [12:26:26 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [12:26:26 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [12:26:26 INFO]: Random Lighting Updates: false
    [12:26:26 INFO]: Structure Info Saving: true
    [12:26:26 INFO]: Sending up to 10 chunks per packet
    [12:26:26 INFO]: Max Entity Collisions: 8
    [12:26:26 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [12:26:26 INFO]: Max TNT Explosions: 100
    [12:26:26 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [12:26:26 INFO]: Item Despawn Rate: 6000
    [12:26:26 INFO]: Item Merge Radius: 2.5
    [12:26:26 INFO]: Zombie Aggressive Towards Villager: true
    [12:26:26 INFO]: Arrow Despawn Rate: 1200
    [12:26:26 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [12:26:26 INFO]: View Distance: 10
    [12:26:26 INFO]: Chunks to Grow per Tick: 650
    [12:26:26 INFO]: Clear tick list: false
    [12:26:26 INFO]: Experience Merge Radius: 3.0
    [12:26:27 INFO]: -------- World Settings For [world_nether] --------
    [12:26:27 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [12:26:27 INFO]: Mob Spawn Range: 4
    [12:26:27 INFO]: Anti X-Ray: true
    [12:26:27 INFO]:     Engine Mode: 1
    [12:26:27 INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [12:26:27 INFO]:     Replace Blocks: [1, 5]
    [12:26:27 INFO]: Nerfing mobs spawned from spawners: false
    [12:26:27 INFO]: Cactus Growth Modifier: 100%
    [12:26:27 INFO]: Cane Growth Modifier: 100%
    [12:26:27 INFO]: Melon Growth Modifier: 100%
    [12:26:27 INFO]: Mushroom Growth Modifier: 100%
    [12:26:27 INFO]: Pumpkin Growth Modifier: 100%
    [12:26:27 INFO]: Sapling Growth Modifier: 100%
    [12:26:27 INFO]: Wheat Growth Modifier: 100%
    [12:26:27 INFO]: NetherWart Growth Modifier: 100%
    [12:26:27 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [12:26:27 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [12:26:27 INFO]: Random Lighting Updates: false
    [12:26:27 INFO]: Structure Info Saving: true
    [12:26:27 INFO]: Sending up to 10 chunks per packet
    [12:26:27 INFO]: Max Entity Collisions: 8
    [12:26:27 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [12:26:27 INFO]: Max TNT Explosions: 100
    [12:26:27 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [12:26:27 INFO]: Item Despawn Rate: 6000
    [12:26:27 INFO]: Item Merge Radius: 2.5
    [12:26:27 INFO]: Zombie Aggressive Towards Villager: true
    [12:26:27 INFO]: Arrow Despawn Rate: 1200
    [12:26:27 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [12:26:27 INFO]: View Distance: 10
    [12:26:27 INFO]: Chunks to Grow per Tick: 650
    [12:26:27 INFO]: Clear tick list: false
    [12:26:27 INFO]: Experience Merge Radius: 3.0
    [12:26:27 INFO]: -------- World Settings For [world_the_end] --------
    [12:26:27 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [12:26:27 INFO]: Mob Spawn Range: 4
    [12:26:27 INFO]: Anti X-Ray: true
    [12:26:27 INFO]:     Engine Mode: 1
    [12:26:27 INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [12:26:27 INFO]:     Replace Blocks: [1, 5]
    [12:26:27 INFO]: Nerfing mobs spawned from spawners: false
    [12:26:27 INFO]: Cactus Growth Modifier: 100%
    [12:26:27 INFO]: Cane Growth Modifier: 100%
    [12:26:27 INFO]: Melon Growth Modifier: 100%
    [12:26:27 INFO]: Mushroom Growth Modifier: 100%
    [12:26:27 INFO]: Pumpkin Growth Modifier: 100%
    [12:26:27 INFO]: Sapling Growth Modifier: 100%
    [12:26:27 INFO]: Wheat Growth Modifier: 100%
    [12:26:27 INFO]: NetherWart Growth Modifier: 100%
    [12:26:27 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [12:26:27 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [12:26:27 INFO]: Random Lighting Updates: false
    [12:26:27 INFO]: Structure Info Saving: true
    [12:26:27 INFO]: Sending up to 10 chunks per packet
    [12:26:27 INFO]: Max Entity Collisions: 8
    [12:26:27 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [12:26:27 INFO]: Max TNT Explosions: 100
    [12:26:27 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [12:26:27 INFO]: Item Despawn Rate: 6000
    [12:26:27 INFO]: Item Merge Radius: 2.5
    [12:26:27 INFO]: Zombie Aggressive Towards Villager: true
    [12:26:27 INFO]: Arrow Despawn Rate: 1200
    [12:26:27 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [12:26:27 INFO]: View Distance: 10
    [12:26:27 INFO]: Chunks to Grow per Tick: 650
    [12:26:27 INFO]: Clear tick list: false
    [12:26:27 INFO]: Experience Merge Radius: 3.0
    [12:26:27 INFO]: Preparing start region for level 0 (Seed: -7286129039489547977)
    [12:26:28 INFO]: Preparing spawn area: 10%
    [12:26:29 INFO]: Preparing spawn area: 52%
    [12:26:30 INFO]: Preparing spawn area: 97%
    [12:26:30 INFO]: Preparing start region for level 1 (Seed: -7286129039489547977)
    [12:26:31 INFO]: Preparing spawn area: 47%
    [12:26:31 INFO]: Preparing start region for level 2 (Seed: -7286129039489547977)
    [12:26:31 INFO]: [WorldEdit] Enabling WorldEdit v6.1;no_git_id
    [12:26:32 INFO]: WEPIF: Using the Bukkit Permissions API.
    [12:26:32 INFO]: [WorldEdit] Using com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_8_R3 as the Bukkit adapter
    [12:26:32 INFO]: [Essentials] Enabling Essentials vTeamCity
    [12:26:32 INFO]: Bukkit version format changed. Version not checked.
    [12:26:32 INFO]: git-Spigot-f928e7a-f27339c (MC: 1.8.7)
    [12:26:32 INFO]: 1.8.7-R0.1-SNAPSHOT
    [12:26:32 INFO]: Using locale fr_FR
    [12:26:33 INFO]: Using locale fr_FR
    [12:26:33 INFO]: Essentials: Using config file enhanced permissions.
    [12:26:33 INFO]: Permissions listed in as player-commands will be given to all users.
    [12:26:33 INFO]: [EssentialsProtect] Enabling EssentialsProtect vTeamCity
    [12:26:33 INFO]: [EssentialsSpawn] Enabling EssentialsSpawn vTeamCity
    [12:26:33 INFO]: [GroupManager] Enabling GroupManager v2.0 (Phoenix)
    [12:26:33 INFO]: GroupManager - INFO - World Found: world
    [12:26:33 INFO]: GroupManager - INFO - Superperms support enabled.
    [12:26:33 INFO]: GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    [12:26:33 INFO]: GroupManager - INFO - Backups will be retained for 24 hours!
    [12:26:33 INFO]: GroupManager version 2.0 (Phoenix) is enabled!
    [12:26:33 INFO]: WEPIF: GroupManager detected! Using GroupManager for permissions.
    [12:26:33 INFO]: Essentials: Using GroupManager based permissions.
    [12:26:33 INFO]: [EssentialsChat] Enabling EssentialsChat vTeamCity
    [12:26:33 INFO]: [Multiverse-Core] Enabling Multiverse-Core v2.5-b691
    [12:26:33 INFO]: [Multiverse-Core] [AllPay] - Version 13.0 - hooked into Essentials Economy for Multiverse-Core v2.5-b691
    [12:26:33 INFO]: -------- World Settings For [map_CTM] --------
    [12:26:33 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [12:26:33 INFO]: Mob Spawn Range: 4
    [12:26:33 INFO]: Anti X-Ray: true
    [12:26:33 INFO]:     Engine Mode: 1
    [12:26:33 INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [12:26:33 INFO]:     Replace Blocks: [1, 5]
    [12:26:33 INFO]: Nerfing mobs spawned from spawners: false
    [12:26:33 INFO]: Cactus Growth Modifier: 100%
    [12:26:33 INFO]: Cane Growth Modifier: 100%
    [12:26:33 INFO]: Melon Growth Modifier: 100%
    [12:26:33 INFO]: Mushroom Growth Modifier: 100%
    [12:26:33 INFO]: Pumpkin Growth Modifier: 100%
    [12:26:33 INFO]: Sapling Growth Modifier: 100%
    [12:26:33 INFO]: Wheat Growth Modifier: 100%
    [12:26:33 INFO]: NetherWart Growth Modifier: 100%
    [12:26:33 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [12:26:33 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [12:26:33 INFO]: Random Lighting Updates: false
    [12:26:33 INFO]: Structure Info Saving: true
    [12:26:33 INFO]: Sending up to 10 chunks per packet
    [12:26:33 INFO]: Max Entity Collisions: 8
    [12:26:33 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [12:26:33 INFO]: Max TNT Explosions: 100
    [12:26:33 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [12:26:33 INFO]: Item Despawn Rate: 6000
    [12:26:33 INFO]: Item Merge Radius: 2.5
    [12:26:33 INFO]: Zombie Aggressive Towards Villager: true
    [12:26:33 INFO]: Arrow Despawn Rate: 1200
    [12:26:33 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [12:26:33 INFO]: View Distance: 10
    [12:26:33 INFO]: Chunks to Grow per Tick: 650
    [12:26:33 INFO]: Clear tick list: false
    [12:26:33 INFO]: Experience Merge Radius: 3.0
    [12:26:33 INFO]: Preparing start region for level 3 (Seed: 8272255133245261330)
    [12:26:34 INFO]: Preparing spawn area for map_CTM, 77%
    [12:26:35 INFO]: [Multiverse-Core] 4 - World(s) loaded.
    [12:26:35 INFO]: [Multiverse-Core] Version 2.5-b691 (API v18) Enabled - By Rigby, fernferret, lithium3141 and main--
    [12:26:35 INFO]: Server permissions file permissions.yml is empty, ignoring it
    [12:26:35 INFO]: Done (8,859s)! For help, type "help" or "?"
    [12:26:35 INFO]: GroupManager - INFO - Bukkit Permissions Updated!
    >
     
    Etape 9 : Maintenant, vous pouvez configurer le fichier "server.properties" à votre guise.

    Etape 10 : Pour connaitre votre adresse ip local, ouvrez un terminal et entrez
    Code (cpp):
    ifconfig
     
    Allez ensuite dans "wlan0" et cherchez votre adresse ip de type : 192.168.X.XXX. Copier cette adresse ip. Fermer le terminal.

    Etape 11 : Ouvrez votre launcher minecraft, choisissez un profil avec une version 1.8. Ensuite, allez dans multijoueur puis "add server" ou "Ajouter un serveur". Dans adresse du serveur, entrez l'adresse ip.

    Etape 12 : Enjoy :smile:

    Pouur mettre des plugins sur votre serveur, telecharge les plugins et les mettre dans le dossier "plugins". Redemarrer le serveur

    /!\ Pour fermer votre serveur, taper dans le terminal "stop" pour eviter d'avoir des problemes... /!\

    Sur ce, bonne journée
     
    • Je désapprouve Je désapprouve x 1
    • Utile Utile x 1
  2. Mlakuss

    Mlakuss Rédacteur

    Inscrit:
    7 Sept 2013
    Messages:
    1 694
    Points:
    180
    Sexe:
    Homme
    192.168.xxx C'est l'adresse locale. Le serveur ne marchera que si tu es branché sur la même box que le serveur.
     
  3. cercus

    cercus Bûcheron

    Inscrit:
    13 Fev 2014
    Messages:
    162
    Points:
    98
    Sexe:
    Homme
    oui merci de l'avoir dit mais pour que les gens puissent venir, ils faut ouvrir les ports et entrer l'adresse ip de l'ordi qui heberge le serveur
     
    #3 cercus, 11 Juil 2015
    Dernière édition: 11 Juil 2015
  4. Free17

    Free17 Bûcheron

    Inscrit:
    20 Fev 2014
    Messages:
    108
    Points:
    84
    Sexe:
    Homme
    Y'a beaucoup plus complet et universel sur internet.
    Car là pour faire ton tuto il faut un GUI.
     
  5. TheSilverSnake

    TheSilverSnake Bûcheron

    Inscrit:
    5 Août 2015
    Messages:
    162
    Points:
    63
    Sexe:
    Homme
    Je sens que cela va m'être utile ^^.
     
  6. cercus

    cercus Bûcheron

    Inscrit:
    13 Fev 2014
    Messages:
    162
    Points:
    98
    Sexe:
    Homme
    Merci :)
     

Partager cette page