Filled AutoOreSmelter

Discussion in 'Archived: Plugin Requests' started by paul988, Feb 16, 2014.

  1. Offline


    Plugin category: MISC

    Suggested name: AutoOreSmelter

    What I want: I would want a plugin that smelts iron and gold ore upon mining them, I also would like it to detect if you have fortune. If you have fortune on your pickaxe it will drop more ingots just like coal, redstone, lapis, diamonds, emeralds.

    Ideas for commands: /autooresmelter reload (/aos reload)

    Ideas for permissions: autooresmelter.use, and autooresmelter.reload

    When I'd like it by:Dosn't really matter but would be nice to get it in the next few days.
  2. I like this idea I will totally use this plugin, for donators so they dont have to smelt, but make a config with xp amount setable so they can get xp that they would get from smelting without it.

    Ok cool! I love this plugin idea

    Ya, Although if possible i would like the config so i can make separate xp amounts for different donator ranks, if thats too much its fine but i would be great.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 6, 2016
  3. Offline


    T3h Cr33p3r

    Oh yea forgot to mention the config, add a option to enable or disable each of the ores. Like if you just want Iron you can disable the Gold one. And the autooresmelter.use is the permission needed to autosmelt it. If you would like to add those it would be fantastic.

    I just tried the one you made, works perfect but It would be much appretcated if you added the features above. Thanks in advance :)

    Edit: Just noticed you added aos.smelt to use it instead of autooresmelter.use, dosn't really matter but yea forget about the permission thing I wrote above and just do the config if you can. I also spotted a bug, after mining a few ores your xp bar gets duped and gets placed on the right side of the screen. It happends when your XP bar gets filled, instead of giving you a level it keeps giving you more XP. I'll put an image below the log. I'm also getting error in console about not finding the config.yml.

    Fixed the error by creating a empty config.yml, But the EXP bug is still there, and the exp amount that drops is way to high. Those are the only issues, other than that everything works perfect! :)

    Here is the log.
    [13:22:05] [Server thread/INFO]: [AutoOreSmelter] Enabling AutoOreSmelter v v v v v v v <ERROR>
    [13:22:05] [Server thread/ERROR]: Error occurred while enabling AutoOreSmelter v v v v v v v <ERROR> (Is it up to date?)
    java.lang.IllegalArgumentException: The embedded resource 'config.yml' cannot be found in plugins\autooresmelter.jar
        at ~[spigot.jar:git-Spigot-1200]
        at ~[spigot.jar:git-Spigot-1200]
        at code.AutoOreSmelter.SmelterMain.onEnable( ~[?:?]
        at ~[spigot.jar:git-Spigot-1200]
        at [spigot.jar:git-Spigot-1200]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin( [spigot.jar:git-Spigot-1200]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin( [spigot.jar:git-Spigot-1200]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins( [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.m( [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.g( [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.a( [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.DedicatedServer.init( [spigot.jar:git-Spigot-1200]
        at [spigot.jar:git-Spigot-1200]
        at [spigot.jar:git-Spigot-1200]
    The xp bar dupe bug.

Share This Page