Citizens | |
---|---|
![]() |
|
サーバーモッド: | Bukkit |
カテゴリー: | 楽しい |
開発者: | fullwall と aPunch |
開発者ウェブサイト: | dev.bukkit.org |
説明: | Npcsを作成 |
特徴: | Npcsが対話可能 |
ダウンロード: | – |
DevBukkit プロジェクトサイト にアクセスし、サーバーバージョンに対応したプラグインをダウンロードします。
次に、プラグインをサーバーフォルダー内のプラグインフォルダーにアップロードする必要があります。これは こちら で説明されています。
完了!
パス /minecraftbukkit/plugins/Essentials/config.yml
免責事項
次の行を変更しないでください:
range: arrow: min: 3 max: 13 look: 5 pathfinding: 16.0 ticks: pathing: max-stationary: -1 max-pathing: -1 saving: delay: 72000 save-often: true use-task: true waypoints: right-click-pause: 70
# Citizens Configuration npc: chat: options: bystandersheartargetedchat: true maxnumberoftargetstoshow: 2 multipletargetsformat: <target>|, <target>| & <target>| & others range: 5 format: notargets: '[<npc>]: <text>' withtargettobystanders: '[<npc>] -> [<target>]: <text>' totarget: '[<npc>] -> You: <text>' withtargetstobystanders: '[<npc>] -> [<targets>]: <text>' default: lookclose: # NPCs turning heads towards players settings enabled: false # whether look close is enabled by default range: 5 # the look close range pathfinding: range: 25.0 # the maximum pathfinding range to search through before giving up randomtalker: true # whether the NPC will randomly select a text item instead of sequentially realisticlooking: false # whether the NPC will ensure potential players to look at / talk to aren't obscured by walls stationaryticks: -1 # how long the NPC will be stationary while pathfinding before giving up talkclose: enabled: false # default talk close range: 5 # range before NPC talks text: '0': Hi, I'm <npc>! # default text limits: defaultlimit: 10 # the default per-player NPC limit maxpermissionchecks: 100 # the maximum number of per-player NPCs a player can have maxspeed: 100 # the maximum speed an NPC can have chunks: alwayskeeploaded: false # whether to always keep chunks loaded with NPCs in them or unload them when there are no other players inside the chunk selection: quickselect: false # no message will be sent item: '280' # the selector item: default is stick message: <b>You selected <a><npc><b>! # the message sent on select player: removefromlist: true # setting this to false will enable human NPCs to be recognised by mobs; it will also make them just like a normal player, which means other plugins will recognise them as well. This can be enabled per-NPC using /npc playerlist serverownership: false # whether the server owns NPCs by default text: maxtalkcooldown: 1 # the maximum cooldown before the NPC will talk close in seconds : the cooldown is chosen at random between the min/max mintalkcooldown: 1 # the minimum cooldown before the NPC will talk close in seconds talkitem: '340' # the items that will cause the NPC to talk to you on right click : default is book pathfinding: usenewfinder: false # EXPERIMENTAL: enable non-Minecraft pathfinder advanced: checkminecraftversion: true # set this to false to disable minecraft compatibility checks. Should not normally be used. storage: savetask: delay: 72000 # the delay in ticks before everything gets serialised to disk file: saves.yml # the storage file type: yaml # the type: can be NBT, YAML. general: debugmode: false # enable debug output colorscheme: messagehighlight: <e> # set the default highlight colour: usually yellow. message: <a> # set the default message colour: usually green. translation: locale: '' # set the locale explicitly if needed: eg. en_US is US English, de_DE is the generic German locale economy: npc: cost: 100.0 # the cost of an NPC. NOTE: requires Vault subplugins: folder: plugins # subplugins like Denizen etc can be placed into Citizens/<subplugins folder> for organisational purposes.
Citizensの管理に使用されるコマンド。
管理者コマンド | ||
---|---|---|
コマンド | 権限 | 説明 |
/citizens | citizens.admin | 基本的なプラグイン情報を表示 |
/citizens reload | citizens.admin | Citizensをリロード |
/citizens save | citizens.admin | NPCと設定を保存 |
ゲーム内でヘルプ画面を表示するためのコマンド。
ヘルプコマンド | |||
---|---|---|---|
コマンド | 引数の説明 | 権限 | 説明 |
/citizens help | (ページ) – 表示するページ番号 | citizens.help | Citizensヘルプメニューを表示 |
/npc help | (ページ) – 表示するページ番号 | citizens.npc.help | NPCヘルプメニューを表示 |
/trait help | (ページ) – 表示するページ番号 | citizens.trait.help | 特性ヘルプメニューを表示 |
/script help | (ページ) – 表示するページ番号 | citizens.script.help | スクリプトヘルプメニューを表示 |
/template help | (ページ) – 表示するページ番号 | citizens.template.help | テンプレートヘルプメニューを表示 |
/waypoints help | (ページ) – 表示するページ番号 | citizens.waypoints.help | ウェイポイントヘルプメニューを表示 |
すべてのNPCに使用される一般的なコマンド。
/npc trait は新しい特性を追加、削除、
コピーするための新しいコマンドセットに置き換えられました。
/trait {traitname}
は現在特性とキャラクターを追加するために使用されます。 NPCコマンド | ||||||
---|---|---|---|---|---|---|
コマンド | 引数の説明 | 選択が必要 | 所有が必要 | モブタイプが必要 | 権限 | 説明
{{#!: |
/npc | なし | はい | はい | いいえ | なし | 基本的なNPC情報を表示 |
/npc age | [adult, baby, integer, -l] – adultは大人、babyは赤ちゃん、integerは正確な年齢を指定、-lは年齢を固定するかどうかを切り替える | はい | はい | はい – COW, SHEEP, CHICKEN, PIG, VILLAGER, OCELOT, WOLF | citizens.npc.age | NPCの年齢を変更 |
/npc anchor | anchor (–save [name], –assume [name], –remove [name]) (-a)(-c) – 位置を’アンカー’として保存し、assume [name] で引き継ぐことができる | はい | はい | いいえ | citizens.npc.anchor | NPCの位置アンカーを変更/保存/一覧表示 |
/npc behaviour | behaviour [scripts] (-r) — scriptsはカンマ区切りのスクリプトファイル名のリスト、-rフラグはNPCから削除 | はい | はい | いいえ | citizens.npc.behaviour | NPCから動作を追加および削除します。動作はスクリプトファイルで、NPCに’目標’を追加し、毎ティック実行できます。プログラムやアイデア次第で何でも可能です! |
/npc controllable | なし | はい | はい | いいえ | citizens.npc.controllable.[npc type name] | NPCの制御可能な状態を切り替えます。制御可能なNPCは右クリックでマウントされ、WASDで制御できます。ガスト、ブレイズ、エンダードラゴンは左クリックで飛行を一時停止/再開できます。 |
/npc copy | (–name NewName) — new nameはコピーされたNPCの名前。 | はい | はい | いいえ | citizens.npc.copy | 現在選択されているNPCから新しいNPCを作成し、すべての特性をコピーします。 |
/npc create | [NPC Name] – NPCに付ける名前 (–type [type]) – 使用するモブタイプ –trait [trait1] [trait2] … – NPCに適用する特性のリスト |
はい | はい | いいえ | citizens.npc.create.mobtype または citizens.npc.create.* | 新しいNPCを作成します。
例: |
/npc despawn | (id) – デスポーンするNPCのID | はい | はい | いいえ | citizens.npc.despawn | NPCをデスポーンします |
/npc gamemode | [gamemode] 使用するゲームモード | はい | はい | プレイヤー | citizens.npc.gamemode | プレイヤーNPCのゲームモードを設定します。 |
/npc gravity | なし | はい | はい | いいえ | citizens.npc.gravity | NPCの重力を切り替えます。 |
/npc equip | なし | はい | はい | はい – プレイヤー、豚、羊、エンダーマン | citizens.npc.edit.equip | 装備エディタを切り替えます。プレイヤーの鎧、プレイヤーとエンダーマンのアイテム、羊の色/刈り取り、豚の鞍に使用されます。 |
/npc list | (-a) – すべてのNPCを一覧表示 (–owner (owner)) – オーナー (–type (type)) – モブタイプ (–char (character)) – キャラクター |
いいえ | いいえ | いいえ | citizens.npc.list | 指定された条件のいずれかに一致するNPCを一覧表示します。 |
/npc lookclose | なし | はい | はい | いいえ | citizens.npc.lookclose | NPCの近接視線状態を切り替えます |
/npc moveto | –x [x] –y [y] –z [z] –world [world] | はい | はい | いいえ | citizens.npc.moveto | NPCの現在の位置が基準位置として使用されます。値の引数はこの基準を変更するために使用されます。 |
/npc mount | なし | はい | はい | いいえ | citizens.npc.mount | 選択されているNPCにマウントします、制御可能である場合。 |
/npc owner | (名前) – 新しいオーナーの名前、”server”と設定するとCitizens管理者(”citizens.admin”権限を持つプレイヤー)がオーナーになります。 | はい | はい | いいえ | citizens.npc.owner | NPCのオーナーを設定します |
/npc path | なし | はい | はい | いいえ | citizens.npc.edit.path | パスエディタを切り替えます。左クリックでウェイポイントを追加し、右クリックで削除、マウスホイールまたは数字キーで個々のウェイポイントを選択します。 |
/npc pathrange | [range] – NPCの新しい範囲 | はい | はい | いいえ | citizens.npc.pathfindingrange | NPCが経路を見つけることができる範囲(ブロック数)を設定します。 |
/npc playerlist | なし | はい | はい | プレイヤー | citizens.npc.playerlist | NPCを’リアル’プレイヤーとして切り替えます。これにより他のプラグインでより認識され、チャンクが保持され、作物が成長し続けます。 |
/npc pose | (-a) – プレイヤーの頭の現在位置にNPCの頭の位置を設定します。作成後にNPCが特定の位置を見ている位置を設定するのに便利です。 ”(–save [name]|–load [name]|–remove [name])” |
はい | はい | はい – プレイヤー | citizens.pose | プレイヤーの現在の位置に基づいてNPCの頭の位置を変更/保存します。 |
/npc power | なし | はい | はい | はい – クリーパー | citizens.npc.power | クリーパーNPCが強化されているかどうかを切り替えます。 |
/npc profession | BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, または PRIEST | はい | はい | はい – 村人 | citizens.npc.profession | 村人タイプのNPCの職業を変更します。 |
/npc remove | (すべて) – すべてのNPCを削除します | はい(”すべて”が使用されていない場合) | はい | いいえ | citizens.npc.remove, (citizens.admin.remove.all) | NPCを削除します |
/npc rename | [名前] – NPCの新しい名前 | はい | はい | いいえ | citizens.npc.rename | NPCの名前を変更します |
/npc select | [ID] – 選択するNPCのID | いいえ | はい | いいえ | citizens.npc.select | 指定されたIDのNPCを選択します |
/npc size | [サイズ] – スライムのサイズ(整数) | はい | はい | スライム | citizens.npc.size | スライムのサイズを設定します。 |
/npc skeletontype | [タイプ] – 0またはNORMALで通常、1またはWITHERでウィザースケルトン | はい | はい | スケルトン | citizens.npc.skeletontype | スケルトンNPCのタイプを変更します(現在、WITHERとNORMALの間で切り替え可能) |
/npc spawn | [ID] – スポーンするNPCのID | はい | はい | いいえ | citizens.npc.spawn | 既存のNPCをスポーンします |
/npc speed | はい | はい | いいえ | citizens.npc.speed | NPCのデフォルトの速度倍率を変更します。例: 通常の速度を2倍にするには2を使用します。 | |
/npc text | なし | はい | はい | いいえ | citizens.npc.edit.text | テキストエディタを切り替えます。 プレイヤーがNPCの声を聞くにはcitizens.npc.talk権限が必要です! |
/npc tphere | なし | はい | はい | いいえ | citizens.npc.tphere | NPCを自分の位置にテレポートします |
/npc tp | なし | はい | はい | いいえ | citizens.npc.tp | NPCにテレポートします |
/npc type | [タイプ] – 新しいエンティティタイプ | はい | はい | いいえ | citizens.npc.type | NPCのモブタイプを変更します。 |
/npc vulnerable | なし | はい | はい | いいえ | citizens.npc.vulnerable | NPCがダメージを受けたり死んだりするかどうか、そしてプレイヤーリストにいるときにモンスターがターゲットにするかどうかを切り替えます。 |
/npc zombiemod | (-b, -v) – -bはベイビー、-vは村人 | はい | はい | ゾンビ | citizens.npc.zombiemodifier | ゾンビNPCの修正を設定します。 |
/trait | [trait1] [trait2] … [traitN] – 適用する特性のリスト | はい | はい | いいえ | citizens.npc.trait.* または citizens.npc.trait.<trait-name>(特性ごとの権限) | NPCに特性タイプを追加します。NPCは複数の特性を持つことができます。
例: |