公告
抱歉更新延迟了!D: 目前我正在开发通过金币和/或经验值购买附魔的功能,但 Bukkit API 在修改经验值方面非常不稳定。我将尽快推出更新。
简介
什么是 EnchantShops?EnchantShops 让获取附魔变得更加简单!你不再需要与成百上千的僵尸猪人战斗以获取经验值,也不再需要费力制作附魔台并搭建房间,只需通过告示牌即可轻松购买!EnchantShops 允许用户右键点击告示牌来购买上面指定的附魔。
功能
- 可配置的附魔别名
- 支持通过 Vault 或物品经济系统使用经济功能
- 可配置用于声明附魔商店的标签和颜色代码
- 可选择禁用或启用某些附魔
命令
/listenchants - 列出附魔及其起始等级和最大等级。有关附魔及其适用物品的完整列表,请访问此 页面。
/enchant-alias <enchantment> - 获取附魔的别名(不区分大小写)。
/enchant-shoptag - 获取附魔商店顶部所需的商店标签。
权限
enchantshop.buy - 允许用户从告示牌购买附魔。
enchantshop.getalias - 赋予用户使用 '/enchant-alias <enchantment>' 的权利。
enchantshop.getshoptag - 赋予用户使用 '/enchant-shoptag' 的权利。
enchantshop.shop.create - 赋予用户建造附魔商店的权利。
enchantshop.shop.delete - 赋予用户移除附魔商店的权利。
配置文件
- 属性 (properties):
- permissions: false - 启用权限系统
- useVault: true - 如果为 true,则使用通过 Vault 提供的经济系统,否则使用物品作为经济系统
- materialID: 266 - 物品经济系统中使用的材质 ID
- item-alias: Gold Bar - 物品经济系统中使用的物品别名
- shop-tag: [EnchantShop] - 附魔商店顶部所需的商店标签
- shop-colorcode: '3' - 用于给附魔商店上的商店标签着色的颜色代码
- 附魔别名 (enchant-aliases):
- ARROW_KNOCKBACK: ARROW_KB
- ARROW_INFINITE: ARROW_I
- DAMAGE_UNDEAD: DAMAGE_U
- LOOT_BONUS_BLOCKS: LT_BS_BLOCKS
- LOOT_BONUS_MOBS: LT_BS_MOBS
- PROTECTION_ENVIRONMENTAL: PROT_ENV
- PROTECTION_EXPLOSIONS: PROT_EXP
- PROTECTION_FALL: PROT_FL
- PROTECTION_PROJECTILE: PROT_PROJ
- PROTECTION_FIRE: PROT_FIRE
- DAMAGE_ARTHROPODS: DAMAGE_APODS
- WATER_WORKER: WATER_WKR
- 附魔状态 (enchant-states)
- DURABILITY: true
- PROTECTION_ENVIRONMENTAL: true
- LOOT_BONUS_BLOCKS: true
- PROTECTION_FIRE: true
- DIG_SPEED: true
- PROTECTION_FALL: true
- SILK_TOUCH: true
- PROTECTION_EXPLOSIONS: true
- PROTECTION_PROJECTILE: true
- OXYGEN: true
- WATER_WORKER: true
- ARROW_INFINITE: true
- DAMAGE_UNDEAD: true
- ARROW_FIRE: true
- DAMAGE_ALL: true
- ARROW_KNOCKBACK: true
- KNOCKBACK: true
- ARROW_DAMAGE: true
- DAMAGE_ARTHROPODS: true
- LOOT_BONUS_MOBS: true
- FIRE_ASPECT: true
如何创建附魔商店
创建附魔商店非常简单。只需在第一行放置商店标签(在配置文件中声明,并可通过游戏内命令 '/enchant-shoptag' 获取)。在第二行,如果提供了附魔别名则放入别名,否则放入附魔名称。在第三行,放入与该附魔关联的等级(在配置文件中声明,并可通过游戏内命令 '/enchant-alias <enchantment>' 获取)。最后在第四行,放入该附魔的价格。

