メインコンテンツへスキップ
見出し画像

2025年版 FiveMサーバーの建て方 (パート4)

    前回は、databaseの設定&サーバーを立てました。
    今回は、TxAdminメニューについてと設定をします。

    画像

    Dashboardでは、サーバーの負荷情報、右のメニューには現在プレイしてい
    る人が表示されます。


    画像

    Live Consoleでは、現在のサーバーのコマンドプロンプトが表示されます。ここでコマンド等も入力できます(あまり使わないです)


    画像

    resource では、Scriptの単体再起動を行うことができます。(結構重宝します。)再起動するほどでもないけど、ちょっと修正しようかなみたいなときに使います。ですが、qb-core等の大元の方を単体再起動をすると、世界がバグってしまうので絶対にしないでください。

    画像

    Serverlog では、txadminの権限を持っている人がどんなことを下のかというログです。汚職していたりするときに重宝するかも?


    画像

    cfg editor では、server.cfgをいじることができます。ですが、基本的に直接弄ったほうがいいので、あまり使うことはないです。

    では上のタブを見ていきましょう。

    画像

    players では、サーバーにログインした人が一覧で表示されます。ここで、警告やBANを行う重要な場所となっています。


    画像

    history では、処置履歴が一覧で表示されます。


    画像

    Player Dropでは、最近に編集されたファイルはどこか、などを見ることができます。簡単に言うと、サーバーデータ編集履歴ですね。


    画像

    whitelist では、whitelistで、入るときに番号を求めて、特定の人だけ入らせることができます。後ほど説明します。


    画像

    Adminsでは、管理者権限(txadminの権限)を与えることができます。

    続いて、settingsタブを紹介します。

    画像

    まず、generalから行きます。
    servername や、languageを変えることができます。
    launguageでは、japaneseもあります。

    画像
    japanese
    画像

    次にfxserverタブを見ていきます。
    Server Data Folderは、基本的に変更しません。
    Restart Scheduleは、自動再起動(強制瞑想)の設定が行えます。
    quietmodeでは、terminal(コマンドプロンプト)に、

    8:42:41 [           resources] Started resource qb-vehiclekeys
    [    c-scripting-core] Creating script environments for qb-vehiclesales
    [           resources] Started resource qb-vehiclesales
    [    c-scripting-core] Creating script environments for qb-vehicleshop
    [           resources] Started resource qb-vehicleshop
    [    c-scripting-core] Creating script environments for qb-vineyard
    [           resources] Started resource qb-vineyard
    [    c-scripting-core] Creating script environments for qb-weed
    [           resources] Started resource qb-weed
    [    c-scripting-core] Creating script environments for LegacyFuel
    [           resources] Started resource LegacyFuel
    [           resources] Started resource bob74_ipl
    [    c-scripting-core] Creating script environments for connectqueue
    [ script:connectqueue] QUEUE:  [connectqueue] Disabling hardcap
    [           resources] Stopping resource hardcap
    [           resources] Started resource connectqueue
    [    c-scripting-core] Creating script environments for interact-sound
    [           resources] Started resource interact-sound
    [           resources] Started resource progressbar
    [           resources] Started resource safecracker
    [    c-scripting-core] Creating script environments for yarn
    [           resources] Started resource yarn
    [ citizen-server-impl] Running build tasks on resource webpack - it'll restart once completed.
    [    c-resources-core] Could not start dependency webpack for resource screenshot-basic.
    [ citizen-server-impl] Couldn't start resource screenshot-basic.
    [    c-scripting-core] Creating script environments for pma-voice
    [           resources] Started resource pma-voice
    [    c-scripting-core] Creating script environments for qb-radio
    [           resources] Started resource qb-radio
    [           resources] Started resource dealer_map
    [           resources] Started resource hospital_map
    [           resources] Started resource prison_canteen
    [resources:prison_mai] Asset prison_main/desertos_prison.ytd uses 30.5 MiB of physical memory.
    [           resources] Started resource prison_main (1 warning)
    [           resources] Started resource prison_meeting
    [ citizen-server-main] Warning: The players.json endpoint has been modified to no longer return the player identifiers without authentication.
    [ citizen-server-main] To learn more about this change read our announcement at https://aka.cfx.re/players-json-privacy
    [   script:mapmanager] Started map fivem-map-skater
    [           resources] Started resource fivem-map-skater
    [ citizen-server-impl] server thread hitch warning: timer interval of 157 milliseconds
    [      script:oxmysql] [8.4.3] Database server connection established!
    [ citizen-server-impl]         fff
    [ citizen-server-impl]   cccc ff   xx  xx     rr rr    eee
    [ citizen-server-impl] cc     ffff   xx       rrr  r ee   e
    [ citizen-server-impl] cc     ff     xx   ... rr     eeeee
    [ citizen-server-impl]  ccccc ff   xx  xx ... rr      eeeee
    [ citizen-server-impl] 
    [ citizen-server-impl] Authenticated with cfx.re Nucleus: https://yusei0810-4dg6oq.users.cfx.re/

    こんな感じのを表示しないようにするという設定です。

    BANタブは基本的にいじらないです。


    画像

    次Whitelistタブです。
    基本的に、
    Discord Server Rolesか、
    Approved licenseにしたほうがいいです。
    Discord server rolesは、Discordのサーバーで特定のロールの人しか入れないようにするという設定です。この設定は、不具合が多いのでおすすめはしないです。
    approved licenseでは、さっきのwhitelistタブで手動で認可するやつです。

    whitelist rejection messageでは、Roleがついてなかったりwhitelistがなかった場合のエラーメッセージです。

    whitelisted discord rolesは、ロールIDを貼ってください。

    次にDiscordタブです。

    画像

    TOKENは、discord for developersのメニューからBOTを作成して、

    画像
    画像

    BOTタブを開く、

    画像

    userネーム等を好きに決めて、
    reset Tokenで、パスワードを入力し、********************のようなTokenが生成されたらCopyを押し、TxadminのDiscordタブのTokenに貼り付けてください。
    そして、

    画像

    赤で囲んだ部分をすべてオンにしてください。

    画像

    次、guild /serveridは、

    画像

    Discordでサーバーを右クリックするとこのように出てきます。
    出てこなかったら、


    画像

    ユーザー設定で、開発者モードをオンにしてください。

    これで一通り、TxAdminの設定は終了です。
    お疲れ様でした。
    次は、1つScriptの入れ方、Databaseの入れ方を教えます。


     
     

    Yusei

     
     
    GTA5を2年程 lspdfrを1年程しています。日本blenderサーバー管理者をしています。discordリンクhttps://discord.gg/KJpy8SS2xm その他、modでの質問は#sighimiへご質問ください

    あなたへのおすすめ