Spawn Elytra

插件

· 作者 blaxk

出生点放置隐形鞘翅,以分散玩家至世界各处,类似于 Craft Attack Spawn Elytra

0 本站下载 0 关注 更新于 3 个月前

最新 1.5 · 26.3 · Paper / Purpur

一键开服(送7天)


使用 Spawn Elytra 翱翔世界!
让玩家借助类似鞘翅的飞行能力从出生点分散至世界各地。


默认配置
# Spawn Elytra Plugin by blaxk
# Plugin Version: 1.5
# Modrinth: https://modrinth.com/plugin/spawn-elytra

# ==========================================
# GLOBAL SETTINGS
# ==========================================

# Available languages: en, de, es, fr, pl
language: en

# Game mode restrictions
game_modes:
  # Automatically disable elytra when player enters creative mode (This prevents buggy flying in Creative)
  disable_in_creative: true
  # If you don't want to disable elytra in adventure mode, set this to false
  disable_in_adventure: false

# Fireworks settings
fireworks:
  # Disable fireworks when using spawn elytra (players can still use fireworks if they have a real elytra equipped)
  disable_in_spawn_elytra: false

# Bedrock (Geyser/Floodgate) support
bedrock:
  # Bedrock Edition cannot glide without a real elytra equipped. When enabled,
  # Bedrock players inside the spawn area receive a temporary elytra. They use
  # it like a normal elytra: jump, then press jump again while falling. Since
  # Bedrock has no offhand/F key, Bedrock players always boost by pressing sneak
  # while gliding.
  enabled: true

# Message settings
messages:
  # Set to false to disable the "press to boost" message
  show_press_to_boost: true
  # Set to false to disable the "boost activated" message
  show_boost_activated: true
  # Set to true to show an actionbar when Elytra is disabled in Creative mode
  show_creative_disabled: false
  # Message style: classic or small_caps
  style: classic

# Visualization settings for /spawnelytra visualize command
visualization:
  # Vertical range above and below player for particle display
  vertical_range: 20
  # Additional vertical range for corner/cardinal pillars
  pillar_vertical_range: 25
  # Particle update frequency (ticks between updates, lower = more frequent)
  update_frequency: 10
  # Particle size multiplier for better visibility from distance
  particle_size: 2.0
  # Enable enhanced particles (brighter colors, additional effects)
  enhanced_particles: true

# Hunger consumption settings (global defaults, can be overridden per-world)
hunger_consumption:
  # Enable hunger consumption while using the spawn elytra features
  enabled: false
  # How hunger should be consumed: activation, distance, or time
  mode: activation
  # Minimum food level to keep (players will never drop below this value)
  minimum_food_level: 0

  activation:
    # Hunger consumed each time the elytra activates
    hunger_cost: 1

  distance:
    # Blocks travelled while gliding before hunger is consumed
    blocks_per_point: 50.0
    # Hunger consumed every time the distance threshold is reached
    hunger_cost: 1

  time:
    # Seconds of gliding before hunger is consumed
    seconds_per_point: 30
    # Hunger consumed each time the timer elapses
    hunger_cost: 1

# ==========================================
# WORLD-SPECIFIC SETTINGS
# ==========================================

# Configure elytra settings per world
worlds:
  # If you want to add another world, copy the entire 'world' section and change the name and preferences
  world:
    # Enable spawn elytra in this world
    enabled: true

    # Activation mode for elytra:
    # double_jump: Player needs to double-press space to activate elytra
    # auto: Automatically activates elytra when player has air below and is in spawn area
    # sneak_jump: Player needs to sneak while jumping to activate elytra
    # f_key: Player needs to press F (swap hands) to activate elytra, this also boosts a player upwards on activation
    activation_mode: double_jump

    # The radius around spawn where elytra boosting is enabled
    # (only used when area_mode is 'circular' or spawn coords x2/y2/z2 are all 0)
    radius: 100

    # Spawn area configuration
    spawn_area:
      # Mode options: 'auto' or 'advanced'
      # auto: Uses the world spawn point with radius
      # advanced: Uses custom spawn coordinates defined below
      mode: auto

      # Area type: 'circular' or 'rectangular'
      area_type: circular

      # Primary spawn coordinates (center for circular, first corner for rectangular)
      x: 0
      y: 64
      z: 0

      # Secondary coordinates (only used for rectangular areas)
      # Setting all to 0 uses circular area with radius instead
      x2: 0
      y2: 0
      z2: 0

加速设置

boost:
  # 启用加速功能
  enabled: true
  # 按下加速键时的加速力度
  strength: 4
  # 加速方向:'forward'(向前)或 'upward'(向上)
  # forward:朝玩家注视的方向加速
  # upward:垂直向上加速
  direction: forward
  # 每次鞘翅飞行允许的最大加速次数(1 = 仅单次加速)
  max_boosts: 1
  # 两次加速之间的冷却时间(秒)(0 = 无冷却,仅在 max_boosts > 1 时生效)
  boost_cooldown: 0
  # 加速音效 - 可以是来自 https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html 的任何声音
  # 示例:ENTITY_BAT_TAKEOFF, ENTITY_FIREWORK_ROCKET_BLAST, ITEM_ELYTRA_FLYING
  sound: ENTITY_BAT_TAKEOFF

# F键专属设置(仅在 activation_mode: f_key 时使用)
f_key:
  # 按下 F 键时的发射力度(1.5 = 约向上 14-15 格)
  launch_strength: 1.5

</details>

<details>
<summary>
  <img src="https://cdn.modrinth.com/data/cached_images/c852996e53690b60f68333c54359ec5137cf1a36.png" width="15"> 
  Craft Attack Replica
</summary>

