欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“Citizens/配置”的源代码
←
Citizens/配置
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
Citizens 的配置在 ''/plugins/Citizens/config.yml''.以下为详细配置. 想查看如 <npc> 的文本节点等配置,请查看[[Citizens/文本用法]] 页面. ==默认配置== <pre> # Citizens 配置 npc: chat: options: bystandersheartargetedchat: true maxnumberoftargetstoshow: 2 multipletargetsformat: <target>|, <target>| & <target>| & others range: 5 format: notargets: '[<npc>]: <text>' withtargettobystanders: '[<npc>] -> [<target>]: <text>' totarget: '[<npc>] -> 你: <text>' withtargetstobystanders: '[<npc>] -> [<targets>]: <text>' default: lookclose: # NPC是否看着玩家 enabled: false # 是否默认看着玩家 range: 5 # 看着玩家的范围 pathfinding: range: 25.0 #最大寻路范围 randomtalker: true # 是否随机说话 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 # 默认关闭与最近的玩家谈话 range: 5 # NPC聊天范围 text: '0':你好,我是<npc>! # 默认文本 limits: defaultlimit: 10 # 默认玩家可拥有的NPC上限 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. </pre> {{hidden|old config| Mouse over each field to see what each one is used for. <nowiki></nowiki># Citizens Configuration <nowiki></nowiki>{{H:title|The NPC block. All NPC specifics go here|npc:}} {{H:title|Chat specific settings|chat:}} {{H:title|Prefix that is put before all NPC dialogue lines|prefix: '[<npc>]: '}} {{H:title|Configuration on how to select NPCs|selection:}} {{H:title|Whether to go to next task right after selecting NPC instead of having to click again|quick-select: false}} {{H:title|ID of item to use as selection tool|item: 280}} {{H:title|Message outputted to the player when they've selected an NPC|message: <nowiki><b>You selected <a><npc><b>!</nowiki>}} {{H:title|Default settings for NPCs. Can be changed per-NPC via commands|default:}} {{H:title|Whether to look at the player when they come within 5 blocks|look-close: false}} {{H:title|Randomly choose line to talk instead of talking in order|random-talker: true}} {{H:title|Whether to talk when the player comes within 5 blocks|talk-close: false}} {{H:title|Talk settings|talk:}} {{H:title|Maximum time before the NPC will talk again|max-cooldown: 60}} {{H:title|Minimum time before the NPC will talk again|min-cooldown: 30}} {{H:title|Item you have to right-click the NPC with for them to talk|talk-item: 340}} {{H:title|Whether the server owns an NPC by default|server-ownership: false}} <nowiki></nowiki> <nowiki></nowiki>{{H:title|General settings regarding Citizens|general:}} {{H:title|Whether to be in debug mode or not. Prints more messages to console about Citizens.|debug-mode: false}} <nowiki></nowiki>{{H:title|Subplugin settings|subplugins:}} {{H:title|The folder to load subplugins from|folder: 'plugins'}} }} {{NavBox}} [[Category:Configuration]]
本页使用的模板:
模板:Hidden
(
查看源代码
)
模板:NavBox
(
查看源代码
)
模板:·
(
查看源代码
)
返回
Citizens/配置
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki