Giter Club home page Giter Club logo

leaves's Introduction

Leaves

Leaves CI Leaves Download Discord QQ

English | 中文

Fork of Paper aims at repairing broken vanilla properties.

You can see what we modify and fix at here

How To (Server Admins)

Leaves use the same paperclip jar system that Paper uses.

You can download the latest build (1.20.x) of Leaves by going here

You can also build it yourself.

You can visit our documentation for more information.

How To (Plugin developers)

Leaves-API:

maven {
    name = 'leavesmc-repo'
    url = 'https://repo.leavesmc.top/snapshots/'
}

dependencies {
    compileOnly("top.leavesmc.leaves:leaves-api:1.20.4-R0.1-SNAPSHOT")
}

In order to use Leaves as a dependency you must build it yourself. Each time you want to update your dependency, you must re-build Leaves.

Leaves-Server:

dependencies {
    compileOnly("top.leavesmc.leaves:leaves:1.20.4-R0.1-SNAPSHOT")
}

Building

You need JDK 17 and good Internet conditions

Clone this repo, run ./gradlew applyPatches, then run ./gradlew createReobfBundlerJar in your terminal.

You can find the jars in the build/libs directory.

Pull Requests

See Contributing

Special Thanks To:

JetBrains, creators of the IntelliJ IDEA, supports We with one of their Open Source Licenses. We recommend using IntelliJ IDEA as your IDE.

leaves's People

Contributors

bluemangoo avatar dreeam-qwq avatar fortern avatar littlechest avatar lumine1909 avatar mc-xiaohei avatar qyl27 avatar s-yh-china avatar skvoooznyak avatar xiaym-gh avatar z0z0r4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

leaves's Issues

1.19+的生物生成上限系统无法正常表现

服务端版本 LeavesMC Version

git-Leaves-"11924c6" (MC: 1.19.3)

预期的行为 Expected behavior

在1.19+的版本中,生物生成上限被平均分配到了每个玩家,但是总上限依然存在。
当paper.yml中的per-player-mob-spawns为true时,应表现为原版行为。
当paper.yml中的per-player-mob-spawns为false时,应表现为旧版行为。

观测到的实际行为 Observed/Actual behavior

分两种情况

  1. per-player-mob-spawns为true时,生物生成上限被平均分配,但总上限不存在导致伪和平失效。
  2. per-player-mob-spawns为false时,生物生成上限表现为1.19-的情况。

复现步骤 Steps/models to reproduce

None

插件与数据包列表。 Plugin and Datapack List.

None

更多详细信息。 The more information.

No response

Wither roses that spawn when the player or dummy dies will replace the original block 玩家或假人死后生成的凋零玫瑰会取代原来的方块

服务端版本 LeavesMC Version

git-Leaves-"71f6b7e" (MC: 1.19.1)

预期的行为 Expected behavior

玩家或假人死后生成的凋零玫瑰不应该取代非空气方块。
Wither roses that spawn after the player or fake player dies should not replace non-air block.

观测到的实际行为 Observed/Actual behavior

假人死在水中生成的凋零玫瑰将水取代,这是不合理的。
Wither roses spawned by fake players dying in water replace water, which is unreasonable.

复现步骤 Steps/models to reproduce

生成一个假人,使其死在水中,一旦生成凋零玫瑰,它会将水取代。
Spawn a fake player and make it dead in water. Once a wither rose is spawned, it replaces water.

插件与数据包列表。 Plugin and Datapack List.

--

更多详细信息。 The more information.

No response

默认配置下玩家使用传送门进入维度可以获取维度内假人的坐标

服务端版本 LeavesMC Version

git-Leaves-"2abf47e" (MC: 1.19.3)

预期的行为 Expected behavior

假人数据不发送到客户端

观测到的实际行为 Observed/Actual behavior

image

复现步骤 Steps/models to reproduce

召唤一个假人,然后使用在假人渲染距离外的传送门进入维度,使用装有clientcommands模组的客户端输入/cfind @A,打印出假人的名字和坐标

插件与数据包列表。 Plugin and Datapack List.

image

更多详细信息。 The more information.

No response

村民打折问题?

描述你希望添加的功能。 Describe the feature you'd like.

最近试图大规模打折,发现打N次和打一次没区别
去单人测试了一下发现五次折扣没问题,到了服务器就出问题了
网上查了下,应该是paper把打折特性也给改了()
咱已知配置里有相关设置没(没找见啊),没有的话是不是可以加一下(急急国王.jpg)

其他 Other

No response

Minihud support

描述你希望添加的功能。 Describe the feature you'd like.

support minihud structure protocol

其他 Other

No response

Some carpet rule and carpet extension rule

描述你希望添加的功能。 Describe the feature you'd like.

  • Allows infinity and mending to stack on bows, like in 1.9 to 1.11.
  • Prevents farmland from being trampled if you have feather falling.
  • Snow layers can be shaved, removing one layer, when right clicked with a shovel.
  • 同步光照线程 (synchronizedLightThread)
  • Shares the major positive reputation amongst all players.
  • Large Barrel
  • 龙战优化 (optimizedDragonRespawn)
  • 创造飞行无碰撞(CreativeNoClip)
  • Zero tick plants
  • Allows all the different protection types to stack on the same piece of armor, like in 1.14 to 1.14.2
  • Coral structures will grow with bonemeal from coral plants
  • Lava and water generate deepslate and cobbled deepslate instead below Y0
  • Guardians turn into Elder Guardian when struck by lightning
  • enderPearlChunkLoading