如果您希望出生点鞘翅的行为方式与 Craft Attack 一致,请将以下内容粘贴到配置文件中:
  
```yaml
# Spawn Elytra Plugin by blaxk
# Plugin Version: 1.5
# Modrinth: https://modrinth.com/plugin/spawn-elytra

# ==========================================
# 全局设置
# ==========================================

# 可用语言:en, de, es, fr, pl
language: en

# 游戏模式限制
game_modes:
  # 当玩家进入创造模式时自动禁用鞘翅(这可以防止在创造模式中产生故障飞行)
  disable_in_creative: true
  # 如果您不想在冒险模式中禁用鞘翅,请将其设置为 false
  disable_in_adventure: false

# 烟花设置
fireworks:
  # 使用出生点鞘翅时禁用烟花(如果玩家装备了真实的鞘翅,他们仍可使用烟花)
  disable_in_spawn_elytra: false

# 基岩版(Geyser/Floodgate)支持
bedrock:
  # 基岩版在没有装备真实鞘翅的情况下无法滑翔。启用后,
  # 出生区域内的基岩版玩家将收到一个临时鞘翅。他们像使用普通鞘翅一样使用它:跳跃,然后在下落时再次按跳跃键。由于
  # 基岩版没有副手/F 键,基岩版玩家在滑翔时始终通过按住潜行键来加速。
  enabled: true

# 消息设置
messages:
  # 设置为 false 以禁用“按空格加速”的消息
  show_press_to_boost: false
  # 设置为 false 以禁用“加速已激活”的消息
  show_boost_activated: false
  # 设置为 true 以在创造模式下禁用鞘翅时显示动作栏提示
  show_creative_disabled: false
  # 消息样式:classic(经典)或 small_caps(小型大写字母)
  style: classic

# /spawnelytra visualize 命令的可视化设置
visualization:
  # 粒子显示的垂直范围(玩家上方和下方)
  vertical_range: 20
  # 角落/方位柱的额外垂直范围
  pillar_vertical_range: 25
  # 粒子更新频率(更新之间的刻数,数值越低越频繁)
  update_frequency: 10
  # 粒子大小乘数,以便从远处更好地可见
  particle_size: 2.0
  # 启用增强型粒子(更亮的颜色、额外的效果)
  enhanced_particles: true

# 饥饿消耗设置(全局默认值,可按世界覆盖)
hunger_consumption:
  # 在使用出生点鞘翅功能时启用饥饿消耗
  enabled: false
  # 饥饿消耗的方式:activation(激活时)、distance(距离)或 time(时间)
  mode: activation
  # 最低食物等级(玩家的食物等级永远不会低于此值)
  minimum_food_level: 0

  activation:
    # 每次鞘翅激活时消耗的饥饿值
    hunger_cost: 1

  distance:
    # 滑翔期间在消耗饥饿值前移动的距离(格)
    blocks_per_point: 50.0
    # 每次达到距离阈值时消耗的饥饿值
    hunger_cost: 1

  time:
    # 在消耗饥饿值前的滑翔持续时间(秒)
    seconds_per_point: 30
    # 每次计时器到期时消耗的饥饿值
    hunger_cost: 1

# ==========================================
# 世界特定设置
# ==========================================

# 为每个世界配置鞘翅设置
worlds:
  # 如果要添加另一个世界,复制整个 'world' 部分并更改名称和偏好设置
  world:
    # 在此世界中启用出生点鞘翅
    enabled: true

    # 鞘翅激活模式:
    # double_jump:玩家需要双击空格键来激活鞘翅
    # auto:当玩家脚下有空气且处于出生区域时自动激活鞘翅
    # sneak_jump:玩家需要边跳跃边潜行来激活鞘翅
    # f_key:玩家需要按 F 键(交换手持物品)来激活鞘翅,这也会在激活时将玩家向上推
    activation_mode: double_jump

    # 启用鞘翅加速的出生点周围半径
    # (仅在 area_mode 为 'circular' 或 spawn coords x2/y2/z2 全为 0 时使用)
    radius: 100

    # 出生区域配置
    spawn_area:
      # 模式选项:'auto' 或 'advanced'
      # auto:使用带有半径的世界出生点
      # advanced:使用下面定义的自定义出生坐标
      mode: auto

      # 区域类型:'circular'(圆形)或 'rectangular'(矩形)
      area_type: circular

      # 主要出生坐标(圆形区域的中心,矩形区域的第一个角)
      x: 0
      y: 64
      z: 0

      # 次要坐标(仅用于矩形区域)
      # 全部设置为 0 则使用带有半径的圆形区域
      x2: 0
      y2: 0
      z2: 0

# 加速设置
    boost:
      # 启用加速功能
      enabled: true
      # 按下加速键时的加速强度
      strength: 4
      # 加速方向:'forward'(向前)或 'upward'(向上)
      # forward:沿玩家视角方向加速
      # upward:垂直向上加速
      direction: forward
      # 每次鞘翅飞行允许的最大加速次数(1 = 仅一次加速)
      max_boosts: 1
      # 两次加速之间的冷却时间(秒)(0 = 无冷却,仅在 max_boosts > 1 时生效)
      boost_cooldown: 0
      # 加速音效 - 可以是 https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html 中的任何声音
      # 示例:ENTITY_BAT_TAKEOFF, ENTITY_FIREWORK_ROCKET_BLAST, ITEM_ELYTRA_FLYING
      sound: ENTITY_BAT_TAKEOFF

    # F 键特定设置(仅在 activation_mode: f_key 时使用)
    f_key:
      # 按下 F 键时的发射强度(1.5 = 约向上 14-15 格)
      launch_strength: 1.5

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源