Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem]MobArena przy wychodzeniu


Rekomendowane odpowiedzi

Opublikowano

An internal error occurred while attempting to perform this command - To jest błąd, który wyskakuje przy wychodzeniu z Mob Areny wpisując /ma leave bądź /ma l Config:

 

 

global-settings:

  enabled: true
  allowed-commands: ''
  update-notification: false
classes:
  Wojownik:
    items: diamond_sword, potion:8197:3
    armor: 306,307,308,309
  Obronca:
    items: iron_sword, potion:8229:2, 322
    armor: 310,311,312,313
  Strzelec:
    items: wood_sword, bow, potion:8197:3,
    armor: 298,299,300,301
  Alchemik:
    items: stone_sword, potion:16428:30, potion:16388:8, potion:16389:20, potion:8197:3, potion:8226:1
    armor: 314,315,316,317
  Szaleniec:
    items: wood_sword, 322
arenas:
  sky:
    settings:
      world: world
      enabled: true
      protect: true
      entry-fee: ''
      clear-wave-before-next: false
      clear-boss-before-next: false
      clear-wave-before-boss: false
      soft-restore: false
      soft-restore-drops: false
      require-empty-inv-join: false
      require-empty-inv-spec: false
      hellhounds: false
      pvp-enabled: false
      monster-infight: false
      allow-teleporting: false
      spectate-on-death: true
      auto-respawn: true
      share-items-in-arena: true
      min-players: 0
      max-players: 10
      max-join-distance: 0
      first-wave-delay: 10
      wave-interval: 15
      final-wave: 50
      monster-limit: 150
      monster-exp: false
      keep-exp: true
      food-regen: false
      lock-food-level: true
      player-time-in-arena: world
      auto-ignite-tnt: false
      auto-start-timer: 0
      start-delay-timer: 0
      auto-ready: false
      use-class-chests: true
      display-waves-as-level: true
      display-timer-as-level: true
      use-scoreboards: true
      isolated-chat: true
      global-join-announce: false
      global-end-announce: false
      show-death-messages: false
    waves:
      recurrent:
        def1:
          type: default
          priority: 1
          frequency: 1
          monsters:
            zombies: 15
            skeletons: 5
            spiders: 10
            creepers: 10
            wolves: 10
        spec1:
          type: special
          priority: 2
          frequency: 4
          monsters:
            powered-creepers: 10
            zombie-pigmen: 10
            angry-wolves: 10
            blazes: 10
      single:
        swarm1:
          type: swarm
          wave: 6
          monster: slime
          amount: low
        boss1:
          type: boss
          wave: 10
          monster: cave_spider
          health: high
          abilities: arrows, root-target, throw-nearby
    rewards:
      waves:
        every:
          '5': 352:3, 3:5
          '10': 391:5, 392:5, 384:5
          '20': 368:1, 264:2
        after:
          '5': 15905
          '10': 16561
          '15': 19322
          '20': 266:5, 368:1
          '25': 2:32, 307:1
          '30': 116:1, 47:2
          '35': 1159261
          '40': 312:1, 313:1
          '45': 372:5, 369:5, 322:1:3
    coords:
      spawnpoints:
        -189,71,266: -188.5,71,266.5,0.0,0.0,world
        -203,71,280: -202.5,71,280.5,0.0,0.0,world
        -189,71,294: -188.5,71,294.5,0.0,0.0,world
        -175,71,280: -174.5,71,280.5,0.0,0.0,world
      containers:
        -212,78,277: -212,78,277,0.0,0.0,world
        -208,77,269: -208,77,269,0.0,0.0,world
        -167,76,283: -167,76,283,0.0,0.0,world
        -180,78,300: -180,78,300,0.0,0.0,world
        -176,70,271: -176,70,271,0.0,0.0,world
        -189,70,283: -189,70,283,0.0,0.0,world
      p1: -212,66,254,0.0,0.0,world
      p2: -163,104,305,0.0,0.0,world
      l1: -193,95,281,0.0,0.0,world
      l2: -179,103,295,0.0,0.0,world
      lobby: -185.5,95,288.5,3.11,0.0,world
      spectator: -188.5,85,299.5,181.4,0.0,world
      exit: -211.5,230,101.5,2.81,0.0,world
      arena: -188.5,72,280.5,151.61,0.0,world
    class-limits:
      Szalenic: 1
      Strzelec: 3
      Obronca: 2
      Wojownik: 2
      Alchemik: 2