其他 Other

You can comment below about the functions you need.
If possible, please bring the github link for mod.

假人在玩家上线后自动被顶掉对玩家执行ess插件命令出现报错

服务端版本 LeavesMC Version

git-Leaves-"74e4680" (MC: 1.19.4)

预期的行为 Expected behavior

使用/bot创建的假人在真实玩家上线后被顶掉
用essentialsx的tp指令传送到该玩家能完成

观测到的实际行为 Observed/Actual behavior

使用/bot创建的假人在真实玩家上线后被顶掉:

/bot create hehexi hehexi
hehexi joined the game
hehexi 死了.
...
hehexi leaved the game
hehexi joined the game

用essentialsx的tp指令传送到该玩家时在聊天栏出现报错:

/tp hehe
正在传送到hehexi
错误:Cannot invoke "org.bukkit.entity.Player.getLocation()" because the return value of "org.bukkit.Server.getPlayerExact(String)" is null

复现步骤 Steps/models to reproduce

1.在服务器内召唤一个与玩家名字相同的假人:/bot create hehexi hehexi
2.同名玩家(hehexi)上线顶掉这个假人
3.执行ess插件的tp指令尝试传送到该玩家 (发生上述报错):/essentials:tp hehexi
(此处使用平板操作,故无法拖放图片,望谅解)

插件与数据包列表。 Plugin and Datapack List.

Server Plugins (27):
Bukkit Plugins:
*AdvancedReplay, AntiCheatReplay, Chunky, CoreProtect, DeluxeMenus, Essentials, floodgate, Floodgate-Skript, Geyser-Spigot, GeyserHacks, GeyserSkinManager, GeyserUpdater, LuckPerms, PlaceholderAPI, PlugManX, ProtocolLib, Skript, *skript-placeholders, skript-reflect, spark, Themis, TrChat, Vault, ViaBackwards, ViaRewind, ViaVersion, WorldEdit

更多详细信息。 The more information.

执行命令时仅聊天栏报错,后台无报错

Syncmatica support

描述你希望添加的功能。 Describe the feature you'd like.

syncmatica protocol support

其他 Other

No response

Add a option to disabled out-of-order kick

描述你希望添加的功能。 Describe the feature you'd like.

由于Velocity对于聊天信息处理的问题,当通过Velocity连接到下游服务器、使用Litematica粘贴原理图时,会被下游服务器踢出,原因为“接收到了乱序的聊天数据”。
或许可以通过服务端上的修改,禁用这个踢出原因来解决这个问题。

其他 Other

Velocity的Issue(尚未解决):PaperMC/Velocity#909
用于解决该问题的Fabric Mod:https://github.com/charassss/tin3o

为假人添加看向指定方块的指令

描述你希望添加的功能。 Describe the feature you'd like.

希望添加look指令来使假人看向特定的浮点数坐标来精确控制视线。

其他 Other

通过rotate指令操控一些容错率很小的视线方向实在是太困难了……

怪物数量过少

服务端版本 LeavesMC Version

git-Leaves-"ed84f1f" (MC: 1.19.4)

预期的行为 Expected behavior

正常刷怪

观测到的实际行为 Observed/Actual behavior

怪物数量过少或完全不刷
小地图

复现步骤 Steps/models to reproduce

  1. 使用下方的配置开服
  2. 进服 把时间改到晚上
  3. 没怪

插件与数据包列表。 Plugin and Datapack List.

Server Plugins (16): CommandWhitelist, CoreProtect, eBackup, floodgate, LibertyBans, LiveBot, LuckPerms, Matrix, PlaceholderAPI, ProtocolLib, *Scoreboard, ServerTap, SystemProperties, ViaBackwards, ViaVersion, ViewSlimeChunk
There are 2 data packs enabled: [vanilla (built-in)], [file/bukkit (world)]

更多详细信息。 The more information.

leaves.yml:

# Configuration file for Leaves.

settings:
  performance:
    remove:
      get-nearby-players-streams: true
      inventory-contains-iterators: true
      tick-guard-lambda: true
      range-check-streams-and-iterators: true
    check-spooky-season-once-an-hour: true
    optimize-chunk-ticking: true
    reduce-entity-fluid-lookup: true
    enable-suffocation-optimization: true
    strip-raytracing-for-entity: true
    biome-temperatures-use-aging-cache: true
    improve-fluid-direction-caching: true
    entity-target-find-optimization: true
    fix:
      fix-paper-6045: true
    reduce-chuck-load-and-lookup: true
    async-pathfinding: false
    async-entity-tracker: false
    async-mob-spawning: false
    inactive-goal-selector-disable: true
    skip-clone-loot-parameters: true
    cache-climb-check: true
    dont-send-useless-entity-packets: false
    skip-poi-find-in-vehicle: true
    simpler-vanilla-shapeless-recipes: true
    use-more-thread-unsafe-random: true
    optimize-entity-coordinate-key: true
    reduce-entity-allocations: true
  modify:
    bedrock-break-list: false
    fix-update-suppression-crash: true
    fakeplayer:
      open-fakeplayer-inventory: false
      enable: true
      unable-fakeplayer-names: []
      limit: 5
      prefix: ''
      suffix: ''
      always-send-data: true
      resident-fakeplayer: false
    use-vanilla-random: true
    mc-technical-survival-mode: false
    instant-block-updater-reintroduced: true
    renewable-elytra: -1.0
    shears-in-dispenser-can-zero-amount: false
    snowball-and-egg-can-knockback-player: true
    player-operation-limiter: true
    redstone-shears-wrench: false
    return-nether-portal-fix: false
    flatten-triangular-distribution: true
    player-can-edit-sign: true
    budding-amethyst-can-push-by-piston: false
    stick-change-armorstand-arm-status: false
    stackable-shulker-boxes: 'false'
    spectator-dont-get-advancement: true
  misc:
    extra-yggdrasil-service:
      enable: true
      urls:
      - https://skinow.little.ga/api/yggdrasil
    disable-method-profiler: true
    no-chat-sign: true
  protocol:
    pca-sync-protocol: true
    bbor-protocol: true
    jade-protocol: true
    appleskin-protocol: true
    xaero-map-protocol: true
    xaero-map-server-id: -127094978
    carpet-alternative-block-placement: false
    pca-sync-player-entity: OPS_AND_SELF
