Сборки серверов

СливПлатные

Сейчас онлайн

  • Nacker009
  • dgjfgfd2
  • VacAge
  • DD12
  • ghieldbeef
  • Vlad Vide
  • bravemetin
  • Mr_Jeka265
  • PasToSmith1
  • chinh
  • AlexDota
  • Unitei
  • jesusleo
  • astra55
  • 432432
  • botya_1999
  • Sashadragon
  • aviowtf
  • Evilcorecry

Помощь MMOCore Command Error

Aternos_
Plugins Downloaded: Context: Currently I am using the latest dev builds that I have been downloaded on the site, but the thing is I don't understand why whenever I input /profile on my server it says null and this was the error occur, what should I do? should I delete the player-stats.yml file and let the default mmocore plugin generate it? or what fixes I should do to resolve this issue?
Translate: В настоящее время я использую последние сборки разработчиков, которые я скачал с сайта, но дело в том, что я не понимаю, почему всякий раз, когда я ввожу /profile на своем сервере, он выдает null, и возникает эта ошибка. Что мне делать? Должен ли я удалить файл player-stats.yml и позволить плагину MMOCore по умолчанию сгенерировать его? Или какие исправления я должен сделать, чтобы устранить эту проблему?

ERROR;
Код:
[/B]
30.03 08:03:03 [Server] INFO <HIDDEN>_ issued server command: /profile
30.03 08:03:03 [Server] ERROR null
30.03 08:03:03 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing 'profile' in net.Indyuce.mmocore.command.PlayerStatsCommand(player)
30.03 08:03:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
30.03 08:03:03 [Server] INFO at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:999) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:32) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:101) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:434) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.Commands.performCommand(Commands.java:336) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.commands.Commands.performCommand(Commands.java:323) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2234) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$13(ServerGamePacketListenerImpl.java:2194) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
30.03 08:03:03 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1455) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1432) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1355) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1333) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1222) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-424]
30.03 08:03:03 [Server] INFO at java.lang.Thread.run(Thread.java:840) ~[?:?]
30.03 08:03:03 [Server] INFO Caused by: java.lang.NoClassDefFoundError: net/playavalon/avnparty/AvNParty
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.party.compat.DungeonPartiesPartyModule.getParty(DungeonPartiesPartyModule.java:21) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.api.player.PlayerData.getParty(PlayerData.java:527) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.PlayerStats$PartyMoraleItem.canDisplay(PlayerStats.java:221) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.PlayerStats$PartyMoraleItem.canDisplay(PlayerStats.java:202) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.api.adaptor.ClassicAdaptor.getInventory(ClassicAdaptor.java:53) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.api.adaptor.ClassicAdaptor.open(ClassicAdaptor.java:25) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.api.GeneratedInventory.open(GeneratedInventory.java:79) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.command.PlayerStatsCommand.execute(PlayerStatsCommand.java:31) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
30.03 08:03:03 [Server] INFO ... 28 more
30.03 08:03:03 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.playavalon.avnparty.AvNParty
30.03 08:03:03 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
30.03 08:03:03 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
30.03 08:03:03 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.party.compat.DungeonPartiesPartyModule.getParty(DungeonPartiesPartyModule.java:21) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.api.player.PlayerData.getParty(PlayerData.java:527) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.PlayerStats$PartyMoraleItem.canDisplay(PlayerStats.java:221) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.PlayerStats$PartyMoraleItem.canDisplay(PlayerStats.java:202) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.api.adaptor.ClassicAdaptor.getInventory(ClassicAdaptor.java:53) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.api.adaptor.ClassicAdaptor.open(ClassicAdaptor.java:25) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.gui.api.GeneratedInventory.open(GeneratedInventory.java:79) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at net.Indyuce.mmocore.command.PlayerStatsCommand.execute(PlayerStatsCommand.java:31) ~[MMOCore-1.12.1-31.jar:?]
30.03 08:03:03 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
30.03 08:03:03 [Server] INFO ... 28 more

PLAYERSTATS.YML;
Код:
# GUI display name
name: Your Character

# Number of slots in your inventory. Must be
# between 9 and 54 and must be a multiple of 9.
slots: 54

