Plugin don't work #51


  • Defect
  • Started
Open
Assigned to _ForgeUser8345480
  • _ForgeUser9289611 created this issue Nov 12, 2012

    **What steps will reproduce the problem?
    1. I running server
    2. Plugin don't work. Glass don't break.

    What versions EpicGlass and Craftbukkit are you using?
    CraftBukkit version git-Bukkit-1.4.2-R0.2-b2455jnks (MC: 1.4.2) (Implementing API version 1.4.2-R0.2)
    EpicGlass1.16 for CB 1.4.2-R0.2

    Do you have an error log of what happened?

    2012-11-12 22:48:36 [SEVERE] Error occurred while enabling EpicGlass v1.16 by Malikk (Is it up to date?)
    java.lang.NoClassDefFoundError: com/malikk/shield/Shield
        at me.jordan.epicGlass.shield.EGShield.hookShield(EGShield.java:35)
        at me.jordan.epicGlass.EpicGlass.onEnable(EpicGlass.java:43)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:272)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:254)
        at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258)
        at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:141)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
    Caused by: java.lang.ClassNotFoundException: com.malikk.shield.Shield
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 13 more

    If you think it could be a config related issue, please post a pastebin link to your config file.

  • _ForgeUser9289611 added the tags New Defect Nov 12, 2012
  • _ForgeUser9289611 posted a comment Nov 12, 2012

    I installed Shield.

    Now I have another error when I shoot arrow into glass:

    2012-11-12 22:59:14 [SEVERE] java.lang.NullPointerException 2012-11-12 22:59:14 [SEVERE] at com.malikk.shield.plugins.ProtectionManager.isInRegion(ProtectionManager.java:83) 2012-11-12 22:59:14 [SEVERE] at com.malikk.shield.ShieldAPIManager.isInRegion(ShieldAPIManager.java:96) 2012-11-12 22:59:14 [SEVERE] at me.jordan.epicGlass.shield.EGShield.checkShield(EGShield.java:55) 2012-11-12 22:59:14 [SEVERE] at me.jordan.epicGlass.EGArrow$1.run(EGArrow.java:69) 2012-11-12 22:59:14 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:53) 2012-11-12 22:59:14 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 2012-11-12 22:59:14 [SEVERE] at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:531) 2012-11-12 22:59:14 [SEVERE] at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) 2012-11-12 22:59:14 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:495) 2012-11-12 22:59:14 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:428) 2012-11-12 22:59:14 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)

  • _ForgeUser8345480 posted a comment Nov 12, 2012

    I'm not having any issues.

    What version of Java are you using? And do you have any other plugins named Shield? That could be the issue...

    I'm really not sure.

  • _ForgeUser9289611 posted a comment Nov 13, 2012

    I have 2 shield plugins. http://dev.bukkit.org/server-mods/shield/

    When I deleted second shield plugin I still have problem.

    I use Java 7


    Edited Nov 13, 2012
  • _ForgeUser9289611 posted a comment Nov 13, 2012

    MOBS:

    break glass when they fall on glass but players not.

    Skeletons break glass by arrows.

    Players: Arrows don't break glass

    Sprint don't break glass

    TOOLS don't break


    Edited Nov 13, 2012
  • _ForgeUser9289611 posted a comment Nov 13, 2012
    # 
    #  EpicGlass v1.16 by Malikk
    #  
    #  For help with your config file, please see the BukkitDev page 
    #  
    Shield:
      CheckBuildPermission: false
    WorldsEnabled:
      world: true
      world_nether: true
      world_the_end: true
    BlocksAffectedByBreaks:
      Signs: false
      Torches: false
      Vines: false
      Water: true
      Lava: true
    Damage:
      Sprinting: 1.5
      Falling: -4
    BreakableBlocks:
      GLASS:
        Types:
          All:
            BreakType:
              Hitting:
                Player:
                  Enabled: true
                  HitsTaken: 1
                  ItemsEnabled:
                  - STONE_TOOLS
              Falling:
                Player: true
                Mob: true
              Sprinting:
                Player: true
              Projectile:
                Arrow:
                  Player: true
                  Mob: true
                  Dispenser: true
                Guns+: false
            SetType:
              Material: AIR
              DataValue: 0
            Ranges:
              MinimumFallDistance: 5
              MaxBlocksBroken: 5
            Regeneration:
              Enabled: true
              Chance: 15
              TimeBeforeRegenStarts: 60
            AssociatedBlocks:
            - NONE
            DropsBlocks: false
    

    Edited Nov 13, 2012
  • _ForgeUser8345480 posted a comment Nov 13, 2012

    I remember someone having a similar problem using Java 7. This plugin was built on 6, but I'm not sure why that particular line wouldn't be working in 7.

  • _ForgeUser9289611 posted a comment Nov 13, 2012

    @Malikk65: Go

    Will it be for Java 7?

    Too many plugins don't work with Java 6 to downgrade Java.


    Edited Nov 13, 2012
  • _ForgeUser8345480 posted a comment Nov 15, 2012

    @Byamarro: Go

    In theory, if you're on 7 it should be backwards compatible but it doesn't always work that way in reality.

    Someone awhile back was having this exact issue and I've sent them a message to see how they fixed it.

  • _ForgeUser8345480 removed a tag New Nov 18, 2012
  • _ForgeUser8345480 added a tag Started Nov 18, 2012
  • _ForgeUser8345480 posted a comment Nov 18, 2012

    Okay, question.

    Are you using Shield but not any of the protection plugins it supports? The new error I'm sure is an easy fix if that's the case.

    As far as the first one goes, i'll change Shield's name internally and that should fix the conflicts.

  • _ForgeUser9289611 posted a comment Nov 22, 2012

    I use WorldGuard.

  • _ForgeUser8345480 posted a comment Nov 22, 2012

    @Byamarro: Go

    Alright... thanks, lol.


To post a comment, please login or register a new account.