config-version: 2
world-settings:
  default: {}
  world: {}
  world_nether: {}
  world_the_end: {}

paper-world-defaults.yml:

# This is the world defaults configuration file for Paper.
# As you can see, there's a lot to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# 
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or check the docs page.
# 
# Configuration options here apply to all worlds, unless you specify overrides inside
# the world-specific config file inside each world folder.
# 
# Docs: https://docs.papermc.io/
# Discord: https://discord.gg/papermc
# Website: https://papermc.io/

_version: 30
anticheat:
  anti-xray:
    enabled: true
    engine-mode: 1
    hidden-blocks:
    - chest
    - coal_ore
    - deepslate_coal_ore
    - copper_ore
    - deepslate_copper_ore
    - raw_copper_block
    - diamond_ore
    - deepslate_diamond_ore
    - emerald_ore
    - deepslate_emerald_ore
    - gold_ore
    - deepslate_gold_ore
    - iron_ore
    - deepslate_iron_ore
    - raw_iron_block
    - lapis_ore
    - deepslate_lapis_ore
    - redstone_ore
    - deepslate_redstone_ore
    lava-obscures: false
    max-block-height: 64
    replacement-blocks:
    - stone
    - oak_planks
    - deepslate
    update-radius: 2
    use-permission: false
  obfuscation:
    items:
      hide-durability: false
      hide-itemmeta: false
      hide-itemmeta-with-visual-effects: false
chunks:
  auto-save-interval: default
  delay-chunk-unloads-by: 10s
  entity-per-chunk-save-limit:
    arrow: -1
    ender_pearl: -1
    experience_orb: -1
    fireball: -1
    small_fireball: -1
    snowball: -1
  fixed-chunk-inhabited-time: -1
  max-auto-save-chunks-per-tick: 24
  prevent-moving-into-unloaded-chunks: false
collisions:
  allow-player-cramming-damage: false
  allow-vehicle-collisions: true
  fix-climbing-bypassing-cramming-rule: false
  max-entity-collisions: 8
  only-players-collide: false
entities:
  armor-stands:
    do-collision-entity-lookups: true
    tick: true
  behavior:
    allow-spider-world-border-climbing: true
    baby-zombie-movement-modifier: 0.5
    disable-chest-cat-detection: false
    disable-creeper-lingering-effect: false
    disable-player-crits: false
    door-breaking-difficulty:
      husk:
      - HARD
      vindicator:
      - NORMAL
      - HARD
      zombie:
      - HARD
      zombie_villager:
      - HARD
      zombified_piglin:
      - HARD
    ender-dragons-death-always-places-dragon-egg: false
    experience-merge-max-value: -1
    mobs-can-always-pick-up-loot:
      skeletons: false
      zombies: false
    nerf-pigmen-from-nether-portals: false
    parrots-are-unaffected-by-player-movement: false
    phantoms-do-not-spawn-on-creative-players: true
    phantoms-only-attack-insomniacs: true
    phantoms-spawn-attempt-max-seconds: 119
    phantoms-spawn-attempt-min-seconds: 60
    piglins-guard-chests: true
    pillager-patrols:
      disable: false
      spawn-chance: 0.2
      spawn-delay:
        per-player: false
        ticks: 12000
      start:
        day: 5
        per-player: false
    player-insomnia-start-ticks: 72000
    should-remove-dragon: false
    spawner-nerfed-mobs-should-jump: false
    zombie-villager-infection-chance: -1.0
    zombies-target-turtle-eggs: true
  entities-target-with-follow-range: false
  markers:
    tick: true
  mob-effects:
    immune-to-wither-effect:
      wither: true
      wither-skeleton: true
    spiders-immune-to-poison-effect: true
    undead-immune-to-certain-effects: true
  spawning:
    all-chunks-are-slime-chunks: false
    alt-item-despawn-rate:
      enabled: false
      items:
        cobblestone: 300
    count-all-mobs-for-spawning: false
    creative-arrow-despawn-rate: default
    despawn-ranges:
      ambient:
        hard: 128
        soft: 32
      axolotls:
        hard: 128
        soft: 32
      creature:
        hard: 128
        soft: 32
      misc:
        hard: 128
        soft: 32
      monster:
        hard: 128
        soft: 32
      underground_water_creature:
        hard: 128
        soft: 32
      water_ambient:
        hard: 64
        soft: 32
      water_creature:
        hard: 128
        soft: 32
    disable-mob-spawner-spawn-egg-transformation: false
    duplicate-uuid:
      mode: SAFE_REGEN
      safe-regen-delete-range: 32
    filter-bad-tile-entity-nbt-from-falling-blocks: true
    filtered-entity-tag-nbt-paths:
    - Pos
    - Motion
    - SleepingX
    - SleepingY
    - SleepingZ
    iron-golems-can-spawn-in-air: false
    monster-spawn-max-light-level: -1
    non-player-arrow-despawn-rate: default
    per-player-mob-spawns: true
    scan-for-legacy-ender-dragon: true
    skeleton-horse-thunder-spawn-chance: default
    slime-spawn-height:
      slime-chunk:
        maximum: 40.0
      surface-biome:
        maximum: 70.0
        minimum: 50.0
    spawn-limits:
      ambient: -1
      axolotls: -1
      creature: -1
      monster: -1
      underground_water_creature: -1
      water_ambient: -1
      water_creature: -1
    wandering-trader:
      spawn-chance-failure-increment: 25
      spawn-chance-max: 75
      spawn-chance-min: 25
      spawn-day-length: 24000
      spawn-minute-length: 1200
    wateranimal-spawn-height:
      maximum: default
      minimum: default
environment:
  disable-explosion-knockback: false
  disable-ice-and-snow: false
  disable-teleportation-suffocation-check: false
  disable-thunder: false
  fire-tick-delay: 30
  frosted-ice:
    delay:
      max: 40
      min: 20
    enabled: true
  generate-flat-bedrock: false
  nether-ceiling-void-damage-height: disabled
  optimize-explosions: false
  portal-create-radius: 16
  portal-search-radius: 128
  portal-search-vanilla-dimension-scaling: true
  treasure-maps:
    enabled: true
    find-already-discovered:
      loot-tables: default
      villager-trade: false
  water-over-lava-flow-speed: 5
feature-seeds:
  generate-random-seeds-for-all: true
fishing-time-range:
  maximum: 600
  minimum: 100
fixes:
  disable-unloaded-chunk-enderpearl-exploit: true
  falling-block-height-nerf: disabled
  fix-curing-zombie-villager-discount-exploit: true
  fix-items-merging-through-walls: false
  prevent-tnt-from-moving-in-water: false
  split-overstacked-loot: true
  tnt-entity-height-nerf: disabled
hopper:
  cooldown-when-full: true
  disable-move-event: false
  ignore-occluding-blocks: false
lootables:
  auto-replenish: false
  max-refills: -1
  refresh-max: 2d
  refresh-min: 12h
  reset-seed-on-fill: true
  restrict-player-reloot: true
maps:
  item-frame-cursor-limit: 128
  item-frame-cursor-update-interval: 10
max-growth-height:
  bamboo:
    max: 16
    min: 11
  cactus: 3
  reeds: 3
misc:
  disable-end-credits: false
  disable-relative-projectile-velocity: false
  disable-sprint-interruption-on-attack: false
  light-queue-size: 20
  max-leash-distance: 10.0
  redstone-implementation: VANILLA
  shield-blocking-delay: 5
  show-sign-click-command-failure-msgs-to-player: false
  update-pathfinding-on-block-update: true
scoreboards:
  allow-non-player-entities-on-scoreboards: true
  use-vanilla-world-scoreboard-name-coloring: false
spawn:
  allow-using-signs-inside-spawn-protection: false
  keep-spawn-loaded: true
  keep-spawn-loaded-range: 10
tick-rates:
  behavior:
    villager:
      validatenearbypoi: -1
  container-update: 1
  grass-spread: 1
  mob-spawner: 1
  sensor:
    villager:
      secondarypoisensor: 40
unsupported-settings:
  fix-invulnerable-end-crystal-exploit: true

paper-global.yml:

# This is the global configuration file for Paper.
# As you can see, there's a lot to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# 
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or check the docs page.
# 
# The world configuration options have been moved inside
# their respective world folder. The files are named paper-world.yml
# 
# Docs: https://docs.papermc.io/
# Discord: https://discord.gg/papermc
# Website: https://papermc.io/

_version: 28
chunk-loading:
  autoconfig-send-distance: true
  enable-frustum-priority: false
  global-max-chunk-load-rate: -1.0
  global-max-chunk-send-rate: -1.0
  global-max-concurrent-loads: 500.0
  max-concurrent-sends: 2
  min-load-radius: 2
  player-max-chunk-load-rate: -1.0
  player-max-concurrent-loads: 20.0
  target-player-chunk-send-rate: 100.0
chunk-system:
  gen-parallelism: default
  io-threads: -1
  worker-threads: -1
collisions:
  enable-player-collisions: true
  send-full-pos-for-hard-colliding-entities: true
commands:
  fix-target-selector-tag-completion: true
  suggest-player-names-when-null-tab-completions: true
  time-command-affects-all-worlds: false
console:
  enable-brigadier-completions: true
  enable-brigadier-highlighting: true
  has-all-permissions: false
item-validation:
  book:
    author: 8192
    page: 16384
    title: 8192
  book-size:
    page-max: 2560
    total-multiplier: 0.98
  display-name: 8192
  lore-line: 8192
  resolve-selectors-in-books: false
logging:
  deobfuscate-stacktraces: true
  log-player-ip-addresses: true
  use-rgb-for-named-text-colors: true
messages:
  kick:
    authentication-servers-down: <lang:multiplayer.disconnect.authservers_down>
    connection-throttle: 连接中断
    flying-player: <lang:multiplayer.disconnect.flying>
    flying-vehicle: <lang:multiplayer.disconnect.flying>
  no-permission: 未知命令或没有权限
  use-display-name-in-quit-message: false
misc:
  chat-threads:
    chat-executor-core-size: -1
    chat-executor-max-size: -1
  fix-entity-position-desync: true
  lag-compensate-block-breaking: true
  load-permissions-yml-before-plugins: true
  max-joins-per-tick: 5
  region-file-cache-size: 256
  strict-advancement-dimension-check: false
  use-alternative-luck-formula: false
  use-dimension-type-for-custom-spawners: false
packet-limiter:
  all-packets:
    action: KICK
    interval: 7.0
    max-packet-rate: 5000.0
  kick-message: <lang:disconnect.exceeded_packet_rate>
  overrides:
    ServerboundPlaceRecipePacket:
      action: DROP
      interval: 4.0
      max-packet-rate: 5.0
player-auto-save:
  max-per-tick: -1
  rate: -1
proxies:
  bungee-cord:
    online-mode: true
  proxy-protocol: false
  velocity:
    enabled: true
    online-mode: true
    secret: GXfQ0lJcxdDY
scoreboards:
  save-empty-scoreboard-teams: false
  track-plugin-scoreboards: false
spam-limiter:
  incoming-packet-threshold: 300
  recipe-spam-increment: 1
  recipe-spam-limit: 20
  tab-spam-increment: 1
  tab-spam-limit: 500
timings:
  enabled: true
  hidden-config-entries:
  - database
  - proxies.velocity.secret
  history-interval: 300
  history-length: 3600
  server-name: Unknown Server
  server-name-privacy: false
  url: https://timings.aikar.co/
  verbose: true
unsupported-settings:
  allow-grindstone-overstacking: true
  allow-headless-pistons: true
  allow-permanent-block-break-exploits: true
  allow-piston-duplication: true
  perform-username-validation: true
watchdog:
  early-warning-delay: 10000
  early-warning-every: 5000

PCA同步协议添加

描述你希望添加的功能。 Describe the feature you'd like.

字面意思嗯,PCA协议

其他 Other

No response

Need

描述你希望添加的功能。 Describe the feature you'd like.

Can you create a fakeplayer plugin for paper

其他 Other

Can you create a fakeplayer plugin for paper

Jade Protocol

描述你希望添加的功能。 Describe the feature you'd like.

Jade protocol support

其他 Other

No response

无法创造假人

服务端版本 LeavesMC Version

git-Leaves-"94b985d" (MC: 1.19.3)

预期的行为 Expected behavior

/bot create bot1 本应创造假人。

观测到的实际行为 Observed/Actual behavior

/bot create bot1未能创造假人,并于控制台抛出异常。

复现步骤 Steps/models to reproduce

客户端输入后/bot create bot1未能创造假人。

插件与数据包列表。 Plugin and Datapack List.

Plugins (18): AllMusic, Boom, Citizens, CoreProtect, dynmap, Essentials, EssentialsChat, EssentialsSpawn, FartherViewDistance, FreedomChat, GSit, LuckPerms, PlaceholderAPI, ProtocolLib, spark, TAB, Vault, WorldEdit

更多详细信息。 The more information.

控制台异常片段的日志。
latest.log

假人驻留未能正常工作

服务端版本 LeavesMC Version

git-Leaves-"7161b8d"

预期的行为 Expected behavior

重启服务器后假人理应在原位置。

观测到的实际行为 Observed/Actual behavior

重启服务器后服务器崩溃,再重启后假人消失。

复现步骤 Steps/models to reproduce

1.在配置文件中开启假人驻留的设置后开启服务器
2.一个玩家进入服务器,并召唤一个假人
3.关闭服务器后再次启动服务器
4.服务器崩溃并输出崩溃报告
5.再次启动服务器,能正常启动,而假人消失

插件与数据包列表。 Plugin and Datapack List.

Plugins: Essentials, EssentialsChat, EssentialsSpawn
No datapacks.

更多详细信息。 The more information.

crash-2023-03-10_21.48.15-server.txt

去除paper的patch0977

描述你希望添加的功能。 Describe the feature you'd like.

希望在leaves中去除paper commit 4f9575ee加入的patch
这个patch使得最新的更新抑制器无法使用

其他 Other

No response

末地虚空不删除重力方块

服务端版本 LeavesMC Version

1.20.1

预期的行为 Expected behavior

重力方块落入虚空到一定高度自动变掉落物实体然后被删除

观测到的实际行为 Observed/Actual behavior

掉落物实体会在一定高度删除,下落中重力方块将一直下落并且占用实体计算导致卡服

复现步骤 Steps/models to reproduce

直接在末地主岛边缘放沙子然后灵魂出窍观察,在-200也能看到下落中的沙子(悲)

插件与数据包列表。 Plugin and Datapack List.

Server Plugins (5):
Bukkit Plugins:
BeaconWaypoints, CoreProtect, Essentials, *GroupManager, SkinsRestorer

There are 2 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)]
There are no more data packs available

更多详细信息。 The more information.

No response

无法使用更新抑制器

服务端版本 LeavesMC Version

git-Leaves-"e9ef6af"

