
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もあります。


次に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の入れ方を教えます。