Skrevet av Emne: DocPlugin funker ikke  (Lest 10802 ganger)

Morder269

  • Gjest
DocPlugin funker ikke
« på: 22. Februar 2012, 21:13 pm »
  • [applaud]0
  • [smite]0
  • Mest til Floyd, men om noen andre løser "problemet" så hadde det vært fint.

    Lastet ned DocPlugin (pluginen til Floyd) og startet opp Bukkit serveren min. Ingen nye filer dukker opp i hverken root eller plugins mappa, men console ser ikke ut.
    Kode: [Velg]
    C:\Users\Marius\Desktop\Crap\Servers\skyblock v2>java -Xmx1G -Xms1G -jar bukkit.
    jar
    174 recipes
    27 achievements
    21:09:40 [INFO] Starting minecraft server version 1.1
    21:09:40 [INFO] Loading properties
    21:09:40 [INFO] Starting Minecraft server on *:25565
    21:09:40 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-b19
    38jnks (MC: 1.1) (Implementing API version 1.1-R4)
    21:09:40 [INFO] Preparing level "world"
    21:09:40 [INFO] Default game type: 0
    21:09:40 [INFO] Preparing start region for level 0 (Seed: 7093478660308997472)
    21:09:41 [INFO] Preparing spawn area: 20%
    21:09:42 [INFO] Preparing spawn area: 44%
    21:09:43 [INFO] Preparing spawn area: 77%
    21:09:44 [INFO] Preparing start region for level 1 (Seed: 7093478660308997472)
    21:09:44 [INFO] Preparing spawn area: 8%
    21:09:45 [INFO] Preparing spawn area: 36%
    21:09:46 [INFO] Preparing spawn area: 69%
    21:09:47 [INFO] Preparing spawn area: 97%
    21:09:47 [INFO] Preparing start region for level 2 (Seed: 7093478660308997472)
    21:09:48 [INFO] Preparing spawn area: 65%
    21:09:48 [INFO] [DocPlugin] Loading DocPlugin v1.03.
    21:09:48 [INFO] [Doc]  Permission system not enabled. Disabling plugin.
    21:09:48 [INFO] [DocPlugin] Unloading DocPlugin v1.03.
    21:09:48 [INFO] DocPlugin version 1.03 is disabled!
    21:09:48 [SEVERE] Error occurred while enabling DocPlugin v1.03 (Is it up to dat
    e?): Plugin attempted to register class org.bukkit.event.player.PlayerJoinEvent
    while not enabled
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register cla
    ss org.bukkit.event.player.PlayerJoinEvent while not enabled
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:566)
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:546)
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:513)
            at com.floyd.bukkit.doc.DocPlugin.onEnable(DocPlugin.java:61)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    21:09:48 [INFO] Done (8,662s)! For help, type "help" or "?"
    >



    Last ned DocPlugin her
    http://minecraft.atc.no/bin/plugins/DocPlugin.jar



    Maknma01

    • Gjest
    Sv: DocPlugin funker ikke
    « Svar #1 på: 04. Mars 2012, 20:31 pm »
  • [applaud]0
  • [smite]0
  • Har du laget en mappe i plugin mappa som heter DocPlugin????



    Maknma01

    • Gjest
    Sv: DocPlugin funker ikke
    « Svar #2 på: 04. Mars 2012, 20:35 pm »
  • [applaud]0
  • [smite]0
  • Nei... så feilen du trenger Permissions pluginen for å enable DocPlugin.
    Hadde det samme problemet på min PC...



    Utlogget Cybersyn

    • n00b
    • *
    • Innlegg: 2
    • Karma: +1/-0
      • Vis profil
      • localhost
    Sv: DocPlugin funker ikke
    « Svar #3 på: 05. Mars 2012, 19:17 pm »
  • [applaud]0
  • [smite]0
  • Problemet bør si seg selv på en enkel måte, når konsollen sier:
    Kode: [Velg]
    21:09:48 [INFO] [DocPlugin] Loading DocPlugin v1.03.
    21:09:48 [INFO] [Doc]  Permission system not enabled. Disabling plugin.
    21:09:48 [INFO] [DocPlugin] Unloading DocPlugin v1.03.
    21:09:48 [INFO] DocPlugin version 1.03 is disabled!
    DocPlugin prøver å finne et permission-system (som f. eks. Permissions) uten å finne noe, så den deaktiveres automatisk.

    Men så prøver den å registrere en Java-klasse etter at pluginen har blitt deaktivert. Ser mest ut som en bug - eller en exception som ikke blir handlet riktig.
    Kode: [Velg]
    21:09:48 [SEVERE] Error occurred while enabling DocPlugin v1.03 (Is it up to dat
    e?): Plugin attempted to register class org.bukkit.event.player.PlayerJoinEvent
    while not enabled
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register cla
    ss org.bukkit.event.player.PlayerJoinEvent while not enabled
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:566)
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:546)
            at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:513)
            at com.floyd.bukkit.doc.DocPlugin.onEnable(DocPlugin.java:61)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:1057)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:380)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Det ser ut som om det er først og fremst en event som skal skje når en spiller joiner som ikke vil virke (PlayerJoinEvent). Det vil si, DocPlugin ønsker å gjøre noe når en spiller joiner, men deaktiveres automatisk pga. en manglende plugin, og får tilbake svar fra Bukkit (eller SimplePluginManager), men Bukkit klarer ikke å få tilgang til plugin'en (fordi den er deaktivert).

    (Om jeg tolker feilmeldingen riktig)

    Kan sikkert de-kompilere kildekoden og prøve å finne en løsning :)



    Utlogget DJdur

    • Moderator
    • Wannabe
    • *****
    • Innlegg: 94
    • Karma: +0/-0
    • #swag
      • MSN Messenger - oozziizz@hotmail.com
      • Vis profil
      • My twitter!
      • E-post
    Sv: DocPlugin funker ikke
    « Svar #4 på: 05. Mars 2012, 19:47 pm »
  • [applaud]0
  • [smite]0
  • Jeg har permissions-system, feil, men ikke samme..
    Kode: [Velg]
    177 recipes
    27 achievements
    19:46:35 [INFO] Starting minecraft server version 1.2.3
    19:46:35 [INFO] Loading properties
    19:46:35 [INFO] Starting Minecraft server on *:25565
    19:46:35 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R6
    gd6d767e-b2029jnks (MC: 1.2.3) (Implementing API version 1.2.3-R0.1-SNAPSHOT
    19:46:36 [SEVERE] Could not load 'plugins\DocPlugin.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: or
    kkit/event/player/PlayerListener
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoad
    ava:148)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginMana
    java:287)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginMan
    .java:211)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:2
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConf
    ationManager.java:53)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:15
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerLis
    r
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(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(PluginClassLoa
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoa
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at com.floyd.bukkit.doc.DocPlugin.<init>(DocPlugin.java:32)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Met

            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Sou

            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoad
    ava:144)
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerL
    ner
            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(PluginClassLoa
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoa
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 27 more
    19:46:36 [INFO] [PermissionsEx] sql backend registered!
    19:46:36 [INFO] [PermissionsEx] file backend registered!
    19:46:36 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    19:46:36 [INFO] [PlayerTime] Loading PlayerTime v0.1
    19:46:36 [INFO] [HealMe] Loading HealMe v0.4
    19:46:36 [INFO] [WeatherTime] Loading WeatherTime v0.1
    19:46:36 [INFO] [PingPangPong] Loading PingPangPong v2.0
    19:46:36 [INFO] [WorldEdit] Loading WorldEdit v5.2
    19:46:36 [INFO] [PermissionsEx] Loading PermissionsEx v1.19
    19:46:36 [INFO] [PermissionsEx] Initializing file backend
    19:46:36 [INFO] [Essentials] Loading Essentials v2.8.3
    19:46:36 [INFO] [ChatManager] Loading ChatManager v1.19
    19:46:36 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.8.3
    19:46:36 [INFO] Preparing level "world"
    19:46:36 [INFO] Default game type: 0
    19:46:36 [INFO] Preparing start region for level 0 (Seed: 339)
    19:46:36 [INFO] ----- Bukkit Auto Updater -----
    19:46:37 [INFO] It appears that you're running a Development Build, when you
    specified in bukkit.yml that you prefer to run Recommended Builds.
    19:46:37 [INFO] If you would like to be kept informed about new Development
    d releases, it is recommended that you change 'preferred-channel' in your bu
    .yml to 'dev'.
    19:46:37 [INFO] With that set, you will be told whenever a new version is av
    ble for download, so that you can always keep up to date and secure with the
    est fixes.
    19:46:37 [INFO] If you would like to disable this warning, simply set 'sugge
    hannels' to false in bukkit.yml.
    19:46:37 [INFO] ----- ------------------- -----
    19:46:37 [INFO] Preparing spawn area: 48%
    19:46:38 [INFO] Preparing start region for level 1 (Seed: 893541081892582502
    19:46:38 [INFO] Preparing spawn area: 69%
    19:46:38 [INFO] [PlayerTime] Enabling PlayerTime v0.1
    19:46:38 [INFO] [PlayerTime] Enabled!
    19:46:38 [INFO] [HealMe] Enabling HealMe v0.4
    19:46:38 [INFO] [HealMe] version 0.4 was enabled!
    19:46:38 [INFO] [HealMe] by Oozziizz.
    19:46:38 [INFO] [WeatherTime] Enabling WeatherTime v0.1
    19:46:38 [INFO] WeatherTime ble aktivert! ;-)
    19:46:38 [INFO] [PingPangPong] Enabling PingPangPong v2.0
    19:46:38 [INFO] [PingPangPong] Enabled!
    19:46:38 [INFO] [WorldEdit] Enabling WorldEdit v5.2
    19:46:38 [INFO] WorldEdit 5.2 enabled.
    19:46:38 [INFO] WEPIF: Using the Bukkit Permissions API.
    19:46:38 [INFO] WEPIF: Using the Bukkit Permissions API.
    19:46:38 [INFO] [PermissionsEx] Enabling PermissionsEx v1.19
    19:46:39 [INFO] [PermissionsEx] Superperms support enabled.
    19:46:39 [INFO] [PermissionsEx] v1.19 enabled
    19:46:39 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permi
    ns.
    19:46:39 [INFO] [Essentials] Enabling Essentials v2.8.3
    19:46:39 [INFO] Essentials: Using PermissionsEx based permissions.
    19:46:39 [INFO] File not found: plugins\Essentials\jail.yml
    19:46:39 [INFO] [ChatManager] Enabling ChatManager v1.19
    19:46:39 [INFO] [ChatManager] ChatManager enabled!
    19:46:39 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.8.3
    19:46:39 [INFO] Server permissions file permissions.yml is empty, ignoring i
    19:46:39 [INFO] File not found: plugins\Essentials\spawn.yml
    19:46:39 [INFO] Done (3,192s)! For help, type "help" or "?"


    EDIT: Tipper at feilen er at jeg kjører dev-build ^^



    Utlogget Cybersyn

    • n00b
    • *
    • Innlegg: 2
    • Karma: +1/-0
      • Vis profil
      • localhost
    Sv: DocPlugin funker ikke
    « Svar #5 på: 05. Mars 2012, 20:18 pm »
  • [applaud]0
  • [smite]0
  • Sikker på at DocPlugin er oppdatert/kompatibel med den versjonen av Bukkit?



    Utlogget Smurfe

    • Minecraft-Operators
    • Wannabe
    • ***
    • Innlegg: 96
    • Karma: +0/-0
      • MSN Messenger - Ehh@gamle_dager.com
      • AOL Instant Messenger - Smurfe
      • Vis profil
    Sv: DocPlugin funker ikke
    « Svar #6 på: 06. Mars 2012, 18:06 pm »
  • [applaud]0
  • [smite]0
  • ?
    ikke min greie

    Hva mener du? Er dette bare spam.. ???


    Dere er alle nuubz !

    Reglene til Minecraft.atc.no " http://www.youtube.com/watch?v=ZD4b7_zMqXU&feature=related "

    Blir aldri lei av Battlefield 3!

    Utlogget HalleH

    • n00b
    • *
    • Innlegg: 20
    • Karma: +0/-0
    • Innlegg: 1.456
      • Vis profil
      • E-post
    Sv: DocPlugin funker ikke
    « Svar #7 på: 06. Mars 2012, 18:20 pm »
  • [applaud]0
  • [smite]0
  • Jeg mener at jeg ikke er flink til sånne data greier


    Tja, hva skal jeg si?