预期的行为 Expected behavior

更新抑制器可以正常使用,活板门上的红石粉可以正常放

观测到的实际行为 Observed/Actual behavior

活板门上的红石粉无法,配置文件中的生电模式已经打开

复现步骤 Steps/models to reproduce

视频

插件与数据包列表。 Plugin and Datapack List.

[07:15:07] [Server thread/INFO]: Server Plugins (13):
[07:15:07] [Server thread/INFO]: Bukkit Plugins:
[07:15:07] [Server thread/INFO]: - Chunky, CoreProtect, Essentials, floodgate, Geyser-Spigot, GeyserHacks, GeyserSkinManager, GSit, InventoryRollbackPlus, LuckPerms
[07:15:07] [Server thread/INFO]: SkinsRestorer, ViaBackwards,Viaversion

更多详细信息。 The more information.

No response

玩家有时处于幽灵状态

服务端版本 LeavesMC Version

最新

预期的行为 Expected behavior

玩家正常进服,正常游玩

观测到的实际行为 Observed/Actual behavior

有时候有的玩家进服会显示聊天在客户端选项中被禁用,然后玩家处于幽灵状态,插件的tab不会补全该玩家,该玩家无法移动,该原版的tp可以显示该玩家但是传送后显示未找到实体,是玩着玩着突然这样,不知道是不是服务端的问题,问了其他的腐竹也会这样

复现步骤 Steps/models to reproduce

进服偶然会这样

插件与数据包列表。 Plugin and Datapack List.

image

更多详细信息。 The more information.

image

updata 1.20.1

描述你希望添加的功能。 Describe the feature you'd like.

updata 1.20.1

其他 Other

No response

bbor support

描述你希望添加的功能。 Describe the feature you'd like.

make leaves can support bbor without plugin

其他 Other

No response

使minihub正确显示Server MSPT

描述你希望添加的功能。 Describe the feature you'd like.

在未安装carpet的服务器中,minihub会估算mspt,通常为50左右.
在fabric+carpet中,其显示准确值.
能否添加一个protocol使其能获取leaves的实际mspt?

其他 Other

No response

无法使用插件“CommandWhitelist”

服务端版本 LeavesMC Version

git-Leaves-"cda924b"

预期的行为 Expected behavior

正常使用此插件(玩家只能看到所设置的命令)

观测到的实际行为 Observed/Actual behavior

加载插件时报错
[13:12:43 INFO]: [CommandWhitelist] Enabling CommandWhitelist v2.5.5
2023-01-30 13:12:43,881 Server thread ERROR Recursive call to appender Async
[13:12:43 ERROR]: Error occurred while enabling CommandWhitelist v2.5.5 (Is it up to date?)
java.lang.ClassCastException: class java.util.LinkedHashMap cannot be cast to class java.lang.String (java.util.LinkedHashMap and java.lang.String are in module java.base of loader 'bootstrap')
at eu.endermite.commandwhitelist.common.ConfigCache.loadCWGroup(ConfigCache.java:128) ~[CommandWhitelist.jar:?]
at eu.endermite.commandwhitelist.common.ConfigCache.reloadConfig(ConfigCache.java:99) ~[CommandWhitelist.jar:?]
at eu.endermite.commandwhitelist.common.ConfigCache.(ConfigCache.java:27) ~[CommandWhitelist.jar:?]
at eu.endermite.commandwhitelist.bukkit.CommandWhitelistBukkit.reloadPluginConfig(CommandWhitelistBukkit.java:71) ~[CommandWhitelist.jar:?]
at eu.endermite.commandwhitelist.bukkit.CommandWhitelistBukkit.onEnable(CommandWhitelistBukkit.java:37) ~[CommandWhitelist.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[leaves-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:371) ~[leaves-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:544) ~[leaves-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.enablePlugin(CraftServer.java:580) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.enablePlugins(CraftServer.java:494) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:639) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:438) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:304) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1106) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[leaves-1.19.3.jar:git-Leaves-"4eaa8f3"]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]

复现步骤 Steps/models to reproduce

  1. 前往CommandWhitelist下载页
  2. 安装此插件
  3. 报错且无法正常使用

插件与数据包列表。 Plugin and Datapack List.

Plugins (19): AntiOP, Chat2QQ, CommandWhitelist, CoreProtect, eBackup, floodgate, GlobalGamerules, LuckPerms, Matrix, MiraiMC, PlaceholderAPI, ProtocolLib, Scoreboard*, spark, Stp*, SystemProperties, ViaBackwards, ViaVersion, ViewSlimeChunk
There are 2 data packs enabled: [vanilla (built-in)], [file/bukkit (world)]

更多详细信息。 The more information.

附完整日志
2023-01-30-4.log

Extremely low mob spawn rate

服务端版本 LeavesMC Version

Leaves-1.19.4 74e4680

预期的行为 Expected behavior

Better server performance

观测到的实际行为 Observed/Actual behavior

0 mob spawn

复现步骤 Steps/models to reproduce

.

插件与数据包列表。 Plugin and Datapack List.

.

更多详细信息。 The more information.

I switched from Purpur to Leaves and enabled some qol settings in the default config. Idk why but mob spawn rate is almost gone on the server.

需要适配MC新版本1.20

描述你希望添加的功能。 Describe the feature you'd like.

如题,游戏更新了,请及时适配新版本

其他 Other

No response

使假人支持双层皮肤

