源の插件系列 OriginX
  • 首页
    • 购买须知
  • 发布插件系列
    • 插件使用教程
      • MineDuty (付费)
        • 插件介绍
        • 插件安装
          • 武装国度-服务端
        • 配置说明
          • items.yml
          • config.yml
          • ranks.yml
        • 创建游戏(新)
          • 1. 开始创建
          • 2. 基础设置
          • 3. 队伍管理
          • 4. 商店系统基础
          • 5. 商店系统商品管理
          • 6. 游戏参数设置
          • 7. 高级设置
          • 8. 最终检查
        • 创建游戏(旧)
          • 游戏模式
          • 配置竞技场
          • 配置商店
          • 配置物品
        • 变量说明
        • 更新日志
      • TACZGunModifier (付费)
        • 指令说明
      • OriginXEditor (免费)
        • 使用须知
        • 使用教程
          • 物品编辑
  • 定制插件系列
    • 插件使用教程
      • ItemAttribute
      • MythicCard
Powered by GitBook
On this page

Was this helpful?

  1. 发布插件系列
  2. 插件使用教程
  3. OriginXEditor (免费)
  4. 使用教程

物品编辑

基础物品编辑

  1. 物品展示名编辑

主指令:

设定物品展示名: /oxeditor item display set

参数如下:

参数
必选
说明

value

是

待设定的物品展示名类型

示例: /oxeditor item display set value=我是展示名

  1. 物品Lore编辑

主指令:

添加物品Lore: /oxeditor item lore add

设置某行物品Lore: /oxeditor item lore set

移除某行物品Lore: /oxeditor item lore remove

参数如下:

参数
是否必选
说明

line

set必选 | remove可选

待设定的物品Lore行数

value

add必选 | remove可选

待设定的物品Lore内容

示例: /oxeditor item lore set line=0 value=我是一行Lore

  1. 物品NBT编辑

主指令:

查看物品NBT: /oxeditor item nbt info

添加物品NBT: /oxeditor item nbt add

移除物品NBT: /oxeditor item nbt remove

参数如下:

参数
是否必选
说明

key

是

待设定的物品NBT键值

value

add必选

待设定的物品NBT内容

示例: /oxeditor item nbt add key=我是键值 value=我是对应的值

  1. 物品存储

主指令:

保存物品: /oxeditor item lib save

获取物品: /oxeditor item lib give

参数如下:

参数
是否必选
说明

key

是

物品Key值,用于分辨

target

否

给予的目标,填玩家名

amount

否

数量,填数字

slot

否

该物品会在目标指定玩家背包的指定槽位出现

示例: /oxeditor item give key=example amount=5 slot=2

  1. 地图编辑

主指令:

保存物品: /oxeditor item map seturl

参数如下:

参数
是否必选
说明

url

是

图片URL

  1. 药水编辑

主指令:

添加药水: /oxeditor item potion add

移除药水: /oxeditor item potion remove

设定药水: /oxeditor item potion set

参数如下:

参数
是否必选
说明

type

是

药水类型名称

duration

否

药水持续时长

amplifier

否

药水等级

示例: /oxeditor item potion add type=HEAL duration=1800 amplifier=3

Previous使用教程Next插件使用教程

Last updated 8 months ago

Was this helpful?

示例: /oxeditor item map seturl url=

https://img.picui.cn/free/2024/09/11/66e19b7d9ad32.png