Opublikowano

Mozecie mi dokladnie gdzie sprawdzac te logi ? Bo w pliku logs mam ostatni z 15 kwietnia 

 

Silnik: Spigot - #1543 1.7.9

 

Wersja pluginu: MobArena v0.96.5 - Config-file

Opublikowano

@hubert9004 Skoro nie zapisują Ci się logi, to uruchom serwer, wejdź na grę i wpisz komendy, które nie działają. Następnie wejdź na konsole i skopiuj całą jej zawartość, następnie wklej ją na pastebin.com, a link podaj w tym temacie.

Opublikowano

[12:09:49 INFO]: MrocznyStrike issued server command: /ma leave
[12:09:49 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.96.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:767) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:1015) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:845) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:184) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:731) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:284) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:584) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:490) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
Caused by: java.lang.IllegalArgumentException: Material cannot be null
        at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.inventory.ItemStack.setType(ItemStack.java:165) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.inventory.CraftItemStack.<init>(CraftItemStack.java:103) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.inventory.CraftItemStack.<init>(CraftItemStack.java:110) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.inventory.CraftItemStack.<init>(CraftItemStack.java:99) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.inventory.CraftItemStack.asCraftCopy(CraftItemStack.java:78) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.inventory.CraftInventory.firstPartial(CraftInventory.java:254) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at org.bukkit.craftbukkit.v1_7_R3.inventory.CraftInventory.addItem(CraftInventory.java:281) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        at com.garbagemule.MobArena.RewardManager.grantRewards(RewardManager.java:65) ~[?:?]
        at com.garbagemule.MobArena.ArenaImpl.restoreInvAndExp(ArenaImpl.java:1017) ~[?:?]
        at com.garbagemule.MobArena.ArenaImpl.playerLeave(ArenaImpl.java:662) ~[?:?]
        at com.garbagemule.MobArena.commands.user.LeaveCommand.execute(LeaveCommand.java:39) ~[?:?]
        at com.garbagemule.MobArena.commands.CommandHandler.onCommand(CommandHandler.java:91) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]
        ... 13 more

Opublikowano

        at com.garbagemule.MobArena.RewardManager.grantRewards(RewardManager.java:65) ~[?:?]

        at com.garbagemule.MobArena.ArenaImpl.restoreInvAndExp(ArenaImpl.java:1017) ~[?:?]

        at com.garbagemule.MobArena.ArenaImpl.playerLeave(ArenaImpl.java:662) ~[?:?]

        at com.garbagemule.MobArena.commands.user.LeaveCommand.execute(LeaveCommand.java:39) ~[?:?]

        at com.garbagemule.MobArena.commands.CommandHandler.onCommand(CommandHandler.java:91) ~[?:?]

        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.7.9-R0.3-SNAPSHOT.jar:git-Spigot-1543]

        ... 13 more

Masz coś źle w configu 

Opublikowano

Mogę podać Ci config bo ten co jest na górze został trochę przerobiony...

 

 

# MobArena v0.96.5 - Config-file
# Read the Wiki for details on how to set up this file: http://goo.gl/F5TTc
# Note: You -must- use spaces instead of tabs!
global-settings:
  enabled: true
  allowed-commands: /ma leave
  update-notification: false