描述你希望添加的功能。 Describe the feature you'd like.

如题,希望在设置假人皮肤时目标玩家的第二层皮肤能正确显示

其他 Other

No response

使驻留的假人能够保存其背包

描述你希望添加的功能。 Describe the feature you'd like.

当服务器开启假人驻留后,如果重启服务器,假人会先死亡后退出服务器。当假人回到服务器并捡起掉落物时,其主手上的物品是不确定的。这使得对于那些依赖假人砍怪的机器,在服务器重启后仍然需要玩家前往假人位置并对背包进行调整。
当然以上建立在 #26 被修复的前提之下(

其他 Other

不过由于此类机器的效率一般很高,且解决这个问题几乎需要重构假人系统,因此可以将优先级放得比较低。从服务器的现状看,#9 或许是更加急迫的需求(

同时支持正版与外置登录

描述你希望添加的功能。 Describe the feature you'd like.

希望能同时支持正版玩家和外置玩家登入,并保留其UUID,实现类似Velocity+Fabric Proxy的效果
(能支持统一通行证就更好辣)

其他 Other

No response

加个修改世界高度上限?

描述你希望添加的功能。 Describe the feature you'd like.

听说世界高度理论上限扩展到2000+了,咱能不能也尝试突破一下319禁咒(=w=)

其他 Other

No response

更新paper1.20稳定版

描述你希望添加的功能。 Describe the feature you'd like.

paper已经更新,请更新上游paper

其他 Other

No response

方块放置更新问题

服务端版本 LeavesMC Version

git-Leaves-"98129c8" (MC: 1.19.2)

预期的行为 Expected behavior

放置床时产生更新,附近有红石信号时放置漏斗不产生更新

观测到的实际行为 Observed/Actual behavior

床尾放置未产生更新,附近有红石信号时放置漏斗仍产生更新
2023-05-06_12 44 28
2023-05-06_12 46 38

复现步骤 Steps/models to reproduce

插件与数据包列表。 Plugin and Datapack List.

更多详细信息。 The more information.

No response

可否添加tpsbar功能

描述你希望添加的功能。 Describe the feature you'd like.

类似于purpur的tpsbar
image

其他 Other

No response

假人prefix/suffix在重启服务器后重新添加

服务端版本 LeavesMC Version

git-Leaves-"2710cdf" (MC: 1.20.1)

预期的行为 Expected behavior

在配置了prefix&suffix的情况下添加假人,在重启服务器后,自动生成的假人同先前一样

观测到的实际行为 Observed/Actual behavior

在配置了prefix&suffix的情况下添加假人,在重启服务器后,假人重新添加了prefix&suffix

复现步骤 Steps/models to reproduce

1.设置leaves.yml:settings.modify.fakeplayer.prefix以及settings.modify.fakeplayer.suffix为一个特定的值,如prefix: f_,suffix:_f
2.添加一个叫hsds_1的假人(/bot create hsds_1):图片,创建的假人名字实际为f_hsds_1_f
3.重启服务器
4.看到假人名字由f_hsds_1_f变为了f_f_hsds_1_f_f,leaves给已经有prefix&suffix的假人再次添加了prefix&suffix:0ZACV$9J WPXV60XH$A984S

插件与数据包列表。 Plugin and Datapack List.

Server Plugins (24):
Bukkit Plugins:

  • AddonPatcher, *AdvancedReplay, CoreProtect, DeluxeMenus, Essentials, floodgate, Geyser-Spigot, GeyserHacks, GeyserUpdater, LockettePro
    LuckPerms, MiraiMC, PlaceholderAPI, PlugManX, ProtocolLib, Skript, *skript-placeholders, skript-reflect, spark, Vault
    ViaBackwards, ViaRewind, ViaVersion, WorldEdit

已启用4个数据包: [vanilla(内置)], [bundle(功能)], [file/bukkit(世界)], [file/XKlazy.zip(世界)]

更多详细信息。 The more information.

No response

为假人添加GCA的配置

描述你希望添加的功能。 Describe the feature you'd like.

为假人添加GCA的一些配置
1.假人驻留,关闭服务器后储存假人的各类信息并在启动时自动恢复假人。
2.假人背包/末影箱可视化控制
3.假人自动补货,在手上的物品将要耗尽时补充同类物品。
4.假人自动切换将要损坏的工具。
5.假人自动钓鱼

GCA:https://github.com/Gu-ZT/gugle-carpet-addition

其他 Other

No response

假人在水/岩浆/火中时所有玩家被踢出

服务端版本 LeavesMC Version

git-Leaves-"f5ec56d" (MC: 1.19.3)

预期的行为 Expected behavior

假人和玩家正常运行

观测到的实际行为 Observed/Actual behavior

当假人在水/岩浆/火中时,所有玩家将被踢出服务器且无法登录。必须重启服务器/从后台移除此假人才可恢复。

复现步骤 Steps/models to reproduce

召唤一个假人 使假人处于水/岩浆/火中。

插件与数据包列表。 Plugin and Datapack List.

None

更多详细信息。 The more information.

明天修

为配置文件添加说明

描述你希望添加的功能。 Describe the feature you'd like.

可在配置文件中添加英文说明或在GitHub中添加双语配置文件说明

其他 Other

No response

无法破基岩

服务端版本 LeavesMC Version

git-Leaves-"e9ef6af"

预期的行为 Expected behavior

使用连点器可以将基岩破开

观测到的实际行为 Observed/Actual behavior

无法破开基岩

复现步骤 Steps/models to reproduce

破基岩时 后台有这个输出,生电模式已经打开
[11:30:20] [Server thread/WARN]: Rejecting UseItemOnPacket from S_real: Location (-21.694172352552414, 128.43234884738922, -115.8125) too far away from hit block BlockPosition{x=-22, y=128, z=-115}.
[11:30:20] [Server thread/WARN]: Rejecting UseItemOnPacket from S_real: Location (-21.694172352552414, 128.43234884738922, -115.8125) too far away from hit block BlockPosition{x=-22, y=128, z=-115}.

插件与数据包列表。 Plugin and Datapack List.

[07:15:07] [Server thread/INFO]: Server Plugins (13):
[07:15:07] [Server thread/INFO]: Bukkit Plugins:
[07:15:07] [Server thread/INFO]: - Chunky, CoreProtect, Essentials, floodgate, Geyser-Spigot, GeyserHacks, GeyserSkinManager, GSit, InventoryRollbackPlus, LuckPerms
[07:15:07] [Server thread/INFO]: SkinsRestorer, ViaBackwards,Visversion

更多详细信息。 The more information.

No response

假人attack后台报错

服务端版本 LeavesMC Version

git-Leaves-"bb29eb0" (MC: 1.19.3)

预期的行为 Expected behavior

假人attack breack正常

观测到的实际行为 Observed/Actual behavior

后台报错,无法执行

复现步骤 Steps/models to reproduce

/bot action xxxx break
/bot action xxxx attack

最后面加不加延迟都报错

插件与数据包列表。 Plugin and Datapack List.

see lastest.log

更多详细信息。 The more information.

latest.log

关于假人的一些想法

1加入可直接查看/操作假人背包功能(如穿上装备拿取物品等)
2.假人自动补货功能(参考玩家使用Tweakeroo的自动补货效果)
3.为假人添加自动销毁配置项(可选/必须在创建假人时设置一个自动销毁时间,防止长时间挂了不必要的假人)
4.为假人可生成怪物添加配置项(减少服务器占用和避免占用服务器总刷怪上限影响机器效率)
5.假人可以使用经验修补附魔

Bot 不被计入需要睡觉的玩家列表中

描述你希望添加的功能。 Describe the feature you'd like.

as the same as the title
召唤出来的机器人不像处于afk状态的玩家那样不被计入睡眠列表,导致每次睡觉时都要remove掉所有的假人,然后回到原来的位置放假人,这点我觉得很烦,maybe 应该修改一下()
谢了

其他 Other

No response

配置prefix时假人无法生成

服务端版本 LeavesMC Version

git-Leaves-"1fbd584" (MC: 1.20)

预期的行为 Expected behavior

输入/bot create hsds应该生成一个假人名为:-hsds

观测到的实际行为 Observed/Actual behavior

输入指令后没有任何反应,在启动服务器时所有之前生成的假人也不生成

复现步骤 Steps/models to reproduce

在leaves.yml里配置settings.modifyfakeplayer.prefix 为'-'时所有假人都无法生成

插件与数据包列表。 Plugin and Datapack List.

Bukkit Plugins:
AddonPatcher, *AdvancedReplay, BlockLocker, Chunky, CoreProtect, DeluxeMenus, Essentials, floodgate, FreedomChat, Geyser-Spigot
GeyserHacks, GeyserSkinManager, GeyserUpdater, LuckPerms, MiraiMC, PlaceholderAPI, PlugManX, ProtocolLib, skJson, Skript
*skript-placeholders, skript-reflect, skript-yaml, spark, Vault, ViaBackwards, ViaVersion, WorldEdit

已启用四个数据包:[vanilla(内置)], [bundle(功能)], [file/bukkit(世界), [file/XKlazy.zip(世界)]

更多详细信息。 The more information.

settings.modifyfakeplayer.resident-fakeplayer: true
部分插件:Deluxemenus,FreedomChat,GeyserSkinManager,skript-yaml,WorldEdit显示为红色状态,无法加载

部分插件失效

服务端版本 LeavesMC Version

git-Leaves-"1fbd584" (MC: 1.20)

预期的行为 Expected behavior

所有插件都正常加载,功能正常,使用指令/pl为全绿状态

观测到的实际行为 Observed/Actual behavior

部分插件是红色状态,无法加载:Deluxemenus,FreedomChat,GeyserSkinManager,skript-yaml,WorldEdit,Trchat显示为红色状态,无法正常使用

复现步骤 Steps/models to reproduce

更新leaves到最新pre-release版本1fbd584

插件与数据包列表。 Plugin and Datapack List.

Bukkit Plugins:
AddonPatcher, *AdvancedReplay, BlockLocker, Chunky, CoreProtect, DeluxeMenus, Essentials, floodgate, FreedomChat, Geyser-Spigot
GeyserHacks, GeyserSkinManager, GeyserUpdater, LuckPerms, MiraiMC, PlaceholderAPI, PlugManX, ProtocolLib, skJson, Skript
*skript-placeholders, skript-reflect, skript-yaml, spark, Vault, ViaBackwards, ViaVersion, WorldEdit

已启用四个数据包:[vanilla(内置)], [bundle(功能)], [file/bukkit(世界), [file/XKlazy.zip(世界)]

更多详细信息。 The more information.

目前插件列表已卸载Trchat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.