items:
    mining-profession:
        slots: [10]
        function: profession_mining
        item: IRON_PICKAXE
        name: '&aMining'
        hide-flags: true
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oMining unlocks rare ores and raw materials.'
        - '&7&oThis is vital to your rise in power and strength,'
        - '&7&omine frequently for unique and rare drops.'
    woodcutting-profession:
        slots: [11]
        function: profession_woodcutting
        item: IRON_AXE
        name: '&aWoodcutting'
        hide-flags: true
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oThough it may seem like a boring task, woodcutting'
        - '&7&ois vital to obtaining materials used for crafting and trade,'
        - '&7&oand will help give you the upper hand in the arcane ways.'
    farming-profession:
        slots: [12]
        function: profession_farming
        item: IRON_HOE
        name: '&aFarming'
        hide-flags: true
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oWith tons of new food and consumable recipes,'
        - '&7&oyou will need to stay on top of the crops in order'
        - '&7&oto obtain the best food and drinks to keep yourself healthy.'
    fishing-profession:
        slots: [19]
        function: profession_fishing
        item: FISHING_ROD
        name: '&aFishing'
        hide-flags: true
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oFishing may give you unique drops you'
        - '&7&ocan''t find anywhere else. The more you'
        - '&7&ofish, the easier it becomes to find these.'
        - ''
        - '&7Fishing Strength: &c{fishing_strength}%'
        - '&7Crit Fishing Rate: &c{critical_fishing_chance}%'
        - '&7Crit Failure Rate: &c{critical_fishing_failure_chance}%'
    alchemy-profession:
        slots: [20]
        function: profession_alchemy
        item: BREWING_STAND
        name: '&aAlchemy'
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oIn a world where you are no longer limited to'
        - '&7&osimple potions, try learning tons of new brewing'
        - '&7&orecipes to give yourself the edge on the battlefield.'
    smithing-profession:
        slots: [21]
        function: profession_smithing
        item: ANVIL
        name: '&aSmithing'
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oStabbing enemies and having them laugh is the worst,'
        - '&7&oPractice makes perfect when it comes to smithing.'
        - '&7&o&nWar is won by the man with the pointiest stick.'
    enchanting-profession:
        slots: [28]
        function: profession_enchanting
        item: ENCHANTED_BOOK
        name: '&aEnchanting'
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oLorem ipsum dolor sit amet, consectetur'
        - '&7&oadipiscing elit. Proin malesuada maximus massa,'
        - '&7&osodales imperdiet sapien fermentum at.'
    smelting-profession:
        slots: [29]
        function: profession_smelting
        item: FURNACE
        name: '&aSmelting'
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - ''
        - '&7&oSinging your eyebrows will become standard.'
        - '&7&oYour long hours over the heat will make you'
        - '&7&ofaster and more efficient with your oven.'
    boost-display:
        slots: [47,48,49,50,51]
        function: boost
        item: BARRIER
        no-boost:
            item: GRAY_STAINED_GLASS_PANE
            name: '&aNo Booster'
            lore: {}
        
        # Profession experience boosters
        profession:
            item: EXPERIENCE_BOTTLE
            name: '&aEXP Boost'
            lore:
            - '&7Amount: &6+{value}%'
            - '&7Time left: &6{left}'
            - '&7Profession: &6{profession}'
            - '&7'
            - '&eStarted by {author}'
        
        # Main class experience boosters
        main-level:
            item: EXPERIENCE_BOTTLE
            name: '&aEXP Boost'
            lore:
            - '&7Amount: &6+{value}%'
            - '&7Time left: &6{left}'
            - '&7'
            - '&eStarted by {author}'
    boost-next:
        slots: [52]
        function: boost-next
        item: PLAYER_HEAD
        texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTliZjMyOTJlMTI2YTEwNWI1NGViYTcxM2FhMWIxNTJkNTQxYTFkODkzODgyOWM1NjM2NGQxNzhlZDIyYmYifX19
        name: '&aNext'
        lore: {}
    boost-prev:
        slots: [46]
        function: boost-previous
        item: PLAYER_HEAD
        texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ2OWUwNmU1ZGFkZmQ4NGU1ZjNkMWMyMTA2M2YyNTUzYjJmYTk0NWVlMWQ0ZDcxNTJmZGM1NDI1YmMxMmE5In19fQ==
        name: '&aPrevious'
        lore: {}
    party:
        slots: [16]
        function: party
        item: CAKE
        name: '&aParty Morale'
        lore:
        - '&7&oPlaying with your friends'
        - '&7&ogreatly encourages you!'
        - ''
        - '&7Party Bonuses ({count}):'
        - '&8+{buff_additional_experience} Experience Earned!'
        - '&8+{buff_health_regeneration} Health Regeneration'
    stats:
        slots: [15]
        function: profile
        item: PLAYER_HEAD
        name: '&e{player}'
        lore:
        - ''
        - '&7Current Level: &e{level}'
        - '&7Progression: &e{exp} / {next_level}'
        - '&8[&e{progress}&8] &e{percent}%'
        - '&7Skill Points: &6{skill_points}'
        - ''
        - '&7Current Class: &c{class}'
        - '&7Class Points: &c{class_points}'
    phys:
        slots: [32]
        function: stats
        name: '&cPhysical'
        item: GOLDEN_APPLE
        hide-flags: true
        lore:
        - ''
        - 'Current Strength: &c&l{attribute_strength}'
        - ''
        - '✦ Attack Damage: &c{attack_damage} &7(&c{attack_damage_base} &7+ &c{attack_damage_extra}&7)'
        - '✦ Attack Speed: &c{attack_speed} &7(&c{attack_speed_base} &7+ &c{attack_speed_extra}&7)'
        - ''
        - '❤ Max Health: &c{max_health} &7(&c{max_health_base} &7+ &c{max_health_extra}&7)'
        - '❤ Health Regen: &c{health_regeneration} &7(&c{health_regeneration_base} &7+ &c{health_regeneration_extra}&7)'
        - ''
        - '✤ Max Stamina: &9{max_stamina} &7(&9{max_stamina_base} &7+ &9{max_stamina_extra}&7)'
        - '✤ Stamina Regen: &9{stamina_regeneration} &7(&9{stamina_regeneration_base} &7+ &9{stamina_regeneration_extra}&7)'
        - ''
        - '❖ Armor: &c{armor} &7(&c{armor_base} &7+ &c{armor_extra}&7)'
        - '❖ Armor Toughness: &c{armor_toughness} &7(&c{armor_toughness_base} &7+ &c{armor_toughness_extra}&7)'
    dex:
        slots: [33]
        function: stats
        name: '&aDexterity'
        item: LEATHER_BOOTS
        hide-flags: true
        lore:
        - ''
        - 'Current Dexterity: &a&l{attribute_dexterity}'
        - ''
        - '✤ Knockback Resistance: &f{knockback_resistance} &7(&f{knockback_resistance_base} &7+ &f{knockback_resistance_extra}&7)'
        - '✤ Movement Speed: &f{movement_speed} &7(&f{movement_speed_base} &7+ &f{movement_speed_extra}&7)'
        - '✤ Speed Malus Reduction: &f{speed_malus_reduction}% &7(&f{speed_malus_reduction_base} &7+ &f{speed_malus_reduction_extra}&7)'
    int:
        slots: [34]
        function: stats
        name: '&bIntellect'
        item: BOOK
        hide-flags: true
        lore:
        - ''
        - 'Current Intelligence: &b&l{attribute_intelligence}'
        - ''
        - '✤ Max Mana: &9{max_mana} &7(&9{max_mana_base} &7+ &9{max_mana_extra}&7)'
        - '✤ Mana Regen: &9{mana_regeneration} &7(&9{mana_regeneration_base} &7+ &9{mana_regeneration_extra}&7)'
        - ''
        - '✤ Skill Cooldown Reduction: &9{cooldown_reduction} &7(&9{cooldown_reduction_base} &7+ &9{cooldown_reduction_extra}&7)'
        - '✤ Extra Experience: &9{additional_experience} &7(&9{additional_experience_base} &7+ &9{additional_experience_extra}&7)'
        - ''
        - '❊ Max Stellium: &9{max_stellium} &7(&9{max_stellium_base} &7+ &9{max_stellium_extra}&7)'
        - '❊ Stellium Regen: &9{stellium_regeneration} &7(&9{stellium_regeneration_base} &7+ &9{stellium_regeneration_extra}&7)'
 
Решение
_Dead_
@Aternos_,
Yes, most likely the issue is because you switched your party system from MMOCore to MythicDungeons. When you switch systems, MMOCore might still be trying to access a class or functionality that either no longer exists or isn't connected, causing the error you're seeing.
_Dead_
  • _Dead_
  • Жiнка з ароматом пива, шкiра снiжного кальвiна.
  • 130
@Aternos_,
Your server is encountering an issue related to the class net.playavalon.avnparty.AvNParty, which cannot be found, leading to a java.lang.ClassNotFoundException error. This likely indicates that some plugin or dependency, mb "DungeonPartiesPartyModule," expects this class to be present but it cannot be found in your classpath.
 
_Dead_
  • _Dead_
  • Жiнка з ароматом пива, шкiра снiжного кальвiна.
  • 130
@Aternos_,
Yes, most likely the issue is because you switched your party system from MMOCore to MythicDungeons. When you switch systems, MMOCore might still be trying to access a class or functionality that either no longer exists or isn't connected, causing the error you're seeing.
 
Решение
ВерхНиз