欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“Citizens/角色/HyperMerchant”的源代码
←
Citizens/角色/HyperMerchant
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
== HyperMerchant == [http://dev.bukkit.org/bukkit-plugins/hypermerchant/ HyperMerchant] is a merchant npc for use with HyperConomy shops. 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. * 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. ==== 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. The [http://ci.citizensnpcs.co/job/HyperMerchant/ latest dev build] is available at the CI server. There is a [http://dev.bukkit.org/bukkit-plugins/hypermerchant/pages/compatibility/ compatibility guide] for other versions of Bukkit. ==== How to install ==== Make sure you have a compatible version of HyperConomy installed. Save the HyperMerchant.jar into your plugin folder ==== How to use ==== # Have a HyperConomy shop already set up. # 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. 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]. ==== Other npc commands ==== * /'''hmerchant''' ''offduty'' - toggle npc off-duty mode. * /'''hmerchant''' ''greeting'' Hi, welcome to my shop. --- assign what npc will say when clicked upon. * /'''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 or * /'''hmerchant''' ''--id'' 71 ''greeting'' Hi, welcome to my shop. ==== 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. ==== 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.*: description: Gives access to all HyperMerchant commands children: hypermerchant.menu: true hypermerchant.remote: true hypermerchant.npc: true hypermerchant.manage: true hypermerchant.menu: description: Allow use of the /shopmenu command. default: true hypermerchant.npc: description: Allow interaction with hypermerchant npc. default: true hypermerchant.remote: description: Allow use of the /remotemenu command. default: op hypermerchant.manage: description: Allow use of the /hmerchant command. default: op
返回
Citizens/角色/HyperMerchant
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki