Как убрать из меню частиц некоторые частицы в BuildBattle

Mr_dsa1

Пользователь
Здравствуйте, дело в том, что мне нужно убрать частиц с меню частиц в плагине BuildBattle. Но проблема в том, что когда я редактирую particles.yml (файл в папке плагина, отвечающий за меню с частицами) и удаляю ненужные частицы (просто полностью удаляю описание частиц с файла), они заменяются на бумагу (см. скриншот), а не исчезают из меню. Возможно ли их каким-либо образом убрать ? Видел на других серверах и там всё таки как-то это делали. Но никаких настроек, например enable, disable, может подскажите другой способ ?

Плагин - ссылка
Версия сервера: Spigot: git-Spigot-dcd1643-e60fc34 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
Версия плагина: 4.3.0
 

Вложения

Последнее редактирование:

DarkSumrak

YouTuber_Sumrak-TV
Пользователь
Как я понял плагин BuildBattle в нем есть меню частиц вот particles.yml

с gethub и я не вижу не чего связанного с бумагой в нем
YAML:
# Items from particles menu

EXPLOSION_NORMAL:
  displayname: '&6Explosion Normal'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SNOWBALL
  permission: particles.VIP
EXPLOSION_LARGE:
  displayname: '&6Explosion Large'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SNOWBALL
  permission: particles.VIP
EXPLOSION_HUGE:
  displayname: '&6Explosion Huge'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SNOWBALL
  permission: particles.VIP
FIREWORKS_SPARK:
  displayname: '&6Fireworks Spark'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: BONE_MEAL
  permission: particles.VIP
WATER_BUBBLE:
  displayname: '&6Water Bubble'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: WATER_BUCKET
  permission: particles.VIP
WATER_SPLASH:
  displayname: '&6Water Splash'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: WATER_BUCKET
  permission: particles.VIP
WATER_WAKE:
  displayname: '&6Water Wake'
  lore:
    - "Click to activate"
    - "on your location"
  material-name: WATER_BUCKET
  permission: particles.VIP
SUSPENDED:
  displayname: '&6Suspended'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: INK_SAC
  permission: particles.VIP
SUSPENDED_DEPTH:
  displayname: '&6Suspended Depth'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: INK_SAC
  permission: particles.VIP
CRIT:
  displayname: '&6Critical'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: LIGHT_GRAY_DYE
  permission: particles.VIP
CRIT_MAGIC:
  displayname: '&6Critical Magic'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: CYAN_DYE
  permission: particles.VIP
SMOKE_NORMAL:
  data: 0
  displayname: '&6Smoke Normal'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: FLINT
  permission: particles.VIP
SMOKE_LARGE:
  displayname: '&6Smoke Large'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: COAL_BLOCK
  permission: particles.VIP
SPELL:
  displayname: '&6Spell'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: NETHER_WART
  permission: particles.VIP
SPELL_INSTANT:
  displayname: '&6Spell Instant'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: NETHER_WART
  permission: particles.VIP
SPELL_MOB:
  displayname: '&6Spell Mob'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: NETHER_WART
  permission: particles.VIP
SPELL_MOB_AMBIENT:
  displayname: '&6Spell Mob Ambient'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: NETHER_WART
  permission: particles.VIP
SPELL_WITCH:
  displayname: '&6Spell Witch'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: NETHER_WART
  permission: particles.VIP
DRIP_WATER:
  displayname: '&6Drip Water'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: POTION
  permission: particles.VIP
DRIP_LAVA:
  displayname: '&6Drip Lava'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: LAVA_BUCKET
  permission: particles.VIP
VILLAGER_ANGRY:
  displayname: '&6Villager Angry'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: EMERALD
  permission: particles.VIP
VILLAGER_HAPPY:
  displayname: '&6Villager Happy'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: EMERALD
  permission: particles.VIP
TOWN_AURA:
  displayname: '&6Town Aura'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: COAL
  permission: particles.VIP
NOTE:
  displayname: '&6NOTE'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: BLAZE_POWDER
  permission: particles.VIP
PORTAL:
  displayname: '&6Portal'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: ENDER_EYE
  permission: particles.VIP
ENCHANTMENT_TABLE:
  displayname: '&6Enchantment Table'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: ENCHANTING_TABLE
  permission: particles.VIP
