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

“OldCombatMechanics”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
{{mCColor|&9|配置}}
第55行: 第55行:
 
  # Spigot 页面: https://www.spigotmc.org/resources/oldcombatmechanics.19510/ #
 
  # Spigot 页面: https://www.spigotmc.org/resources/oldcombatmechanics.19510/ #
 
  # GitHub 页面: https://github.com/gvlfm78/BukkitOldCombatMechanics/        #
 
  # GitHub 页面: https://github.com/gvlfm78/BukkitOldCombatMechanics/        #
  #                                                                           #
+
  # 插件百科页面: http://mineplugin.org/OldCombatMechanics                    #
 
  #############################################################################
 
  #############################################################################
 
   
 
   
第195行: 第195行:
 
   # 以半格心为单位的最小伤害
 
   # 以半格心为单位的最小伤害
 
   minimumDamage: 1.0
 
   minimumDamage: 1.0
   # How often, it ticks, should OCM check if the player is still blocking with the shield and remove it if not
+
   # 检测玩家用盾格挡的时间并移除盾牌
   # If this is too fast the player will have their shield disappear before they're able to block again causing a slight delay
+
   # 如果时间太短的话玩家的盾会在格挡前就消失
   # If this is too slow players will have a shield in their hand well after they've stopped blocking
+
   # 如果时间太长的话玩家即使停止格挡盾牌也还在手上
   # 20 ticks = 1 second
+
   # 20 ticks = 1
 
   restoreDelay: 40
 
   restoreDelay: 40
   # List of items that holding in the offhand while right-clicking with a sword doesn't trigger blocking e.g. bow
+
   # 可以左持的物品列表
 
   noBlockingItems: []
 
   noBlockingItems: []
   # Whether the above list should act as a blacklist (i.e. only items in it stop the blocking mechanic)
+
   # 是否将这个名单视为黑名单 (例如只有物品就可以关闭格挡机制)
 
   blacklist: true
 
   blacklist: true
 
   
 
   
 
  old-golden-apples:
 
  old-golden-apples:
   # This is to change the behaviour / crafting of golden apples to how it was in pre-1.9
+
   # 改变金苹果的合成和效果到1.9之前
   # WARNING: If on 1.12 or above and you disable this module you must reload the server for the recipe to disappear
+
   # 注意: 如果你用的是1.12及以上版本的服务器,你必须要重启服务器才能关闭合成配方
 
   enabled: true
 
   enabled: true
 
   worlds: []
 
   worlds: []
   # If you want to allow enchanted golden apple crafting
+
   # 是否开启金苹果合成配方
 
   enchanted-golden-apple-crafting: true
 
   enchanted-golden-apple-crafting: true
   # Enabling this makes the potion effects gained by eating golden apples
+
   # 是否将金苹果的效果
   # and enchanted golden apples the same as it was in pre-1.9
+
   # 恢复到1.9之前
 
   old-potion-effects: true
 
   old-potion-effects: true
   # Potion effects golden apples should apply
+
   # 药水效果
   # Duration is in ticks (20 ticks = 1 second)
+
   # 持续世界为刻 (20 = 1 )
   # Amplifier is potion level -1, so Regeneration IV would be amplifier 3
+
   # Amplifier 为药水效果 -1, 所以 生命恢复 IV amplifier 3
 
   gapple-effects:
 
   gapple-effects:
 
     regeneration:
 
     regeneration:
第225行: 第225行:
 
       duration: 2400
 
       duration: 2400
 
       amplifier: 0
 
       amplifier: 0
   # Potion effects enchanted golden apples should apply
+
   # 附魔金苹果的药水效果
 
   napple-effects:
 
   napple-effects:
 
     regeneration:
 
     regeneration:
第239行: 第239行:
 
       duration: 2400
 
       duration: 2400
 
       amplifier: 0
 
       amplifier: 0
   # Enable this if you have another plugin which adds a crafting recipe for
+
   # 如果你有其他插件来合成金苹果就启用这个
   # enchanted golden apples (requires server restart)
+
   # (需要重启服务器)
 
   no-conflict-mode: false
 
   no-conflict-mode: false
 
   
 
   
 
  old-fishing-knockback:
 
  old-fishing-knockback:
   # This is to make the knockback of players when they get hit by a fishing bobber the same as it was in pre-1.9
+
   # 将鱼竿的击退还原到1.9之前
   # Credit to HyKurtis for the original code, optimised by Rayzr522
+
   # 感谢 HyKurtis 提供的代码, Rayzr522 优化
 
   enabled: true
 
   enabled: true
 
   worlds: []
 
   worlds: []
   # This makes OCM check if other plugins are stopping the rod damage and follow their choice
+
   # 是否检测并取消鱼竿伤害
   # Set to false to always have rod damage
+
   # 默认false鱼竿会造成伤害
 
   checkCancelled: false
 
   checkCancelled: false
   # This is the damage done by the fishing rod attack
+
   # 钓鱼竿造成的伤害
 
   damage: 0.2
 
   damage: 0.2
   # Whether the EntityDamageEvent should be used instead of the EntityDamageByEntityEvent
+
   # 是否使用EntityDamageEvent 而不是 EntityDamageByEntityEvent
   # Set to true when using plugins like NCP that check range
+
   # 如果你使用了类似NCP的攻击距离检测请启用这项
 
   useEntityDamageEvent: false
 
   useEntityDamageEvent: false
   # This is to cancel dragging in the entity attached to the fishing rod when reeling in, like in 1.8
+
   # 取消鱼竿拖拽效果
 
   cancelDraggingIn: true
 
   cancelDraggingIn: true
 
    
 
    
 
  projectile-knockback:
 
  projectile-knockback:
   # This adds knockback and/or damage to players when they get hit by snowballs, eggs & enderpearls
+
   # 防止玩家受到雪球、鸡蛋、末影珍珠的击退效果和伤害
  # This has been a Bukkit bug for so long people thought it was vanilla when it was recently patched
 
 
   enabled: true
 
   enabled: true
 
   worlds: []
 
   worlds: []
   # This is the damage done by each projectile
+
   # 各种投掷物的伤害
 
   damage:
 
   damage:
 
     snowball: 0.1
 
     snowball: 0.1
第271行: 第270行:
 
   
 
   
 
  old-player-regen:
 
  old-player-regen:
   # This is to make players' regeneration act mostly like it did in pre-1.9
+
   # 1.8的生命恢复机制
   # It's hard to make it behave exactly like before, but in general this makes it work like in pre-1.9
+
   # 这一功能很难做到一模一样,但已经十分相似
 
   enabled: true
 
   enabled: true
 
   worlds: []
 
   worlds: []
   # How often, in seconds, a player should regenerate health
+
   # 恢复频率
 
   frequency: 3
 
   frequency: 3
   # How many half-hearts the player should heal by, every seconds specified above
+
   # 每次恢复的生命值数
 
   amount: 1
 
   amount: 1
   # How much exhaustion healing should give to the player. In 1.8: 3 In 1.9: 4 in 1.11: 6
+
   # 生命恢复的消耗. 1.8: 3 1.9: 4   1.11: 6
   # If, after adding this, Minecraft finds the value is above 4, it subtracts 4
+
   # 大于4的数值,实际上会 除以 4
   # and either reduces saturation or, if saturation is 0, reduces food level by 1 (1/2 a stick)
+
   # 并会减少饱和度, 如果饱和度为 0, 就会减少饱食度 1 (1/2 每刻)
 
   exhaustion: 3
 
   exhaustion: 3
 
   
 
   
 
  old-armour-strength:
 
  old-armour-strength:
   # This is to set armour strength values as in pre-1.9
+
   # 将装备强度还原到1.9之前
 
   enabled: true
 
   enabled: true
 
   worlds: []
 
   worlds: []
   # The higher the armour toughness value the closer the damage done while wearing armour is to pre-1.9 values
+
   # 数值越高越接近1.8的机制
 
   toughness: 9999
 
   toughness: 9999
   # This is to change the armour strength values if you so wish
+
   # 改变装备的防御值
 
   strength:
 
   strength:
 
     # 皮革防具
 
     # 皮革防具
第319行: 第318行:
 
   
 
   
 
  old-potion-effects:
 
  old-potion-effects:
   # This is to restore the 1.8 potion effects before they were nerfed
+
   # 使用旧版的力量药水效果
 
   enabled: true
 
   enabled: true
   # Strength potion
+
   # 力量药水效果
 
   8228:
 
   8228:
 
     poison:
 
     poison:
第328行: 第327行:
 
      
 
      
 
  disable-projectile-randomness:
 
  disable-projectile-randomness:
   # This is to remove projectile randomness while firing arrows with a bow
+
   # 移除火矢的随机抛物线
  # This is actually a very old feature and has been in the game for quite some time
 
 
   enabled: false
 
   enabled: false
 
   worlds: []
 
   worlds: []
 
      
 
      
 
  disable-bow-boost:
 
  disable-bow-boost:
   # This is to stop players from boosting themselves forward by hitting themselves
