- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
Citizens/数据存储
跳转到导航
跳转到搜索
Citizens2的数据存储有两种方式: YAML flatfile 或是一个 NBT文件.
saves.yml
saves.yml默认存储所有NPC的信息.
结构
鼠标移动到文字上查看详细介绍:
# Citizens NPC 数据存储 npc: '0': name: My_First_NPC traits: age: age: 0 locked: true spawned: true type: PLAYER owner: Steve lookclose: true location: world: world x: '92.65002360423462' y: '3.0' z: '-264.5621058817138' yaw: '87.90003967285156' pitch: '21.14999008178711' text: talk-close: true random-talker: true 0: Hello, there. I'm My_First_NPC. waypoints: linear: points: '0': location: world: MyWorld x: 60 y: 64 z: 80 pitch: 90 yaw: 0 delay: 0 '1': location: world: MyWorld x: 65 y: 64 z: 82 pitch: 45 yaw: 0 delay: 0 provider: linear