FLAME:
  displayname: '&6Flame'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: BLAZE_POWDER
  permission: particles.VIP
LAVA:
  displayname: '&6Lava'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: LAVA_BUCKET
  permission: particles.VIP
CLOUD:
  displayname: '&6Cloud'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SNOW_BLOCK
  permission: particles.VIP
SNOWBALL:
  displayname: '&6Snowball'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SNOWBALL
  permission: particles.VIP
SNOW_SHOVEL:
  displayname: '&6Snow Shovel'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SNOWBALL
  permission: particles.VIP
SLIME:
  displayname: '&6Slime'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: SLIME_BLOCK
  permission: particles.VIP
HEART:
  displayname: '&6Heart'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: REDSTONE
  permission: particles.VIP
BARRIER:
  displayname: '&6Barrier'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: BARRIER
  permission: particles.VIP
WATER_DROP:
  displayname: '&6Water Drop'
  lore:
    - "&7Click to activate"
    - "&7on your location"
  material-name: WATER_BUCKET
  permission: particles.VIP
Так же вот сам файл config и единственно, что то похожее это вот эта строчка
YAML:
# Default floor material name

Default-Floor-Material-Name: log
YAML:
#         Build Battle configuration file
#               Edit it by yourself
#          Read descriptions CAREFULLY
#   You don't want to break anything, do you?
#

# Locale of BuildBattle language. By default it's english.
# Available localizations:
#   default - uses messages from 'language.yml' file.
#   de - Deutsche sprache          pl - Jezyk polski
#   es - Idioma español            fr - Langue française
#   zh - 简体中文                   vn - Tiếng Việt
#   hu - Magyar nyelv              kr - 한국어
#   tr - Türk dili                 id - Bhasa Indonesia
#   et - Eesti keel                ru - Русский язык
#   cs - Český jazyk               ro - Limba română
#   ja - 日本語                     it - Lingua italiana
#   lt - Lietuvių kalba            sl - Slovenščina
#   pt_BR - Português (Brasil)     zh_tw - 中文(繁體)
locale: default

# Enable boss bar for the game?
Boss-Bar-Enabled: false

# Should we hook into bungee cord? (If you wanna use arena per server option)
# You STILL need to use external addon for HUB server game signs
# Check here for more info: [URL]https://wiki.plajer.xyz/minecraft/buildbattle/addons.php#bungee-signs-not-official[/URL]
BungeeActivated: false

# Enable Inventory Manager for your games? (VERY USEFUL feature for MULTI ARENA)
# This saves inventory of players and restores it after player leaves arena.
# Saved elements: max health, health, food, experience, full inventory, armor contents, fire ticks, active potions
InventoryManager: true

# Basic permissions for game, permissions explained here: [URL]https://wiki.plajer.xyz/minecraft/buildbattle/cmds_and_perms.php#basic-permissions[/URL]
Basic-Permissions:
  Full-Games-Permission: "buildbattle.fullgames"
  # Permissions to edit/create arenas
  Arena-Edit-Permission: "buildbattle.editgames"
  # <arena> represents arena name (NOT MAP NAME!), for example: 'buildbattle.join.Build1'
  # use 'buildbattle.join.*' to enable access to all arenas
  Join-Permission: "buildbattle.join.<arena>"

# Should /bb leave command be disabled?
Disable-Leave-Command: false

# Total build times of game modes
Build-Time:
  Classic: 480
  Teams: 540
  Guess-The-Build: 120

# Should we fire some cool fireworks at location of every player after the game ends?
Firework-When-Game-Ends: true

# Total time of voting per player plot
Voting-Time-In-Seconds: 20

# Total time of voting for themes before starting
Theme-Voting-Time-In-Seconds: 25

# Default floor material name
Default-Floor-Material-Name: log

# Should mob spawning on arenas be disabled?
Disable-Mob-Spawning-Completely: true

# How many particle effects should have one spawned particle
Amount-One-Particle-Effect-Contains: 20

# Max amount of particles to spawn
Max-Amount-Particles: 25

# Time of refreshing particles
Particle-Refresh-Per-Tick: 10

# Should server be disabled after the game ends?
Bungee-Shutdown-On-End: false

# Should win commands be activated?
Win-Commands-Activated: false

# Should end game commands be activated?
End-Game-Commands-Activated: false

# Should second place commands be activated?
Second-Place-Commands-Activated: false

