約 3,841,518 件
https://w.atwiki.jp/eathena/pages/20.html
// Athena Character configuration file. // Note "Comments" are all text on the right side of a double slash "//" // Whatever text is commented will not be parsed by the servers, and serves // only as information/reference. //訳)メモ:コメントを書く際はすべてのテキストにおいて行頭にスラッシュを二つ次のように入れてください「//」 //これをすることにより、サーバーで読み込まなくなります。注釈等で使用可能です。 // // Server Communication username and password. //サーバー間通信に使われるIDおよびパスワード userid s1 passwd p1 // Server name, use alternative character such as ASCII 160 for spaces. // NOTE Do not use spaces in the name, or guild emblems won t work client-side! //サーバーの名前。不明 //メモ 名前にスペースを使わないこと。ギルドエンブレムがクライアント側で正常動作しなくなります。 server_name KlonosServer // Wisp name for server used to send wisp from server to players (between 4 to 23 characters) //サーバーの総合的な名前(?)サーバーからプレイヤーへ束(?)を送る際に使用されます wisp_server_name Server // Login Server IP // The character server connects to the login server using this IP address. // NOTE This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. //ログインサーバーのIPアドレス //キャラクターサーバーはこのアドレスを使用し、ログインサーバーへ接続します。 //メモ これは貴方がファイアーウォールを使用しているか、複数の機械を使っている場合に役に立ちます。 // login_ip 127.0.0.1 // The character server listens on the interface with this IP address. // NOTE This allows you to run multiple servers on multiple interfaces // while using the same ports for each server. //bind_ip 127.0.0.1 // Login Server Port //ログインサーバーの使用するポート login_port 6900 // Character Server IP // The IP address which clients will use to connect. // Set this to what your server s public IP address is. //キャラクターサーバーのIPアドレス //このIPアドレスはクライアントが接続する際に使用されます。 //貴方のサーバーのグローバルIPをセットしてください。 char_ip klonos.ddo.jp // Character Server Port //キャラクターサーバーの使用するポート char_port 6121 //Time-stamp format which will be printed before all messages. //Can at most be 20 characters long. //Common formats // %I %M %S %p (hour minute second 12 hour, AM/PM format) // %H %M %S (hour minute second, 24 hour format) // %d/%b/%Y (day/Month/year) //For full format information, consult the strftime() manual. //タイムスタンプのフォーマット。これはすべてのメッセージに適用されます。 //最高20文字の長さまで可能です //フォーマットの例 // %I %M %S %p (時 分 秒 12時間表示) // %H %M %S (時 分 秒, 24時間表示) // %d/%b/%Y (日/月/年) //個人的メモ 下の場合、日/月/時/分表示 //timestamp_format [%d/%b %H %M] //If redirected output contains escape sequences (color codes) stdout_with_ansisequence no //Makes server output more silent by ommitting certain types of messages //1 Hide Information messages //2 Hide Status messages //4 Hide Notice Messages //8 Hide Warning Messages //16 Hide Error and SQL Error messages. //32 Hide Debug Messages //Example "console_silent 7" Hides information, status and notice messages (1+2+4) //サーバーが出力するメッセージを規制することができます //1 Informationメッセージを隠す //2 Statusメッセージを隠す //4 Noticeメッセージを隠す //8 Warningメッセージを隠す //16 Error および SQL Error メッセージを隠す //32 Debugメッセージを隠す //例 次のような場合→"console_silent 7"information, status、noticeメッセージを隠す (1+2+4) console_silent 0 // Console Commands // Allow for console commands to be used on/off // This prevents usage of log.file console off // Option to force a player to create an e-mail. // If a player have default e-mail, and if you activate this option, the player can only connect in the game (to arrive on a map) like follow // - Create at least 1 character // - Select 1 character // - Select DEL to enter his/her e-mail. (if OK is choosen, client says to the player invalid e-mail ) // - If his/her e-mail is correct, the player enter in the game (an e-mail is saved definitively). // - If his/her e-mail is incorrect, he/she have incorrect e-mail and must select again DEL. // - After entering in the game (when the player arrives on a map), DEL and SEL/OK button work normaly for all next connections. // Resume If a player have "incorrect/invalid e-mail" when he/she click on OK button, // the player must click DEL button and register his/her NEW e-mail to enter in the game // So, default is 0, because administrator must explain to their players before to activate this option. email_creation 0 // キャラクターサーバーをメンテナンスモードにするか。 // 1を入力することでメンテナンスモードに入り、GM以外接続できないようになります char_maintenance 0 // Enable or disable creation of new characters. // Now it is actually supported [Kevin] // 新しいキャラクターの作成を許可するかしないか。 // これはKevin氏によりサポートされています。 char_new 1 // Display (New) in the server list. // 新しいサーバーリストを見せるか(?) char_new_display 0 // Maximum users able to connect to the server. Set to 0 for unlimited. // サーバーに接続できる最大人数。 // 無制限にするには「0」を入力してください。 max_connect_user 0 // When set to yes, the char server will refuse connections from players already online. // When a login attempt is rejected, the account in question will be booted from all the connected map servers. // Note that this only works within the char-server and it s connected mapservers, // the charserver cannot know if the same account is logged on in other char servers. // it s safe to turn off if the char-server only has a single map-server connected to it. // yesにセットすると、キャラクターサーバーはすでにログインしているプレイヤーからの接続を拒否します。 // ログイン試行が拒否される時、問題のアカウントは、すべてのMAPサーバーから排除されます。 // Note that this only works within the char-server and it s connected mapservers, // キャラサーバーは、同じアカウントが他のキャラサーバーでログオンされるかどうかわかることができません。 // online_check yes // Minimum GM level that is allowed to bypass the server limit of users. // 接続人数制限を無視できるGMのレベル gm_allow_level 99 // How often should the server save all files? (In seconds) // Note Applies to all data files on TXT servers. // On SQL servers, it applies to guilds (character save interval is defined on the map config) // どのぐらいの時間でサーバーはsavedataを保存するか (秒単位) // Note Applies to all data files on TXT servers. // On SQL servers, it applies to guilds (character save interval is defined on the map config) autosave_time 60 // Display information on the console whenever characters/guilds/parties/pets are loaded/saved? // キャラ、ギルド、パーティー、ペットをロードまたはセーブした時にログを表示するかどうか save_log yes // Character server flatfile database // キャラクター(キャラサーバー)のセーブファイル char_txt save/athena.txt // Friends list flatfile database // 友達リストのセーブファイル friends_txt save/friends.txt // Start point, Map name followed by coordinates (x,y) // キャラ作成後降り立つMAP、.gatは必要ないようだ start_point new_1-1,53,111 // Starting weapon for new characters // 新しいキャラクターがはじめから持っている武器 start_weapon 1201 // Starting armor for new characters // 新しいキャラクターがはじめから持っている防具 start_armor 2301 // Starting zeny for new characters // 新しいキャラクターがはじめから持っているZeny start_zeny 0 // Size for the fame-lists // 名声リストのランキング数(上からアルケミ、黒スミス、テコン) fame_list_alchemist 10 fame_list_blacksmith 10 fame_list_taekwon 10 // Guild earned exp modifier. // Adjusts taxed exp before adding it to the guild s exp. For example, if set // to 200, the guild receives double the player s taxed exp. // ギルドexpの変更 // ギルドに必要なexpを変更します。たとえば200に設定すれば2倍の経験値が必要になります。 guild_exp_rate 100 // Name used for unknown characters // 存在しないキャラクターに使う名前 unknown_char_name Unknown // To log the character server? // キャラサーバーのログを残すか。 log_char 1 // Log Filename // ログのファイルの名前 char_log_filename log/char.log // Allow or not identical name for characters but with a different case (upper/lower) // example Test-test-TEST-TesT; Value 0 not allowed (default), 1 allowed name_ignoring_case no // Manage possible letters/symbol in the name of charater. Control character (0x00-0x1f) are never accepted. Possible values are // NOTE Applies to character, party and guild names. // 0 no restriction (default) // 1 only letters/symbols in char_name_letters option. // 2 Letters/symbols in char_name_letters option are forbidden. All others are possibles. char_name_option 0 // Set the letters/symbols that you want use with the char_name_option option. // Note Don t add spaces unless you mean to add space to the list. char_name_letters abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 // Character rename option. When set to yes, the server will send an extended // char-info packet, informing whether the character can be renamed or not. // NOTE This functionality is not implemented. // NOTE This option is for compatibility with kRO sakray 2006-10-23 and newer. // !Do not use it for any other type of client since it will crash them! // キャラクター名称変更設定。 yesにセットすると、 サーバーはキャラクターに関するパケットを送信します。 // キャラクターは名称変更をできる、またはできないようになります。 // メモ この機能は以下の条件を満たしていなければ使用できません。 // メモ このオプションは kRO sakray 2006-10-23 より新しい蔵でなければ使用できません。 // これら以外の蔵では絶対に使用しないでください、クラッシュするよ! char_rename yes // How many Characters are allowed per Account ? (0 = disabled) [SQL Only!] chars_per_account 0 // Restrict character deletion by BaseLevel // 0 no restriction (players can delete characters of any level) // -X you can t delete chars with BaseLevel = X // Y you can t delete chars with BaseLevel = Y // e.g. char_del_level 80 (players can t delete characters with 80+ BaseLevel) // ベースレベルによるキャラクター削除制限 // 0 規制をかけない。 (プレイヤーはどんなレベルでもキャラを削除できます。) // -X ベースレベルがX以上にならなければ削除できない // Y ベースレベルがY以上だと削除できない // 例: char_del_level 80 (プレイヤーはレベル80以上のキャラクターを消すことができない。) char_del_level 0 // What folder the DB files are in (item_db.txt, etc.) // データベースファイ(db)のフォルダの場所 db_path db //NOTE The following online listing options are only for TXT servers. // Filename of the file which receives the online players list in text // オンラインプレイヤーのリストを受け取るファイルの名前 online_txt_filename online.txt // Filename of the file which receives the online players list, but in html version // オンラインプレイヤーのリストを受け取るファイルの名前(HTML板) online_html_filename online.html // Choose how to display online players. // (sorting operation with a lot of online players can take time on a slow computer) // 0 no sorting (default) // 1 by alphabetical order of their name // 2 by number of their zenys // 3 by their base level // 4 by their job (and job level inside the same job) // 5 by alphabetical order of their actual map location // オンラインプレーヤーを示表示する方法を選んでください。 // (sorting operation with a lot of online players can take time on a slow computer) // 0 no sorting (default) // 1 by alphabetical order of their name // 2 by number of their zenys // 3 by their base level // 4 by their job (and job level inside the same job) // 5 by alphabetical order of their actual map location online_sorting_option 0 // Choose which columns that you want display in the online files. Do the addition of these values // (if value is 0, no file is done) // 1 name (just the name, no function like GM ) // 2 job // 4 levels // 8 map name // 16 mapname and coordonates // 32 zenys // 64 name (with GM if the player is a GM) // default value 1 (only name) online_display_option 1 // minimum GM level to display GM when we want to display it (default 1) // GMがログインしているかどうかを見れるGMのレベル online_gm_display_min_level 20 // refresh time (in sec) of the html file in the explorer (default 20) online_refresh_html 20 import conf/import/char_conf.txt
https://w.atwiki.jp/ayumu0186/pages/20.html
ここではAthena内部、confフォルダ内にあるconf ファイルについて説明します。 と言っても、多数あるdocを見たりconfファイルを 直接眺めたりしていれば、特に難なく理解できるでしょう。 時間に余裕のある方は、むしろ自分で調べる事で 理解を深められると思います。 後学のためにも、著者はそちらを推奨します。 1.atcommand_athena.conf @コマンドを使用可能なGM(ゲームマスター)の レベルを指定します。 ここで言われるGMLvとは、キャラクターのレベルではなく アカウントに設定されたGMのレベルを言います。 この機能でGMのレベル制限を行い、 GMメンバー内で@コマンドを制限する事ができます。 また、このレベルが0の場合、全てのキャラクターが 該当@コマンドを使用できます。 例外として、battle_athena.conf内部でも設定できます。 2.battle_athena.conf サーバプログラム内部の様々な部分に、このファイル内の値を 参照する部分があり、その値の設定を簡単に変更できます。 詳しい説明はdocフォルダ内にあるconf_ref.txtに載っています。 3.char_athena.conf char-serverの設定ができます。 サーバのID、Password、IP、オートセーブ間隔(秒)や キャラクター作成時の所持金、スタート地点などを 設定する事ができます。 詳しい説明はdocフォルダ内にあるconf_ref.txtに載っています。 ここでのオートセーブはキャラクターデータのセーブです。 4.converter_athena.conf わけわかりません、ごめんなさい。 5.inter_athena.conf いまいちわかりませんが、見る限り 倉庫、ギルド、パーティ、ペット、城の情報を 保存するテキストファイルの指定、 パーティ公平可能レベルの設定を行っているようです。 6.login_athena.conf login_serverの設定ができます。 著者のファイルには説明がひとつひとつ付いているので、 特に問題はないと思います。 7.map_athena.conf map_serverの設定ができます。 ID、Password、IP、オートセーブ間隔(秒)や GMアカウント、ログイン時メッセージ、ヘルプ時の文章を 呼び出すテキストファイルの指定など。 そしてサーバ起動時に読み込むマップファイル、 NPCファイル、ワープポイントなどの全ての設定を このファイルで行います。 ここでのオートセーブは、マップ上の位置データを指します。 8.msg_athena.conf 主に@コマンド使用時のメッセージを設定します。 特筆すべき事はないでしょう。 9.script_athena.conf 精錬メニューに使われる各種装備部位の名前を設定します。 頭上段装備、鎧、盾、右手武器、肩、靴、 左アクセサリ、右アクセサリ、頭中段装備、 頭下段装備、なし ある条件で文字化けするようです。 10.socket.conf DDoS攻撃に対する設定のようですが、 著者は詳しく知りません、ごめんなさい。
https://w.atwiki.jp/klonosragnarok/pages/24.html
battle_athena.conf battle inter_athena.conf inter msg_athena.conf msg
https://w.atwiki.jp/nino-add-up/pages/33.html
charって便利そうで使えない charは16進法を用いた文字表現を用いている. 数値と文字との対応は用いているOSなどによって異なっているが,ASCIIもしくはJISもしくはEBCDICのどれかに対応している. 結局,char(1)と入力しても1が返ってこない. つまりは自分の用いている文字コードと数値との対応表を参考にするとよい. 文字コードがなにかわからない場合は,適当に数値を入力してどの文字コードかを探す. 文字コード表 WinXP,Compaq Visual Fortranの場合は下に添付されているcode.txtを参考にする. [PR] メールフォーム
https://w.atwiki.jp/monopowers/pages/65.html
メニュー // // named.caching-nameserver.conf // // Provided by Red Hat caching-nameserver package to configure the // ISC BIND named(8) DNS server as a caching only nameserver // (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // DO NOT EDIT THIS FILE - use system-config-bind or an editor // to create named.conf - edits to this file will be lost on // caching-nameserver package upgrade. // acl my-network { 127.0.0.1/32; 固定IPアドレス/32; }; options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-transfer { セカンダリサーバIPアドレス; }; recursion yes; version "BIND on MyDomain-JP"; }; //認証キー設定 include "/etc/rndc.key"; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; }; }; zone "." { type hint; file "named.ca"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.zone"; }; zone "ドメイン名" { type master; file "ドメイン名.zone"; allow-query { any; }; };
https://w.atwiki.jp/javamock/pages/21.html
char Javaにおいてcharはプリミティブ型の1つです。 charは文字リテラルを格納します。(「 」で文字を囲う) また、charはメモリ領域を16ビット(2バイト)確保します。 2バイト確保されるので、全角文字もcharで表すことができます。 char 使用例 1 CharSample1.java class CharSample1 { public static void main(String[] args) { //charの変数を初期化宣言 char charC = c ; char charH = h ; char charA = a ; char charR = r ; //表示 System.out.print(charC); System.out.print(charH); System.out.print(charA); System.out.print(charR); } } 実行結果 C \java javac CharSample1.java C \java java CharSample1 char char 使用例 2 (Unicodeエスケープを使用) CharSample2.java class CharSample2 { public static void main(String[] args) { //charの変数を初期化宣言 char charC = \u0063 ; char charH = \u0068 ; char charA = \u0061 ; char charR = \u0072 ; //表示 System.out.print(charC); System.out.print(charH); System.out.print(charA); System.out.print(charR); } } 実行結果 C \java javac CharSample2.java C \java java CharSample2 char 以上のように同様の実行結果になります。 Unicodeのコード番号を扱うときはUnicodeエスケープ(\u)を用います。 また、Unicodeのコード番号は16進数の4桁で表されます。 以下のように記述します。XXXXにはUnicodeのコード番号を記述します。 \uXXXX
https://w.atwiki.jp/pms_ps3/pages/23.html
Bravia向けConfファイル編集について RendererName=Sony Bravia W5 Series PMSでTVの認識時の名前(任意で好みのものに) RendererIcon=bravia.png 認識時のアイコン(任意でPMS.jar内にあるpngファイルを指定可能) UserAgentAdditionalHeaderSearch=BRAVIA KDL.+[0-9]{2}W5 UserAgentが一致しないものはunknownとなりいくら設定を変更しても適用されない [0-9]{2} 0-9までの範囲で2文字という意味 全機種同じ内容では不都合もあるだろうが命名規則から BRAVIA KDL.+[0-9]{2}[A-Z]{1}[0-9]{1} のように指定し似た様なモデルナンバーで共通のConfにすることも可能 *以上まずは認識させることを目的としたため以降の内容については追記求む pms avcmod または pms bravia modをダウンロードしてその中のreadme*.txtをみてconfを選択または変更する。 また、上記が対応していない最新のバージョンのPS3 Media Serverを使ってみたい場合は。Bravia4500.confまたはBravia5500.confを修正することで、TSファイルなどのノントラスコファイルか、それ以外のファイルのどちらかを再生することができる。 TSファイルの場合は MimeTypesChanges=video/mpeg=video/x-mp2t-mphl-188 StreamExtensions=ts,mpg,mpeg,mp3,jpg,jpeg それ以外のファイル(avi,mkv,wmvなど)を再生したい場合は TranscodeVideo=MPEGTSAC3 MimeTypesChanges=video/ts=video/mpeg|video/mpeg=video/x-mp2t-mphl-188 TranscodeExtensions=mkv,mp4,avi,rmvb,rm,ogm,wmv,flv,ogg,asf,mov,dvr-ms,flac を追加および変更する。
https://w.atwiki.jp/eathena/pages/18.html
//-------------------------------------------------------------- // eAthena Battle Configuration File // Originally Translated by Peter Kieser pfak@telus.net // Made in to plainer English by Ancyker // Splitted up into multiple files by Skotlex. // 訳)eAthenaの戦闘関連設定ファイル // Peter Kieserによって翻訳されました、連絡先→ pfak@telus.net // やさしい英語で書かれています(?) // Skotlexにより複数のファイルに分割されました //-------------------------------------------------------------- //General battle-related settings. //一般的な戦闘関連の設定。 import conf/battle/battle.conf //Settings specific to the client. //クライアント特有の設定。 import conf/battle/client.conf //General drop-related configs. //一般的なアイテムドロップ関連の設定 import conf/battle/drops.conf //Experience rates, exp penalties, stats and max level settings. //経験値倍率、ペナルティ(デスペナルティ等)およびステータス、最高レベル値の設定 import conf/battle/exp.conf //GM levels, atcommands and hack-related configs. //GMレベル、GMコマンドおよびハック関連(?)の設定 import conf/battle/gm.conf //Guild and WoE settings //ギルドと攻城戦の設定 import conf/battle/guild.conf //Item/card-specific and crafting related options. //不明 import conf/battle/items.conf //Mob related configuration //MOB関連の設定 import conf/battle/monster.conf //Party related configuration //パーティー関連の設定 import conf/battle/party.conf //Pet related configuration //ペット関連の設定 import conf/battle/pet.conf //Homunc related configuration //ホムンクルス関連の設定 import conf/battle/homunc.conf //Player specific settings //プレイヤー関連専門の設定 import conf/battle/player.conf //Skill related settings //スキル関連の設定 import conf/battle/skill.conf //Status change related settings //ステータス関連の設定(?) import conf/battle/status.conf // Anything else that didn t fit anywhere else. // Includes duel, day/night, mute/manner, log settings. // どこの設定にも該当しない設定。 // デュエル、昼/夜、無音(?)/マナー、ログの設定 import conf/battle/misc.conf //Your custom config goes here. //貴方のカスタム設定はここへ。(?) //おそらく日本athenaでいうaddであろう。 import conf/import/battle_conf.txt
https://w.atwiki.jp/vipdeaos/pages/22.html
注意 config.txtはJSONフォーマットで記述されている 行末のコンマを忘れたりすると、run.exeを起動しようとしてもエラーが起きるので気をつけること 各項目の説明 サーバの名前を決める "name" "pyspades server", ユーザーが入室した際のメッセージ "motd" [ "Welcome to %(server_name)s! See /help for new commands.", "Map is %(map_name)s by %(map_author)s.", "(server powered by pyspades)" ], 「/help」と打つと出るメッセージ "help" [ "/SQUAD Creates or joins a squad, letting you spawn with friends", "/STREAK Shows how many kills in a row you got without dying", "/AIRSTRIKE Air support! Try it out just like that for more details", "/INTEL Tells you who s got the enemy intel", "/PING Shows your ping (how good your connection to the server is)" ], ヒント設定 "tips" [ "Here you can deploy airstrikes, form squads and more! Type /help for info.", "The spade does melee damage! Use it wisely." ], ヒントが出る頻度 (分) "tip_frequency" 5, 「/rule」と打つと出るメッセージ "rules" [ "No griefing, no bad words, etc." ], 公式のサーバ一覧に載せるか[trueであり,falseでなし] "master" true, 最大接続人数 (人) "max_players" 32, ポート番号 "port" 開放したポートを入力, 同じIPの接続上限 (人) "max_connections_per_ip" 3, ゲームモード "game_mode" "ctf", フラッグ時の勝利ポイント設定(最大231) "cap_limit" 10, 読み込ませるマップ一覧 マップは「maps」フォルダに突っ込んで拡張子(.vxl)を除いて記述すること "maps" ["random", "pyspades", "bridgewars", "pinpoint", "anticbridge", "hallway", "pinpoint2", "harbor2"], マップを順不同に読み込むか[trueで順不同,falseで順番に] "random_rotation" false, 1マップの上限時間 (分) 設定時間が過ぎると次のマップに移る "default_time_limit" 15 1ゲーム終わることにマップを移動するか, "advance_on_win" false, マップ移動投票関連 一般ユーザーも投票が可能になるか? "votemap_public_votes" true, 投票でマップの時間延長をするさいの延長時間 "votemap_extension_time" 15, プレイヤーにマップ投票開始権限を与える "votemap_player_driven" false, マップ投票自動スケジュール? "votemap_autoschedule" 180, 投票時間 "votemap_time" 120, 合意を得るための割合 (%) "votemap_percentage" 80, リスポーン時間 (秒) "respawn_time" 30, 一定時間ごとの「波」で一気に全員復活させるか、各々が死んでから固定時間で復活させるか "respawn_waves" true, フレンドリーファイア [trueであり,falseでなし] "friendly_fire" false, ブロックを破壊した時フレンドリーファイアがONになる時間 (秒) "grief_friendly_fire_time" 2, spadeのダメージ [100は一撃必殺] "melee_damage" 100, 落下ダメージ [trueであり,falseでなし] "fall_damage" true, 掘れない床とか掘れるようになる? "set_god_build" false, チームを移動したときの入室待機時間 (秒) "teamswitch_interval" 0, キック投票関連 キックするのに必要な賛成票 (%) "votekick_percentage" 25, 次のキック投票を開始できるまでの時間 "votekick_ban_duration" 15, 一般ユーザーがキック機能を使えるようにするか [trueであり,falseでなし] "votekick_public_votes" true, バンされてからログイン許可が下りるまでの時間 (分) "default_ban_duration" 1440, admin・・・管理者権限でログインするためのパスワード trusted・・・このパスワードでログインしたプレイヤーはvotekickされない builder・・・このパスワードでログインしたプレイヤーは次項で設定したコマンドを使用出来る "passwords" { "admin" ["replaceme"], "trusted" [] "builder" [] }, 上記でbuilderのパスワードを設定した時に使用可能コマンド "rights" { "builder" ["コマンド", "コマンド"] 残り時間を告知するタイミング(秒) "time_announcements" [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 30, 60, 120, 180, 240, 300, 600, 900, 1200, 1800, 2400, 3000], サーバーからのメッセージチャットの文頭の記号(文字列) "server_prefix" "[*]", ログイン何回失敗で蹴られる? "login_retries" 3, チーム設定 team1が選択画面の左側、team2が右側のものになる。 nameでチーム名を、colorでチームカラーをRGBで指定 "team1" { "name" "Blue", "color" [0, 0, 255] }, "team2" { "name" "Green", "color" [0, 255, 0] }, 有効にするスクリプト(TDMや、squad、airstrikeなどの追加機能)一覧 スクリプトは「scripts」フォルダに突っ込んで拡張子(.py)を除いて記述すること "scripts" [ "welcome", "rollback", "trusted", "autohelp", "protect", "map_extensions", "airstrike", "squad", "disco", "antijerk", "ratio", "memcheck" ], squadの設定 "squad_respawn_time" 5, 分隊参加時のリスポーンタイム "squad_size" 5, 部隊の最大人数 "auto_squad" false, 自動squadを有効にするか[trueであり,falseでなし]
https://w.atwiki.jp/aceofspades/pages/21.html
注意 config.txtはJSONフォーマットで記述されている 行末のコンマを忘れたりすると、run.exeを起動しようとしてもエラーが起きるので気をつけること 各項目の説明 サーバの名前を決める "name" "pyspades server", ユーザーが入室した際のメッセージ "motd" [ "Welcome to %(server_name)s! See /help for new commands.", "Map is %(map_name)s by %(map_author)s.", "(server powered by pyspades)" ], 「/help」と打つと出るメッセージ "help" [ "/SQUAD Creates or joins a squad, letting you spawn with friends", "/STREAK Shows how many kills in a row you got without dying", "/AIRSTRIKE Air support! Try it out just like that for more details", "/INTEL Tells you who s got the enemy intel", "/PING Shows your ping (how good your connection to the server is)" ], ヒント設定 "tips" [ "Here you can deploy airstrikes, form squads and more! Type /help for info.", "The spade does melee damage! Use it wisely." ], ヒントが出る頻度 (分) "tip_frequency" 5, 「/rule」と打つと出るメッセージ "rules" [ "No griefing, no bad words, etc." ], 公式のサーバ一覧に載せるか[trueであり,falseでなし] "master" true, 最大接続人数 (人) "max_players" 32, ポート番号 "port" 開放したポートを入力, 同じIPの接続上限 (人) "max_connections_per_ip" 3, ゲームモード "game_mode" "ctf", フラッグ時の勝利ポイント設定(最大231) "cap_limit" 10, 読み込ませるマップ一覧 マップは「maps」フォルダに突っ込んで拡張子(.vxl)を除いて記述すること "maps" ["random", "pyspades", "bridgewars", "pinpoint", "anticbridge", "hallway", "pinpoint2", "harbor2"], マップを順不同に読み込むか[trueで順不同,falseで順番に] "random_rotation" false, 1マップの上限時間 (分) 設定時間が過ぎると次のマップに移る "default_time_limit" 15 1ゲーム終わることにマップを移動するか, "advance_on_win" false, マップ移動投票関連 一般ユーザーも投票が可能になるか? "votemap_public_votes" true, 投票でマップの時間延長をするさいの延長時間 "votemap_extension_time" 15, プレイヤーにマップ投票開始権限を与える "votemap_player_driven" false, マップ投票自動スケジュール? "votemap_autoschedule" 180, 投票時間 "votemap_time" 120, 合意を得るための割合 (%) "votemap_percentage" 80, リスポーン時間 (秒) "respawn_time" 30, 一定時間ごとの「波」で一気に全員復活させるか、各々が死んでから固定時間で復活させるか "respawn_waves" true, フレンドリーファイア [trueであり,falseでなし] "friendly_fire" false, ブロックを破壊した時フレンドリーファイアがONになる時間 (秒) "grief_friendly_fire_time" 2, spadeのダメージ [100は一撃必殺] "melee_damage" 100, 落下ダメージ [trueであり,falseでなし] "fall_damage" true, 掘れない床とか掘れるようになる? "set_god_build" false, チームを移動したときの入室待機時間 (秒) "teamswitch_interval" 0, キック投票関連 キックするのに必要な賛成票 (%) "votekick_percentage" 25, 次のキック投票を開始できるまでの時間 "votekick_ban_duration" 15, 一般ユーザーがキック機能を使えるようにするか [trueであり,falseでなし] "votekick_public_votes" true, バンされてからログイン許可が下りるまでの時間 (分) "default_ban_duration" 1440, admin・・・管理者権限でログインするためのパスワード trusted・・・このパスワードでログインしたプレイヤーはvotekickされない builder・・・このパスワードでログインしたプレイヤーは次項で設定したコマンドを使用出来る "passwords" { "admin" ["replaceme"], "trusted" [] "builder" [] }, 上記でbuilderのパスワードを設定した時に使用可能コマンド "rights" { "builder" ["コマンド", "コマンド"] 残り時間を告知するタイミング(秒) "time_announcements" [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 30, 60, 120, 180, 240, 300, 600, 900, 1200, 1800, 2400, 3000], サーバーからのメッセージチャットの文頭の記号(文字列) "server_prefix" "[*]", ログイン何回失敗で蹴られる? "login_retries" 3, チーム設定 team1が選択画面の左側、team2が右側のものになる。 nameでチーム名を、colorでチームカラーをRGBで指定 "team1" { "name" "Blue", "color" [0, 0, 255] }, "team2" { "name" "Green", "color" [0, 255, 0] }, 有効にするスクリプト(TDMや、squad、airstrikeなどの追加機能)一覧 スクリプトは「scripts」フォルダに突っ込んで拡張子(.py)を除いて記述すること "scripts" [ "welcome", "rollback", "trusted", "autohelp", "protect", "map_extensions", "airstrike", "squad", "disco", "antijerk", "ratio", "memcheck" ], squadの設定 "squad_respawn_time" 5, 分隊参加時のリスポーンタイム "squad_size" 5, 部隊の最大人数 "auto_squad" false, 自動squadを有効にするか[trueであり,falseでなし]