+
   # 防止玩家用弓射自己来造成击退
   # while running with a punch II arrow from their bow
+
   # 在奔跑时用冲击 II 的弓射中自己可以击飞自己
   # This module just stops them from hitting themselves with arrows entirely
+
   # 这一模块关闭了弓箭对自己造成的伤害
 
   enabled: false
 
   enabled: false
 
   worlds: []
 
   worlds: []

2018年9月16日 (日) 13:13的版本

OldCombatMechanics
Ocm.jpg
外文名OldCombatMechanics
作者gvlfm78
插件类型Spigot / CraftBukkit
最新版本1.6.5
兼容服务端1.9-1.12
源地址http://dev.bukkit.org/bukkit-plugins/OldCombatMechanics

介绍

这个插件可以让你的服务器战斗机制回到1.9版本之前.
与同类的插件不同,这个插件更注重效率,从而不妨碍服务器的性能.

特点

  • 控制每个世界插件功能的开关
  • 移除武器冷却
  • 关闭玩家碰撞
  • 将武器和工具的伤害改为1.9版本之前的伤害 (可自定义)
  • 关闭横扫之刃
  • 恢复旧的附魔金苹果合成配方
  • 自定义附魔或普通金苹果的合成配方及其药水效果
  • 将鱼竿的击退和伤害恢复至1.9之前 (可自定义)
  • 将玩家生命恢复速度恢复至1.9之前 (可自定义)
  • 在玩家用剑右键格挡时视为使用盾牌
  • 将盔甲强度恢复至1.9之前 (可自定义)
  • 可关闭盾牌的合成
  • 关闭副手 (带有物品的白名单和黑名单)
  • 自动添加作为燃料的烈焰粉到炼药台内
  • 自动添加青金石到附魔台内
  • 关闭鞘翅
  • 使盾牌格挡1/2而不是减伤33%
  • 使弓箭可以击穿盾牌
  • 禁用随机抛射物轨迹
  • 关闭弓箭增强效果
  • 恢复雪球、鸡蛋和末影珍珠的击退

指令

  • /ocm: 显示插件版本号并检测更新
  • /ocm toggle: 开关攻击冷却

权限

  • OldCombatMechanics.commands: 允许使用插件指令
  • OldCombatMechanics.notify: 插件更新提醒
  • OldCombatMechanics.toggle: 允许玩家用 /ocm 来开关个人的攻击冷却
  • OldCombatMechanics.nolapis: 允许玩家不用青金石就能附魔

配置

############# OldCombatMechanics Plugin by gvlfm78 and Rayzr522 #############
#                                                                           #
# Bukkit 页面: http://dev.bukkit.org/bukkit-plugins/oldcombatmechanics/     #
# Spigot 页面: https://www.spigotmc.org/resources/oldcombatmechanics.19510/ #
# GitHub 页面: https://github.com/gvlfm78/BukkitOldCombatMechanics/         #
# 插件百科页面: http://mineplugin.org/OldCombatMechanics                    #
#############################################################################

# 开关更新检测器
update-checker:
  enabled: true
  # 模式: auto, bukkit, spigot
  mode: auto
    
# 当玩家用 /ocm toggle 来开关攻击冷却时
# 否需要权限
enableIndividualToggle: false

# 忽略右键交互的方块
# 这可以用来关闭剑的格挡和装备鞘翅
interactive: [enchantment_table,anvil,brewing_stand,trapped_chest,chest,bed,boat,fence_gate,dispenser,dropper,furnace,jukebox,ender_chest,stone_button,wood_button,beacon,tripwire_hook,hopper,daylight_detector,daylight_detector_inverted,item_frame,diode,diode_block_off,diode_block_on,redstone_comparator,redstone_comparator_off,redstone_comparator_on,acacia_door,birch_door,dark_oak_door,jungle_door,spruce_door,wood_door,workbench,bed_block,lever,trap_door,burning_furnace,spruce_fence_gate,birch_fence_gate,jungle_fence_gate,dark_oak_fence_gate,acacia_fence_gate,white_shulker_box,orange_shulker_box,magenta_shulker_box,light_blue_shulker_box,yellow_shulker_box,lime_shulker_box,pink_shulker_box,gray_shulker_box,silver_shulker_box,cyan_shulker_box,purple_shulker_box,blue_shulker_box,brown_shulker_box,green_shulker_box,red_shulker_box,black_shulker_box]
 