# Should third place commands be activated?
Third-Place-Commands-Activated: false

# Max amount of mobs to spawn per plot
Mobs-Max-Amount-Per-Plot: 20

# Time in lobby to wait before start
Lobby-Starting-Time: 60

# All game themes players will build.
Themes:
  # Solo themes.
  Classic:
    - Heart
    - Castle
    - Emoji
    - House
    - Flower
  # Team mode themes.
  Teams:
    - Well
    - Car
    - Rainbow
    - Arcade Machine
  # Guess the build themes.
  Guess-The-Build:
    Easy:
      - Apple
      - Sun
      - Bread
      - Book
      - Dollar
    Medium:
      - School Bus
      - Horse
      - Fountain
      - Sumo
      - Bicycle
    Hard:
      - Soccer
      - Birthday Cake
      - Typewriter
      - Solar System

# Should holiday events for Build Battle be enabled?
# Eg. 4 days before and 4 days after Halloween
# special themes will be applied!
# USING THIS ALL THEMES FOR SOLO/TEAM WHEN SPECIAL DAY
# OCCURS WILL BE REPLACED WITH HOLIDAY THEMES ONLY
Holidays-Enabled: true

# Special holiday themes ONLY FOR solo and teams
# that will be used during holiday events if enabled.
Holiday-Themes:
  April-Fools:
    - Hypercube
    - Nothing
    - Void
    - Minecraft
    - Mojang
  Valentines-Day:
    - Heart
    - Love
    - Cupid
    - Chocolate Box
  Halloween:
    - Pumpkin
    - Skeleton
    - Jack'o'Lantern
    - Candies
  Christmas:
    - Santa
    - Presents
    - Snowman
    - Stocking

# Theme names that are blacklisted.
Blacklisted-Themes:
  - Fuck

# Blacklisted item names, you can't use them while building.
Blacklisted-Item-Names:
  - tnt
  - diamond_block

# Commands executed when player wins
# Use %PLAYER% placeholder to replace it with winner's name
Win-Commands:
  First:
    - say %PLAYER% won the game!
  Second:
    - say %PLAYER% become second
  Third:
    - say %PLAYER% became third

# Commands executed for every player after the game ends
End-Game-Commands:
  - say %PLAYER% has played a game!

# Should we block every not Build Battle associated commands in game?
Block-Commands-In-Game: true

# Commands which can be executed while being in game
Whitelisted-Commands:
  - me
  - help

# Should blocks behind game signs change their color based on game state?
# They will change color to:
# - white (waiting for players) stained glass
# - yellow (starting) stained glass
# - orange (in game) stained glass
# - gray (ending) stained glass
# - black (restarting) stained glass
Signs-Block-States-Enabled: true

Update-Notifier:
  # Should we check for updates on plugin start/after admin join?
  # You REALLY should have this true!
  Enabled: true
  # Should we inform you when beta version is out?
  # BETA IS NOT ALWAYS AS STABLE AS NORMAL RELEASE!
  Notify-Beta-Versions: true

# Disable or enable MySQL database here, see mysql.yml for more
DatabaseActivated: false

# Don't modify.
Version: 9

# No way! You've reached the end! But... where's the dragon!?
 

Mr_dsa1

Пользователь
Так как particles.yml это не настройка меню, это настройка описаний вида и т.п. частиц, которые заранее прописаны в коде, а бумага это как стандартная аватарка у пользователя который её не ставил (или удалил). То есть в теории без изменения кода я не смогу ничего сделать, так как плагину сказано что на том месте должно что-то находиться. Возможно есть люди, которые разбираются в Java и смогут помочь ?

Я также написал автору, буду ждать его ответа, если решу проблему, обязательно опубликую решение тут.
 

q20w26a

Разработчик

Mr_dsa1

Пользователь
Автор плагина отправил мне последнюю версию плагина, где добавил функцию disabled: true

Для удаления каких либо частиц из меню просто нужно добавить к описанию элемента disabled: true, вот пример:
YAML:
EXPLOSION_NORMAL:
  displayname: '&6Explosion Normal'
  lore:
  - '&7Click to activate'
  - '&7on your location'
  material-name: SNOWBALL
  permission: particles.VIP
  disabled: true
Так что моя проблема решена, прикрепляю к сообщению плагин.
 

Вложения

Комнаты в чате

Верх Низ