フラッシュセール 50% 全サーバー割引 残りわずか数時間!
終了まで: 00D 00H 00M 00S
background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categories

Terraria サーバーセットアップガイド


このガイドでは、ワールド設定、serverconfig.txt の設定、ゲームクライアントからの接続を含む、Terraria 専用サーバーのセットアップについて説明します。

クイックリファレンス: サーバーコントロールパネルは https://gpanel.legionhosting.net にあります。以下のファイルパスは、特に記載がない限り、サーバーのルートディレクトリからの相対パスです。

サーバー設定: serverconfig.txt

Terraria サーバーの主要な設定ファイルは serverconfig.txt で、サーバーのルートディレクトリにあります。このファイルは、ワールドの選択、ネットワーク設定、プレイヤー数の上限などを制御します。変更は次回のサーバー再起動時に反映されます。

主要な設定

設定 値の例 説明
world /home/container/saves/Worlds/MyWorld.wld 読み込むワールドファイルへの絶対パス。saves/Worlds/ ディレクトリ内の既存の .wld ファイルと一致する必要があります。
worldpath /home/container/saves/Worlds ワールドファイルが保存されるディレクトリ。この値はパネルによって管理されています — 変更しないでください。
worldname MyWorld ワールドの名前。新しいワールドを自動作成する際に使用されます(autocreate を参照)。
autocreate 1 指定された world ファイルが存在しない場合に、新しいワールドを自動的に作成します。値: 1 = 小(デフォルト)、2 = 中、3 = 大。
seed 12345 ワールド生成シード。ランダムなシードにする場合は空白のままにします。autocreate で新しいワールドが作成される場合にのみ適用されます。GPanel で設定できます。
port サーバーがリッスンするネットワークポート。変更しないでください — パネルが自動的に割り当てます。
maxplayers 8 サーバーで同時に許可されるプレイヤーの最大数。
password mysecretpass 任意の参加パスワード。パスワードなしにする場合は空白のままにします。接続時にプレイヤーはこれを入力する必要があります。
difficulty 0 ワールドの難易度。0 = ノーマル、1 = エキスパート、2 = マスター、3 = ジャーニー。ワールド作成時に設定されます — 作成後の変更は効果がありません。

serverconfig.txt の例

world=/home/container/saves/Worlds/MyWorld.wld
worldpath=/home/container/saves/Worlds
worldname=MyWorld
autocreate=1
seed=
maxplayers=8
password=
difficulty=0
motd=Welcome to the server!
注意: difficulty 設定は、autocreate を介して新しいワールドが作成される場合にのみ適用されます。既存のワールドファイルの難易度を変更することはできません。

ワールドファイルとサイズ

ワールドファイルは .wld 拡張子を使用し、サーバー上の saves/Worlds/ ディレクトリに保存されます。ワールドが作成されると、Terraria はこのファイルを自動的に生成します。

ワールドサイズのオプション(autocreate)

サイズ おおよその寸法
1 小(デフォルト) 4200 x 1200 タイル
2 6400 x 1800 タイル
3 8400 x 2400 タイル

既存のワールドを使用するには、SFTP で .wld ファイルを saves/Worlds/ ディレクトリにアップロードし(SFTP でのファイルのアップロード方法を参照)、その後 serverconfig.txtworld 設定をファイルの完全な絶対パスに更新します。


サーバーへの接続

接続する前に、サーバーの IP アドレスとポートを確認してください。これらは GPanel ダッシュボードで確認できます — サーバーの IP とポートの確認方法を参照してください。

接続の手順

  1. PC で Terraria を起動します。
  2. メインメニューから Multiplayer をクリックします。
  3. プレイするキャラクターを選択します。
  4. Join via IP をクリックします。
  5. 最初のフィールドにサーバーの IP アドレスを入力します。
  6. 2番目のフィールドにポートを入力します(GPanel ダッシュボードに表示されています)。
  7. パスワードが設定されている場合は、プロンプトが表示されたら入力します。
サーバーの IP とポートは、https://gpanel.legionhosting.netGPanel のサーバー接続詳細に表示されています。

ファイルとディレクトリのリファレンス

パス 内容
serverconfig.txt メインのサーバー設定(world、port、password、maxplayers など)
saves/Worlds/ ワールドのセーブファイル(.wld 形式)

関連記事


さらにサポートが必要ですか? https://legionhosting.net/submitticket.php でサポートチケットを開いていただければ、私たちのチームがお手伝いします。

Was this article helpful?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.