Захар Пашкин

сделай плагин на отключения хибоксов игрково тип чтоб их нельзя было толкать а игрок другой мог проходить сквозь а не сталкиваться с хитбоксом

Kodari AI
KodariNov 11 at 1:21 pm 1

Создать для этого новый Minecraft-плагин в workspace или добавить сюда уже существующий проект?

Захар Пашкин

новый

Kodari AI
KodariNov 11 at 1:22 pm 1
Created Player No CollisionPlugins
Delegated to Player No Collision Running
Create a Minecraft Bukkit/Spigot plugin that disables collision/pushing between players so players can walk through each other instead of colliding with player hitboxes. Inspect this project's generated files and conventions first. Implement a robust solution compatible with the project's configured Minecraft API/version: use a scoreboard team with collision rule NEVER, ensuring all online players are consistently placed in that team on join and startup, and preserve the behavior if players change worlds/rejoin. Avoid altering entity collision with non-player entities. Include appropriate plugin metadata and any minimal configuration only if the project conventions require it. Feature implementation only; do not add tests. Done means the plugin automatically prevents player-player collision without requiring commands or manual setup.

Начал делать новый плагин, который отключает столкновения и толчки между игроками, чтобы они могли проходить сквозь друг друга. Подберу решение под версию Minecraft в проекте.

Report from 1 project
TaskCreate a Minecraft Bukkit/Spigot plugin that disables collision/pushing between players so players can walk through each other instead of colliding with player hitboxes. Inspect this project's generat...
  • Add a minimal Gradle Bukkit plugin project targeting a modern Spigot API.

  • Create a dedicated scoreboard team with collision set to NEVER.

  • Apply membership at startup, join, and world change; no commands or entity-wide collision changes.Implemented the player-collision plugin. It assigns online players to a dedicated scoreboard team with collision set to NEVER on startup, join, and world change; it adds no commands or configuration. The Gradle project targets Spigot API 1.21.4.

Kodari AI
KodariNov 11 at 1:23 pm 1
Compiled Player No CollisionSucceeded

Плагин готов и успешно собрался. Он автоматически отключает столкновения между игроками при запуске сервера, входе и смене мира; столкновения с мобами и другими сущностями не меняются. Скачайте JAR проекта Player No Collision и поместите его в папку plugins сервера.

Захар Пашкин

нет хитбокс игрока серовно не отключается

Kodari AI
KodariNov 11 at 1:28 pm 1
Delegated to NoPlayerCollision Running
Fix the existing PlayerCollision plugin because the user reports players still collide despite the current main-scoreboard team implementation. Read the current source first. Make player entities non-collidable with other players using the Bukkit API appropriate for the project's Spigot 1.21.4 target, with application to all online players on startup and to every joining player (and re-apply on respawn/world change if needed). Keep the existing scoreboard-team collision rule as a complementary mechanism if appropriate. Do not remove/resize the visual/player hitbox or use NMS; explain internally in code comments only if necessary that this disables entity collision, not the actual hitbox. Preserve non-player entities themselves unchanged. Do not add tests or commands/config. Feature code only; do not build.

Понял — текущая настройка команды могла не сработать на вашем сервере. Исправляю плагин, чтобы он отключал столкновения игроков напрямую через API Minecraft; сам визуальный хитбокс при этом остаётся, но игроки должны проходить друг сквозь друга.

Report from 1 project
TaskFix the existing PlayerCollision plugin because the user reports players still collide despite the current main-scoreboard team implementation. Read the current source first. Make player entities non-...

Updated PlayerCollisionPlugin to call Bukkit’s Player#setCollidable(false) for online players at startup and on join, world change, and respawn (including a next-tick reapply after respawn). The scoreboard team collision rule remains as a complementary mechanism; non-player entities are not modified. Did not build or add tests.

Kodari AI
KodariNov 11 at 1:28 pm 1
Compiled NoPlayerCollisionSucceeded

Исправил плагин и успешно собрал новую версию. Теперь он отключает столкновения игроков через Player#setCollidable(false), оставляя настройку scoreboard-команды как дополнительную защиту.

Замените старый JAR новой сборкой и перезапустите сервер. Сам хитбокс не удаляется — игроки просто перестают отталкивать и блокировать друг друга.

Захар Пашкин

а он просто не загружается на сервак папка не создается

Kodari AI
KodariNov 11 at 1:30 pm 1

Проверил файлы: у плагина нет конфига, поэтому отдельная папка для него может не создаваться — это само по себе не значит, что он не загрузился.

Сборка рассчитана на Spigot/Paper 1.21.4 и Java 21. Пришлите, пожалуйста, версию сервера и строки из консоли при запуске, где упоминается PlayerCollision или Error. По ним можно определить причину; также проверьте, что JAR лежит прямо в папке plugins.

Захар Пашкин

1.21.11 paper

Kodari AI
KodariNov 11 at 1:31 pm 1
Delegated to NoPlayerCollision Running
User says their server is Paper 1.21.11. Current project targets compileOnly org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT, Java 21, and plugin.yml api-version '1.13'. Update the existing plugin project to target Paper 1.21.11: use the official Paper Maven repository and Paper API 1.21.11-R0.1-SNAPSHOT as compileOnly, set plugin.yml api-version to the correct supported value for that Paper version, and inspect the current implementation/metadata for any issue that would prevent loading on Paper 1.21.11. Preserve behavior (Player#setCollidable(false), scoreboard NEVER, players only, initialization + join/world change/respawn). Do not invent plugin config folder; no config is needed. Do not add commands/tests and do not build. If you identify a likely load issue beyond the dependency/metadata, fix it in source and report precisely what changed.

Понял, у вас Paper 1.21.11. Текущий проект собирался под Spigot 1.21.4 — обновляю его под Paper 1.21.11 и затем соберу новый JAR. Отсутствие папки плагина нормально, если у него нет конфигурации.

Report from 1 project
TaskUser says their server is Paper 1.21.11. Current project targets compileOnly org.spigotmc:spigot-api:1.21.4-R0.1-SNAPSHOT, Java 21, and plugin.yml api-version '1.13'. Update the existing plugin projec...
  • Switch compile-only dependency and repository to Paper’s official Maven repository.

  • Update plugin.yml to declare API version 1.21.11.

  • Keep the current collision behavior; no additional loading issue is apparent in the plugin class or metadata.Updated the project to compile against Paper 1.21.11-R0.1-SNAPSHOT from Paper’s official Maven repository and set plugin.yml’s api-version to 1.21.11.

The existing implementation retains player-only collision disabling via setCollidable(false), with scoreboard NEVER and startup/join/world-change/respawn handling. I found no other likely loading issue; I did not build or add tests.

Kodari AI
KodariNov 11 at 1:31 pm 1
Compiled NoPlayerCollisionSucceeded

Обновил плагин под Paper 1.21.11 и успешно собрал новую версию. Замените старый JAR в plugins на свежую сборку и полностью перезапустите сервер.

Папка плагина может не появиться: у него нет конфигурации. После запуска проверьте командой /plugins, появился ли он в списке. Если не загрузится, пришлите строки ошибки из консоли запуска.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code