1 352
收录服务器
1 910
注册
25 180
玩家
LegendGuns 完整的武器系统
一个完整的武器系统,为您的服务器!
作 者 DefinitlyEvil
发布时间 2019年5月8日
支持核心 Spigot
原生版本
支持版本 1.13,1.14
点此下载

本插件为你的Minecraft服务器带来一套完整的武器系统,拥有自定义的材质、模型和声音。通过配置可以创建各种武器,支持多弹匣/弹药系统,真实的后坐力,目标击退效果,夜视功能,多级变焦/瞄准,投掷爆炸物以及可组合的特效。


🛠️ 功能特性

  • 自定义材质、模型和声音
  • 基于配置的武器创建
  • 多弹匣/弹药系统(一种武器可以支持多种类型的弹匣)
  • 真实的后坐力
  • 目标击退
  • 夜视功能(例如,用于狙击枪)
  • 多级变焦/瞄准(例如,AWM)
  • 投掷爆炸物(例如,手榴弹、烟雾弹)
  • 可组合的特效(弹药、枪击、命中等的声音和粒子效果)
  • 完全可配置(提供非常多的选项)
  • 物品NBT利用(不会有垃圾数据残留)
  • 完全免费!

⚙️ 配置示例


# the Java class drives this weapon
# weapon type for the base class
base: NormalWithAmmo

display: "&e&lRifle Gun"

# Material from Bukkit API
material: GOLD_BARDING
# Lore for the weapon
lore:
  - "&eThis is a rifle weapon"

# base class specific settings
# in this situation, we need set the parameters for Normal
settings:
  loadup:
    effects:
      start: load-start
      done: load-done
    delay: 25
  shooting:
    effect: shoot
    # NOTICE: this delay is in microseconds
    delay-ms: 200
    # the angle from 0.0-1.0
    recoil:
      # rotate upwards, it will *NOT* interupt the player's movement
      rotate-vert: -1.0
      # max delta value of the horizontal rotation, should be ±N
      rotate-hori-max: 2.0
    burst-shot:
      enabled: true
      count: 3
      delay: 2
  scoping:
    enabled: false
    # zoom stages, value means slowness amplifier
    zoom-stages: []
    # stage indexes that enabled night-vision
    # index starts from 0
    night-vision-stages: []
  # ammunition settings
  ammunition:
    # what types of magazines can be used
    accepted-magazines: [dot55]
    # effect for the weapon when out of ammo
    no-ammo-effect: no-ammo
  bullet:
    # Projectile EntityType from Bukkit API
    projectile: SNOWBALL
    # bullet speed
    speed: 4
    damage:
      # damage type: SINGLE or BLAST
      type: SINGLE
      # use radius if using BLAST type
      # radius: 4
      value: 2.0
    knockback:
      force: 0.19
      # knockback force when player not on ground (eg. jumping)
      force-on-air: 0.09
      # final_force = force + (RND * extra) where RND is between 0 to 1
      force-random-extra: 0.06
    # gravity affected or not?
    # set false for flying objects,
    # for example rockets can run slot but don't drop
    # also if wanna make it weird, set to true
    gravity: false
    effect: bullet
    hit-effect: bullet-hit
    bullets-per-shot: 1
    randomness: 0.01
    # how many ticks before check and remove bullets?
    clear-up:
      # check interval in ticks
      interval: 100
      # bullet time-to-live in microseconds
      ttl-ms: 10000