<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=Citizens%2F%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8</id>
	<title>Citizens/数据存储 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://mineplugin.org/index.php?action=history&amp;feed=atom&amp;title=Citizens%2F%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8"/>
	<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Citizens/%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8&amp;action=history"/>
	<updated>2026-05-22T02:22:28Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://mineplugin.org/index.php?title=Citizens/%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8&amp;diff=7572&amp;oldid=prev</id>
		<title>Qsefthuopq：​创建页面，内容为“Citizens2的数据存储有两种方式: YAML flatfile 或是一个 NBT文件.  ==saves.yml== &#039;&#039;saves.yml&#039;&#039;默认存储所有NPC的信息.  ===结构=…”</title>
		<link rel="alternate" type="text/html" href="https://mineplugin.org/index.php?title=Citizens/%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8&amp;diff=7572&amp;oldid=prev"/>
		<updated>2018-11-25T08:11:24Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“Citizens2的数据存储有两种方式: &lt;a href=&quot;#Saves.yml&quot;&gt;YAML flatfile&lt;/a&gt; 或是一个 NBT文件.  ==saves.yml== &amp;#039;&amp;#039;saves.yml&amp;#039;&amp;#039;默认存储所有NPC的信息.  ===结构=…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Citizens2的数据存储有两种方式: [[#Saves.yml|YAML flatfile]] 或是一个 NBT文件.&lt;br /&gt;
&lt;br /&gt;
==saves.yml==&lt;br /&gt;
&amp;#039;&amp;#039;saves.yml&amp;#039;&amp;#039;默认存储所有NPC的信息.&lt;br /&gt;
&lt;br /&gt;
===结构===&lt;br /&gt;
鼠标移动到文字上查看详细介绍:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;# Citizens NPC 数据存储&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{H:title|NPC数据，所有NPC都存储在这里.|npc:}}&lt;br /&gt;
   {{H:title|NPC的ID|&amp;#039;0&amp;#039;:}}&lt;br /&gt;
    {{H:title|NPC名称. Displayed above head for regular NPCs.|name: My_First_NPC}}&lt;br /&gt;
    {{H:title|特性数据.所有NPC的特性信息都在这里.|traits:}}&lt;br /&gt;
      {{H:title|年龄数据. Age specific settings are stored here.|age:}}&lt;br /&gt;
        {{H:title|What is the NPC&amp;#039;s current age?|age: 0}}&lt;br /&gt;
        {{H:title|Will the NPC age over time?|locked: true}}&lt;br /&gt;
      {{H:title|Should the NPC be spawned on server startup?|spawned: true}}&lt;br /&gt;
      {{H:title|Type of NPC. Either PLAYER or the mob type|type: PLAYER}}&lt;br /&gt;
      {{H:title|Owner of the NPC. Can be set to &amp;quot;server&amp;quot;.|owner: Steve}}&lt;br /&gt;
      {{H:title|Should the NPC look at the player when he comes near it?|lookclose: true}}&lt;br /&gt;
      {{H:title|Location block. Stores the location of the NPC|location:}}&lt;br /&gt;
        {{H:title|World that the NPC is located in|world: world}}&lt;br /&gt;
        {{H:title|X coordinate of the NPC|x: &amp;#039;92.65002360423462&amp;#039;}}&lt;br /&gt;
        {{H:title|Y coordinate of the NPC|y: &amp;#039;3.0&amp;#039;}}&lt;br /&gt;
        {{H:title|Z coordinate of the NPC|z: &amp;#039;-264.5621058817138&amp;#039;}}&lt;br /&gt;
        {{H:title|Yaw (direction the NPC is looking) of the NPC in degrees|yaw: &amp;#039;87.90003967285156&amp;#039;}}&lt;br /&gt;
        {{H:title|Pitch (height the NPC is looking) of the NPC in degrees|pitch: &amp;#039;21.14999008178711&amp;#039;}}&lt;br /&gt;
      {{H:title|Text block. Stores information about the NPC&amp;#039;s text.|text:}}&lt;br /&gt;
        {{H:title|Should the NPC talk when a player gets near it?|talk-close: true}}&lt;br /&gt;
        {{H:title|Should the NPC talk randomly?|random-talker: true}}&lt;br /&gt;
        {{H:title|First line of the NPC&amp;#039;s chat.|0: Hello, there. I&amp;#039;m My_First_NPC.}}&lt;br /&gt;
      {{H:title|Waypoints block|waypoints:}}&lt;br /&gt;
        {{H:title|Linear type of waypoints|linear:}}&lt;br /&gt;
          {{H:title|Points section of the linear block|points:}}&lt;br /&gt;
            {{H:title|Waypoint number|&amp;#039;0&amp;#039;:}}&lt;br /&gt;
              {{H:title|Waypoint location block|location:}}&lt;br /&gt;
                {{H:title|World of the waypoint|world: MyWorld}}&lt;br /&gt;
                {{H:title|X coordinate of the waypoint|x: 60}}&lt;br /&gt;
                {{H:title|Y coordinate of the waypoint|y: 64}}&lt;br /&gt;
                {{H:title|Z coordinate of the waypoint|z: 80}}&lt;br /&gt;
                {{H:title|Pitch of the waypoint|pitch: 90}}&lt;br /&gt;
                {{H:title|Yaw of the waypoint|yaw: 0}}&lt;br /&gt;
              {{H:title|How long to wait at this point|delay: 0}}&lt;br /&gt;
            {{H:title|Waypoint number|&amp;#039;1&amp;#039;:}}&lt;br /&gt;
              {{H:title|Waypoint location block|location:}}&lt;br /&gt;
                {{H:title|World of the waypoint|world: MyWorld}}&lt;br /&gt;
                {{H:title|X coordinate of the waypoint|x: 65}}&lt;br /&gt;
                {{H:title|Y coordinate of the waypoint|y: 64}}&lt;br /&gt;
                {{H:title|Z coordinate of the waypoint|z: 82}}&lt;br /&gt;
                {{H:title|Pitch of the waypoint|pitch: 45}}&lt;br /&gt;
                {{H:title|Yaw of the waypoint|yaw: 0}}&lt;br /&gt;
              {{H:title|How long to wait at this point|delay: 0}}&lt;br /&gt;
        {{H:title|Which pathfinder code do we use? (probably linear)|provider: linear}}&lt;br /&gt;
&lt;br /&gt;
{{NavBox}}&lt;br /&gt;
[[Category:Configuration]]&lt;/div&gt;</summary>
		<author><name>Qsefthuopq</name></author>
	</entry>
</feed>