• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

“Citizens/角色/HyperMerchant”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(创建页面,内容为“== HyperMerchant == [http://dev.bukkit.org/bukkit-plugins/hypermerchant/ HyperMerchant] is a merchant npc for use with HyperConomy shops. Features include: * An e…”)
 
其他特点:
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
 
== HyperMerchant ==
 
== HyperMerchant ==
  
[http://dev.bukkit.org/bukkit-plugins/hypermerchant/ HyperMerchant] is a merchant npc for use with HyperConomy shops.
+
[http://dev.bukkit.org/bukkit-plugins/hypermerchant/ HyperMerchant] 是兼容 HyperConomy 的商人NPC.
  
Features include:
+
特性:
  
* An easy to use Inventory based GUI for your players to buy and sell from your HyperConomy shops.
+
* 用简易的菜单来让玩家购买和出售物品.
  
* Should work nicely with HyperConomy shop permissions.
+
* 兼容 HyperConomy 商店权限.
  
* Toggleable Merchant off-duty mode. Close any store temporarily with a simple command.
+
* 可开关商人是否下班. 用指令暂时清空商店.
  
* Simple commands to change NPC Greeting, Farewell, Off-Duty, and Deny Service/No Permission messages.
+
* 简单的指令和权限.
  
  
Much of the information on this page may not be up to date. Please visit the HyperMerchant bukkitdev page for the latest info.
+
这个页面的大多数信息不会更新. 请查看HyperMerchant bukkitdev页面获取最新信息.
  
==== Where to get latest version ====
+
==== 如何获取最新版本 ====
  
HyperMerchant 1.57-dev is the latest release on [http://dev.bukkit.org/bukkit-plugins/hypermerchant/ bukkitdev]. It is compatible with Bukkit/Spigot 1.8.
+
HyperMerchant 1.57-dev 为最新版 [http://dev.bukkit.org/bukkit-plugins/hypermerchant/ bukkitdev]. 兼容Bukkit/Spigot 1.8.
  
The [http://ci.citizensnpcs.co/job/HyperMerchant/ latest dev build] is available at the CI server.  
+
[http://ci.citizensnpcs.co/job/HyperMerchant/ 最新构建版]可在CI服务器下载.  
  
  
There is a [http://dev.bukkit.org/bukkit-plugins/hypermerchant/pages/compatibility/ compatibility guide] for other versions of Bukkit.
+
你可以在[http://dev.bukkit.org/bukkit-plugins/hypermerchant/pages/compatibility/ 这里]看到插件的兼容性.
  
  
==== How to install ====
+
==== 如何安装 ====
Make sure you have a compatible version of HyperConomy installed.
+
下载兼容你的服务端版本的HyperConomy.
  
Save the HyperMerchant.jar into your plugin folder
+
拖拽 HyperMerchant.jar 到插件文件夹
 +
==== 如何使用 ====
  
==== How to use ====
+
# 建立商店.
 +
# 创建NPC: /create npc my_shopkeeper
 +
# 给NPC加上角色: /trait hypermerchant
 +
# 给NPC加上商店: /hmerchant setshop 商店名
  
# Have a HyperConomy shop already set up.
+
之后你就可以右键NPC打开商店菜单了.
# Create an npc: /create npc my_shopkeeper
 
# Assign npc the hypermerchant trait: /trait hypermerchant
 
# Assign npc to the shop: /hmerchant setshop shop-name
 
  
That is it. You can now open that shop's menu by interacting with my_shopkeeper.
+
你也可以输入 /shopmenu 或 /remotemenu 打开菜单
 +
[http://dev.bukkit.org/bukkit-plugins/hypermerchant/ 演示视频].
  
Alternately, you can open the shop's menu using the /shopmenu or /remotemenu commands
 
  
There is a short video demonstrating most of the plugin functionality at [http://dev.bukkit.org/bukkit-plugins/hypermerchant/ bukkitdev].
+
==== 其他NPC指令 ====
 +
* /'''hmerchant''' ''offduty''    - 开关NPC是否下班.
 +
* /'''hmerchant''' ''greeting'' Hi, welcome to my shop.  --- 点击NPC时显示的消息.
 +
* /'''hmerchant''' ''farewell'' Thanks for the money, dude!  --- 关闭商店页面时显示的消息.
 +
* /'''hmerchant''' ''closed'' Sorry, im on my lunch break.    --- 下班时NPC说的话.
 +
* /'''hmerchant''' ''deny'' You are not permitted to shop here.    --- 无权限时显示的消息.
 +
* /'''hmerchant''' ''setshop'' shop_name_here  --- 点击NPC显示的商店名.
  
 +
以下指令在已选择NPC时使用, 除非你已指定 --id flag:
  
==== Other npc commands ====
+
* /'''hmerchant''' ''greeting'' Hi,欢迎来到我的商店. ''--id'' 71
* /'''hmerchant''' ''offduty''    - toggle npc off-duty mode.
+
* /'''hmerchant''' ''greeting'' Hi, welcome to my shop.  --- assign what npc will say when clicked upon.
+
* /'''hmerchant''' ''--id'' 71 ''greeting'' Hi,欢迎来到我的商店.
* /'''hmerchant''' ''farewell'' Thanks for the money, dude!  --- assign what npc will say when store menu is closed.
 
* /'''hmerchant''' ''closed'' Sorry, im on my lunch break.    --- assign what npc will say when set to off-duty mode.
 
* /'''hmerchant''' ''deny'' You are not permitted to shop here.    --- assign what npc will say if player doesn't have proper permissions.
 
* /'''hmerchant''' ''setshop'' shop_name_here  --- assign what shop's inventory is displayed when npc is clicked on. The npc does not have to be inside the shop or even in the same world as the shop.
 
  
The above commands all operate upon the currently selected npc, unless the --id flag is specified:
 
  
* /'''hmerchant''' ''greeting'' Hi, welcome to my shop. ''--id'' 71
+
==== HyperMerchant 也包括以下方便的指令: ====
or
+
* /'''remotemenu''' ''[shopname]''   - 直接打开商店菜单.
* /'''hmerchant''' ''--id'' 71 ''greeting'' Hi, welcome to my shop.
+
* /'''shopmenu'''   - 打开商店.
 +
* /'''rslist'''   - 商店名.
 +
* /'''onduty'''   - 是否让NPC下班.
  
  
==== HyperMerchant also includes the following conveniance commands: ====
 
* /'''remotemenu''' ''[shopname]''    - open a shop's menu from anywhere.
 
* /'''shopmenu'''    - open the menu of the shop you are standing in.
 
* /'''rslist'''    - list the names of all stores that can be accessed with /remotemenu command.
 
* /'''onduty'''    - Toggle whether a player shop owner is open for business.
 
  
 +
==== 其他特点: ====
 +
拥有商店的玩家可以点击其他玩家来交易.
 +
商店所有者可以输入 /onduty 来关闭这个功能,也可以在配置内关闭.
 +
你可以限制商店所有者只能在商店内才能交易.
  
  
==== Other features: ====
+
权限:
Players who own a shop can be clicked on by players who wish to do business with them.
 
Shop owners can  use the /onduty command to disable this functionality, and it can be disabled in the config.yml file.
 
You can limit shop owners to only doing business while inside their shop.
 
 
 
 
 
permissions:
 
 
   hypermerchant.*:
 
   hypermerchant.*:
       description: Gives access to all HyperMerchant commands
+
       description: HyperMerchant所有指令的权限
 
       children:
 
       children:
 
         hypermerchant.menu: true
 
         hypermerchant.menu: true
第83行: 第81行:
 
         hypermerchant.manage: true
 
         hypermerchant.manage: true
 
   hypermerchant.menu:
 
   hypermerchant.menu:
       description: Allow use of the /shopmenu command.
+
       description: 允许输入 /shopmenu command.
 
       default: true
 
       default: true
 
   hypermerchant.npc:
 
   hypermerchant.npc:
       description: Allow interaction with hypermerchant npc.
+
       description: 允许交互hypermerchant npc.
 
       default: true
 
       default: true
 
   hypermerchant.remote:
 
   hypermerchant.remote:
       description: Allow use of the /remotemenu command.
+
       description: 允许输入 /remotemenu command.
 
       default: op
 
       default: op
 
   hypermerchant.manage:
 
   hypermerchant.manage:
       description: Allow use of the /hmerchant command.
+
       description: 允许输入 /hmerchant command.
 
       default: op
 
       default: op

2019年2月9日 (六) 17:59的最新版本

HyperMerchant

HyperMerchant 是兼容 HyperConomy 的商人NPC.

特性:

  • 用简易的菜单来让玩家购买和出售物品.
  • 兼容 HyperConomy 商店权限.
  • 可开关商人是否下班. 用指令暂时清空商店.
  • 简单的指令和权限.


这个页面的大多数信息不会更新. 请查看HyperMerchant bukkitdev页面获取最新信息.

如何获取最新版本

HyperMerchant 1.57-dev 为最新版 bukkitdev. 兼容Bukkit/Spigot 1.8.

最新构建版可在CI服务器下载.


你可以在这里看到插件的兼容性.


如何安装

下载兼容你的服务端版本的HyperConomy.

拖拽 HyperMerchant.jar 到插件文件夹

如何使用

  1. 建立商店.
  2. 创建NPC: /create npc my_shopkeeper
  3. 给NPC加上角色: /trait hypermerchant
  4. 给NPC加上商店: /hmerchant setshop 商店名

之后你就可以右键NPC打开商店菜单了.

你也可以输入 /shopmenu 或 /remotemenu 打开菜单 演示视频.


其他NPC指令

  • /hmerchant offduty - 开关NPC是否下班.
  • /hmerchant greeting Hi, welcome to my shop. --- 点击NPC时显示的消息.
  • /hmerchant farewell Thanks for the money, dude! --- 关闭商店页面时显示的消息.
  • /hmerchant closed Sorry, im on my lunch break. --- 下班时NPC说的话.
  • /hmerchant deny You are not permitted to shop here. --- 无权限时显示的消息.
  • /hmerchant setshop shop_name_here --- 点击NPC显示的商店名.

以下指令在已选择NPC时使用, 除非你已指定 --id flag:

  • /hmerchant greeting Hi,欢迎来到我的商店. --id 71

  • /hmerchant --id 71 greeting Hi,欢迎来到我的商店.


HyperMerchant 也包括以下方便的指令:

  • /remotemenu [shopname] - 直接打开商店菜单.
  • /shopmenu - 打开商店.
  • /rslist - 商店名.
  • /onduty - 是否让NPC下班.


其他特点:

拥有商店的玩家可以点击其他玩家来交易. 商店所有者可以输入 /onduty 来关闭这个功能,也可以在配置内关闭. 你可以限制商店所有者只能在商店内才能交易.


权限:

  hypermerchant.*:
     description: HyperMerchant所有指令的权限
     children:
        hypermerchant.menu: true
        hypermerchant.remote: true
        hypermerchant.npc: true
        hypermerchant.manage: true
  hypermerchant.menu:
     description: 允许输入 /shopmenu command.
     default: true
  hypermerchant.npc:
     description: 允许交互hypermerchant npc.
     default: true
  hypermerchant.remote:
     description: 允许输入 /remotemenu command.
     default: op
  hypermerchant.manage:
     description: 允许输入 /hmerchant command.
     default: op