Notice
Sorry for the delayed update! D: Currently i am working on allowing enchants to buy purchasable though money and/or xp, but the Bukkit API is very unstable with changing the xp. Will have the update ASAP.
Description
What is EnchantShops? EnchantShops makes getting enchantments easier! Instead of having to battle hundreds of Zombie Pigman to get experience, then having to craft an Enchantment Table, and going though the trouble of building a room, you can simply buy them though signs! EnchantShops allows users to right-click signs and buy the enchantment specified on the sign.
Features
- Configurable enchantment aliases
- Option for using economy through vault or an Item Economy
- Configurable tags and color-codes used in declaring EnchantShops
- Option for disabling and enabled certain enchantments
Commands
/listenchants - list enchantments and their start levels and max levels. For a complete list on the enchantments and the items they enchant, please visit this page.
/enchant-alias <enchantment> - get the alias for an enchantment (not case sensitive).
/enchant-shoptag - get the shop tag required at the top of the EnchantShop.
Permissions
enchantshop.buy - allows users to buy enchantments from signs.
enchantshop.getalias - gives users rights to use '/enchant-alias <enchantment>'.
enchantshop.getshoptag - gives users rights to use '/enchant-shoptag'.
enchantshop.shop.create - gives users rights to build EnchantShops.
enchantshop.shop.delete - gives user rights to remove EnchantShops.
Config
- properites:
- permissions: false - enable permissions
- useVault: true - if true it will use the economy provided through vault, otherwise use Items as the economy
- materialID: 266 - the material id used for the Item Economy
- item-alias: Gold Bar - the alias used for the item for the Item Economy
- shop-tag: [EnchantShop] - the shop tag required at the top of an EnchantShop
- shop-colorcode: '3' - the color code used for coloring the shop-tag on an EnchantShop
- enchant-aliases:
- ARROW_KNOCKBACK: ARROW_KB
- ARROW_INFINITE: ARROW_I
- DAMAGE_UNDEAD: DAMAGE_U
- LOOT_BONUS_BLOCKS: LT_BS_BLOCKS
- LOOT_BONUS_MOBS: LT_BS_MOBS
- PROTECTION_ENVIRONMENTAL: PROT_ENV
- PROTECTION_EXPLOSIONS: PROT_EXP
- PROTECTION_FALL: PROT_FL
- PROTECTION_PROJECTILE: PROT_PROJ
- PROTECTION_FIRE: PROT_FIRE
- DAMAGE_ARTHROPODS: DAMAGE_APODS
- WATER_WORKER: WATER_WKR
- enchant-states
- DURABILITY: true
- PROTECTION_ENVIRONMENTAL: true
- LOOT_BONUS_BLOCKS: true
- PROTECTION_FIRE: true
- DIG_SPEED: true
- PROTECTION_FALL: true
- SILK_TOUCH: true
- PROTECTION_EXPLOSIONS: true
- PROTECTION_PROJECTILE: true
- OXYGEN: true
- WATER_WORKER: true
- ARROW_INFINITE: true
- DAMAGE_UNDEAD: true
- ARROW_FIRE: true
- DAMAGE_ALL: true
- ARROW_KNOCKBACK: true
- KNOCKBACK: true
- ARROW_DAMAGE: true
- DAMAGE_ARTHROPODS: true
- LOOT_BONUS_MOBS: true
- FIRE_ASPECT: true
How to create EnchantShops
Creating an EnchantShop is easy. Simply put the shop-tag (declared in the config and obtainable in-game via command '/enchant-shoptag') on the first line. On the second line, put the enchantment's alias if provided, otherwise put the enchantment's name. On the third line, put the level associated with the enchantment (declared in the config and obtainable in-game via command '/enchant-alias <enchantment>'). Then finally on the fourth line, put the price of the enchantment.

评论 0
登录后参与评分
还没有评论,来抢沙发吧