# 要想要分开世界设置,你需要在 [] 内填写世界名
# 例如: (names are case sensitive)
# worlds: [world,survival,creative,SkyWars]
# 再如 (单个世界): 
# worlds: [bestWorld]

disable-attack-cooldown:
  # 关闭攻击冷却
  enabled: true
  worlds: []
  # 设置攻击速度. 默认1.9的速度是4, 取消冷却至少要16.
  generic-attack-speed: 24
  
disable-player-collisions:
  # 关闭玩家碰撞
  # 现已兼容计分版和修改TAB列表的插件
  enabled: false
  worlds: []
  
disable-sword-sweep:
  # 关闭横扫之刃
  # 但仍会有粒子效果显示
  enabled: true
  worlds: []
  
disable-crafting:
  # 关闭特定物品的合成
  enabled: true
  worlds: []
  # 关闭合成的物品列表
  denied: [shield]
  
disable-offhand:
  # 关闭副手
  # 不会影响用剑格挡的功能
  enabled: true
  worlds: []
  # 是否开启物品白名单
  whitelist: true
  # 允许的物品列表
  # 例如: [diamond_sword,BOW]
  items: []
  
old-brewing-stand:
  # 自动补充炼药台燃料
  enabled: true
  worlds: []
  
no-lapis-enchantments:
  # 自动在附魔台内添加青金石
  enabled: false
  worlds: []
  # 是否需要 oldcombatmechanics.nolapis 权限
  usePermission: false
  
disable-elytra:
  # 禁止玩家穿戴鞘翅
  enabled: false
  worlds: []
  
disable-enderpearl-cooldown:
  # 关闭末影珍珠冷却
  enabled: true
  worlds: []
  
old-tool-damage:
  # 设置工具的伤害
  # 注意: 这些数值会修改伤害, 但在物品信息内显示的伤害值不会变
  enabled: true
  worlds: []
  # 这可以让你分开设置伤害
  # 下面的默认值是通过1.8/1.9的数值 
  # 只有斧和铲的数值在1.8和1.9之间有别, 其他都一样
  # 你可以随意修改.
  # 插件减少了附魔带来的伤害加成,
  # 将持有武器使的伤害分为以下值,
  # 并修改了附魔的伤害.
  damages:
    # 斧
    GOLD_AXE: 2.333333
    WOOD_AXE: 2.333333
    STONE_AXE: 2.25
    IRON_AXE: 1.8
    DIAMOND_AXE: 1.5
    # 铲
    GOLD_SPADE: 2.5
    WOOD_SPADE: 2.5
    STONE_SPADE: 1.75
    IRON_SPADE: 1.5
    DIAMOND_SPADE: 1.375
    # 剑
    GOLD_SWORD: 1
    WOOD_SWORD: 1
    STONE_SWORD: 1
    IRON_SWORD: 1
    DIAMOND_SWORD: 1
    # 镐
    GOLD_PICKAXE: 1
    WOOD_PICKAXE: 1
    STONE_PICKAXE: 1
    IRON_PICKAXE: 1
    DIAMOND_PICKAXE: 1
    # 锄
    GOLD_HOE: 1
    WOOD_HOE: 1
    STONE_HOE: 1
    IRON_HOE: 1
    DIAMOND_HOE: 1

sword-blocking:
  # 这可以让玩家手持剑右键时使用盾牌来格挡,再次右键取消
  enabled: true
  worlds: []
  # 减少比率
  # 可以是以半格心为单位的数字 ( 2)或是百分比 ( 20%)
  # 1.8 默认值为: 50%             1.9 默认值为: 33%
  blockingDamageReduction: 50%
  # 盾牌是否可以抵挡全部伤害
  # 1.8的格挡只能抵挡一半的伤害
  shieldFullBlock: false
  # 以半格心为单位的最小伤害
  minimumDamage: 1.0
  # 检测玩家用盾格挡的时间并移除盾牌
  # 如果时间太短的话玩家的盾会在格挡前就消失
  # 如果时间太长的话玩家即使停止格挡盾牌也还在手上
  # 20 ticks = 1 秒
  restoreDelay: 40
  # 可以左持的物品列表
  noBlockingItems: []
  # 是否将这个名单视为黑名单 (例如只有物品就可以关闭格挡机制)
  blacklist: true

