Filled AutoOreSmelter

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

  1. Offline

    paul988

    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

    paul988

    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.
    Code:
    [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 org.bukkit.plugin.java.JavaPlugin.saveResource(JavaPlugin.java:150) ~[spigot.jar:git-Spigot-1200]
        at org.bukkit.plugin.java.JavaPlugin.saveDefaultConfig(JavaPlugin.java:138) ~[spigot.jar:git-Spigot-1200]
        at code.AutoOreSmelter.SmelterMain.onEnable(SmelterMain.java:12) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:218) ~[spigot.jar:git-Spigot-1200]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) [spigot.jar:git-Spigot-1200]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:385) [spigot.jar:git-Spigot-1200]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:302) [spigot.jar:git-Spigot-1200]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:284) [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:348) [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:325) [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:281) [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:184) [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:430) [spigot.jar:git-Spigot-1200]
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1200]
    The xp bar dupe bug.
    [​IMG]
     

Share This Page