classes:
  Wojownik:
    items: diamond_sword, potion:8197:3
    armor: 306,307,308,309
  Obronca:
    items: iron_sword, potion:8229:2, 322
    armor: 310,311,312,313
  Strzelec:
    items: wood_sword, bow, potion:8197:3, bone:2
    armor: 298,299,300,301
  Alchemik:
    items: stone_sword, potion:16428:30, potion:16388:8, potion:16389:20, potion:8197:3, potion:8226:1
    armor: 314,315,316,317
  Szaleniec:
    items: wood_sword, 322
arenas:
  sky:
    settings:
      world: world
      enabled: true
      protect: true
      entry-fee: ''
      clear-wave-before-next: false
      clear-boss-before-next: false
      clear-wave-before-boss: false
      soft-restore: false
      soft-restore-drops: false
      require-empty-inv-join: false
      require-empty-inv-spec: false
      hellhounds: false
      pvp-enabled: false
      monster-infight: false
      allow-teleporting: false
      spectate-on-death: true
      auto-respawn: true
      share-items-in-arena: true
      min-players: 0
      max-players: 10
      max-join-distance: 0
      first-wave-delay: 10
      wave-interval: 15
      final-wave: 50
      monster-limit: 150
      monster-exp: false
      keep-exp: true
      food-regen: false
      lock-food-level: true
      player-time-in-arena: world
      auto-ignite-tnt: false
      auto-start-timer: 0
      start-delay-timer: 0
      auto-ready: false
      use-class-chests: true
      display-waves-as-level: true
      display-timer-as-level: true
      use-scoreboards: true
      isolated-chat: true
      global-join-announce: false
      global-end-announce: false
      show-death-messages: false
    waves:
      recurrent:
        def1:
          type: default
          priority: 1
          frequency: 1
          monsters:
            zombies: 15
            skeletons: 5
            spiders: 10
            creepers: 10
            wolves: 10
        spec1:
          type: special
          priority: 2
          frequency: 4
          monsters:
            powered-creepers: 5
            zombie-pigmen: 10
            exploding_sheep: 5
            blazes: 10
      single:
        swarm1:
          type: swarm
          wave: 10
          monster: magmacube
          amount: medium
    Petronela:
      type: boss
      wave: 25
      monster: Witch
      health: verylow
      abilities: arrows, fireballs, living-bomb, fire-aura, lightning-aura, chain-lightning
      drops: 373:16417:4, 322:1:1, 76
    rewards:
      waves:
        every:
          '5': 352:3, 3:5
          '10': 391:5, 392:5, 384:5
          '20': 368:1, 264:2
        after:
          '5': 15905
          '10': 307, 308
          '15': 15843
          '20': 266:5, 368:1
          '25': 2:32, 307:1
          '30': 116:1, 47:2
          '35': 19323
          '40': 312:1, 313:1
          '45': 372:5, 369:5, 322:1:3
    coords:
      spawnpoints:
        -189,71,266: -188.5,71,266.5,0.0,0.0,world
        -203,71,280: -202.5,71,280.5,0.0,0.0,world
        -189,71,294: -188.5,71,294.5,0.0,0.0,world
        -175,71,280: -174.5,71,280.5,0.0,0.0,world
      containers:
        -212,78,277: -212,78,277,0.0,0.0,world
        -208,77,269: -208,77,269,0.0,0.0,world
        -167,76,283: -167,76,283,0.0,0.0,world
        -180,78,300: -180,78,300,0.0,0.0,world
        -176,70,271: -176,70,271,0.0,0.0,world
        -189,70,283: -189,70,283,0.0,0.0,world
      p1: -212,66,254,0.0,0.0,world
      p2: -163,104,305,0.0,0.0,world
      l1: -193,95,281,0.0,0.0,world
      l2: -179,103,295,0.0,0.0,world
      lobby: -185.5,95,288.5,3.11,0.0,world
      spectator: -188.5,85,299.5,181.4,0.0,world
      exit: -211.5,230,101.5,2.81,0.0,world
      arena: -188.5,72,280.5,151.61,0.0,world
    class-limits:
      Szalenic: 1
      Strzelec: 3
      Obronca: 2
      Wojownik: 2
      Alchemik: 2

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...