old-golden-apples:
  # 改变金苹果的合成和效果到1.9之前
  # 注意: 如果你用的是1.12及以上版本的服务器,你必须要重启服务器才能关闭合成配方
  enabled: true
  worlds: []
  # 是否开启金苹果合成配方
  enchanted-golden-apple-crafting: true
  # 是否将金苹果的效果
  # 恢复到1.9之前
  old-potion-effects: true
  # 药水效果
  # 持续世界为刻 (20 刻 = 1 秒)
  # Amplifier 为药水效果 -1, 所以 生命恢复 IV 为 amplifier 3
  gapple-effects:
    regeneration:
      duration: 100
      amplifier: 1
    absorption:
      duration: 2400
      amplifier: 0
  # 附魔金苹果的药水效果
  napple-effects:
    regeneration:
      duration: 600
      amplifier: 4
    damage_resistance:
      duration: 6000
      amplifier: 0
    fire_resistance:
      duration: 6000
      amplifier: 0
    absorption:
      duration: 2400
      amplifier: 0
  # 如果你有其他插件来合成金苹果就启用这个
  #  (需要重启服务器)
  no-conflict-mode: false

old-fishing-knockback:
  # 将鱼竿的击退还原到1.9之前
  # 感谢 HyKurtis 提供的代码, 由 Rayzr522 优化
  enabled: true
  worlds: []
  # 是否检测并取消鱼竿伤害
  # 默认false鱼竿会造成伤害
  checkCancelled: false
  # 钓鱼竿造成的伤害
  damage: 0.2
  # 是否使用EntityDamageEvent 而不是 EntityDamageByEntityEvent
  # 如果你使用了类似NCP的攻击距离检测请启用这项
  useEntityDamageEvent: false
  # 取消鱼竿拖拽效果
  cancelDraggingIn: true
  
projectile-knockback:
  # 防止玩家受到雪球、鸡蛋、末影珍珠的击退效果和伤害
  enabled: true
  worlds: []
  # 各种投掷物的伤害
  damage:
    snowball: 0.1
    egg: 0.1
    ender_pearl: 0.1

old-player-regen:
  # 1.8的生命恢复机制
  # 这一功能很难做到一模一样,但已经十分相似
  enabled: true
  worlds: []
  # 恢复频率
  frequency: 3
  # 每次恢复的生命值数
  amount: 1
  # 生命恢复的消耗.  1.8: 3  1.9: 4   1.11: 6
  # 大于4的数值,实际上会 除以 4
  # 并会减少饱和度, 如果饱和度为 0, 就会减少饱食度 1 (1/2 每刻)
  exhaustion: 3

old-armour-strength:
  # 将装备强度还原到1.9之前
  enabled: true
  worlds: []
  # 数值越高越接近1.8的机制
  toughness: 9999
  # 改变装备的防御值
  strength:
    # 皮革防具
    LEATHER_HELMET: 1
    LEATHER_CHESTPLATE: 3
    LEATHER_LEGGINGS: 2
    LEATHER_BOOTS: 1
    # 锁链防具
    CHAINMAIL_HELMET: 2
    CHAINMAIL_CHESTPLATE: 5
    CHAINMAIL_LEGGINGS: 4
    CHAINMAIL_BOOTS: 1
    # 金防具
    GOLD_HELMET: 2
    GOLD_CHESTPLATE: 5
    GOLD_LEGGINGS: 3
    GOLD_BOOTS: 1
    # 铁防具
    IRON_HELMET: 2
    IRON_CHESTPLATE: 6
    IRON_LEGGINGS: 5
    IRON_BOOTS: 2
    # 钻石防具
    DIAMOND_HELMET: 3
    DIAMOND_CHESTPLATE: 8
    DIAMOND_LEGGINGS: 6
    DIAMOND_BOOTS: 3

old-potion-effects:
  # 使用旧版的力量药水效果
  enabled: true
  # 力量药水效果
  8228:
    poison:
      duration: 440
      amplifier: 1????
    
disable-projectile-randomness:
  # 移除火矢的随机抛物线
  enabled: false
  worlds: []
    
disable-bow-boost:
  # 防止玩家用弓射自己来造成击退
  # 在奔跑时用冲击 II 的弓射中自己可以击飞自己
  # 这一模块关闭了弓箭对自己造成的伤害
  enabled: false
  worlds: []

################################
####        特殊设置        ####
################################
  
#  开启调试信息, 建议在报错时开启
debug:
  enabled: false

# 不要改变这个数字,否则你的配置会被重置
config-version: 25

链接

Github源码

作者的paypal投喂链接


Bukkit




Jenkins