commands not working #168


  • New
  • Defect
Open
Assigned to _ForgeUser7076494
  • _ForgeUser8238690 created this issue Jan 12, 2012

    What is the problem?
    Typing in /hawk help gives me:
    "Type /hawk help <command> for more info on that command"
    Typing in any other command does not work and give me the exact same message above.

    What steps will reproduce the problem?
    1. See above.
    2.
    3.

    What version of HawkEye are you using (shown in console during start-up)?
    1.0.5b

    Show me any console errors and/or your start-up console message for HawkEye

    [HawkEye] Starting HawkEye 1.0.5b initiation process...
    2012-01-12 15:33:02 [SEVERE] Error occurred while enabling HawkEye v1.0.5b (Is it up to date?): while parsing a block mapping; expected <block end>, but found BlockMappingStart
    while parsing a block mapping
    in "<string>", line 1, column 1:
        general:
        ^
    expected <block end>, but found BlockMappingStart
    in "<string>", line 10, column 5:
            mysql:      #Place your MySQL se ...
            ^

        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:575)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:59)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
        at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:235)
        at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:131)
        at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:125)
        at uk.co.oliwali.HawkEye.util.Config.<init>(Config.java:52)
        at uk.co.oliwali.HawkEye.HawkEye.onEnable(HawkEye.java:88)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-12 15:33:02

    Show me your config.yml and/or your config.php (REMOVE YOUR PASSWORD)
    <?php
        $config = array(
            //Enter your MySQL database information
            //Do not change 'dbTable'
            "dbHost"  => "www.craftingcrafter.com&quot;,
            "dbDbase" => "crafting_minecraft",
            "dbUser"  => "crafting_server",
            "dbPass"  => "pwd",
            "dbTable" => "hawkeye",
            "dbPlayerTable" => "hawk_players",
            "dbWorldTable" => "hawk_worlds",

            //Set this to the password you want people to have to use to access the interface
            //Leave blank for no password
            "password" => "",

            //Default radius to search for if user supplies a location
            "radius" => 30,

            //Limit the maximum number of results that can be returned. Do not use quotes
            //Set to 0 for no limit
            "maxResults" => 0,

            //Language pack - default is english.php
            //You can create your own based off the english.php file,
            //then change the name below to your language file name
            "langFile" => "english.php",

            //Log queries to log.txt
            //Useful to keep track of who is querying what
            "logQueries" => true

            );
    ?>

    general:
            max-lines: 0         #Maximum number of lines in a single result - leave as 0 for no limit
            tool-block: 17       #Block to be used for the /dl tool
            log-item-drops-on-death: false       #When a player dies, log the items they drop
            cleanse-age: '0'       #Max-age of records in the database in the format '5w8d2h9m4s. Set to '0' to turn this feature off.
            delete-data-on-rollback: false        #Delete data from the database when it is rolled back
            log-ip-addresses: true        #Log IP addresses in join/quit events or not
            debug: false        #Turn this on if you are getting MySQL issues and then report the output
            max-radius: 0       #Maximum radius allowed in search and rollback commands
        mysql:      #Place your MySQL server details in here
            hawkeye-table: hawkeye
            port: 3306
            player-table: hawk_players
            username: crafting_server
            world-table: hawk_worlds
            hostname: www.craftingcrafter.com
            max-connections: 10         #Do not change unless you have 'too many connection' sql errors
            password: pwd
            database: crafting_minecraft
        block-filter:        #Blocks in this list will not be logged in block-break and block-place events
        - 33
        - 34
        command-filter:        #Place commands in this section to stop DataLog from logging them
        - /login
        - /restartsrv
        - /register
        log:         #Edit these values to false if you do not wish to log them
            lava-bucket: true
            other: true
            pvp-death: true
            block-fade: true
            chat: true
            quit: true
            sign-place: true
            lava-flow: true
            flint-steel: true
            button: true
            command: true
            block-form: true
            teleport: true
            lever: true
            item-drop: true
            water-bucket: true
            block-burn: true
            block-break: true
            leaf-decay: true
            water-flow: true
            join: true
            door-interact: true
            block-place: true
            open-container: true
            item-pickup: true
            explosion: true
            container-transaction: true
            mob-death: true
            other-death: true
        version: 1.0.0

    Have you checked the FAQ page?
    yes.

  • _ForgeUser8238690 added the tags Defect New Jan 12, 2012

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