Plugin not loading :(

Discussion in 'Plugin Development' started by lrdemolition, Apr 16, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    lrdemolition

    Hello, so its my first time creating a plugin with a simple command and i think I'm having problems in the yml because its not loading :(, any help would be appreciated, thank you. Fixing my yml and showing what the problems were would be appreciated also.
    INFO
    my package name is me.lrdemolition.youtube
    my main class is Sample


    THE LOG:
    Code:
    16.04 13:34:16 [Server] Startup Done (0.977s)! For help, type "help" or "?"
    16.04 13:34:16 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
    16.04 13:34:16 [Server] INFO Preparing start region for level 2 (Seed: 1733096907000420159)
    16.04 13:34:16 [Multicraft] Skipped 98 lines due to rate limit (30/s)
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:159) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO ^
    16.04 13:34:15 [Server] INFO version: 1.4.1
    16.04 13:34:15 [Server] INFO Caused by: org.yaml.snakeyaml.scanner.ScannerException: null; mapping values are not allowed here;  in 'reader', line 2, column 9:
    16.04 13:34:15 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:440) [spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:135) [spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugins(CraftServer.java:355) [spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:160) ~[spigot.jar:git-Spigot-1371]
    16.04 13:34:15 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
    16.04 13:34:15 [Server] ERROR Could not load 'plugins/Sample.jar' in folder 'plugins'
    16.04 13:34:15 [Server] INFO Starting Minecraft server on 72.46.153.130:25665
    16.04 13:34:15 [Server] INFO Generating keypair
    16.04 13:34:15 [Server] INFO Server Ping Player Sample Count: 12
    16.04 13:34:15 [Server] INFO Using 4 threads for Netty based IO
    16.04 13:34:15 [Server] INFO This server is running CraftBukkit version git-Spigot-1371 (MC: 1.7.5) (Implementing API version 1.7.5-R0.1-SNAPSHOT)
    16.04 13:34:14 [Server] INFO Default game type: SURVIVAL
    16.04 13:34:14 [Server] INFO Loading properties
    16.04 13:34:14 [Server] INFO Starting minecraft server version 1.7.5
    16.04 13:34:10 [Server] INFO Loading libraries, please wait...
    16.04 13:34:10 [Server] INFO Please see http://www.spigotmc.org/wiki/changing-permgen-size/ for more details and more in-depth instructions.
    16.04 13:34:10 [Server] INFO Warning, your max perm gen size is not set or less than 128mb. It is recommended you restart Java with the following argument: -XX:MaxPermSize=128M
    16.04 13:34:10 [Multicraft] Loaded config for "Spigot"
    16.04 13:34:10 [Multicraft] Starting server!
    16.04 13:34:10 [Multicraft] Loading server properties
    16.04 13:34:10 [Multicraft] Server stopped
    16.04 13:34:10 [Multicraft] Server shut down
    16.04 13:34:09 [Server] INFO Saving chunks for level 'plugintesting'/Overworld
    16.04 13:34:09 [Server] INFO Saving worlds
    16.04 13:34:09 [Server] INFO Saving players
    16.04 13:34:09 [Server] INFO Stopping server
    16.04 13:34:09 [Server] INFO Saving chunks for level 'plugintesting_the_end'/The End
    16.04 13:34:09 [Server] INFO Saving chunks for level 'plugintesting_nether'/Nether
    16.04 13:34:09 [Server] INFO Saving chunks for level 'plugintesting'/Overworld
    16.04 13:34:09 [Server] INFO Saving worlds
    16.04 13:34:09 [Server] INFO Saving players
    16.04 13:34:09 [Server] INFO Stopping server
    16.04 13:34:09 [Server] INFO CONSOLE: Stopping the server..
    16.04 13:34:09 [Server] INFO CONSOLE: Save complete.
    16.04 13:34:09 [Server] INFO CONSOLE: Forcing save..
    16.04 13:34:09 [Multicraft] Stopping server!
    THE YML:
    Code:
    name: Inferno
    version: 1.4.1
    description: This plugin is so i can test
    author: lrdemolition
    main: me.lrdemolition.youtube.Sample
    database: false
    commands:
      democraft:
        description: is awesome.
        usage: Syntax error! Simply type /democraft to awsumize yourself.
     
  2. Offline

    TnT

    Locked. Since you have chosen to not use our software, you also chose to seek help for that software elsewhere. This is not a generic "Help with everything to do with Minecraft" forum.
     
Thread Status:
Not open for further replies.

Share This Page