Auto-Loot (An Auto Chest Plugin)

Discussion in 'Archived: Plugin Requests' started by Benjerji, Feb 9, 2013.

  1. Offline

    Benjerji

    Hi! I want a custom plugin for my server, its like a auto loot plugin! What I want it to do it, when you right click a chest, it will automatically put it in your inventory.
    Example!



    I just want something like that, I do want it customize-able with colors and such, and also want it to be enabled to a chest through config/in game command.
     
  2. Offline

    Deleted user

    i know theres a plugin to massively move stacks
    good luck with customization
     
  3. Offline

    Kingstarwest

    1. Download http://dev.bukkit.org/server-mods/skript/.
    2. Insert it into your plugins folder.
    3. Reload/Restart your server.
    4. Go into the skript folder.
    5. Go inside the scripts.
    6. Create a new file and call it whatever you want but add a .sk at the end e.g goldblock.sk.
    7. Paste this into it http://pastebin.com/F8RRLNW1.
    8. Save the file.
    9. Reload/Restart your server.
    10. ???. . . Profit.

    Should work :)
     
    GravedigginSearchBar likes this.
  4. Offline

    Benjerji

    What #10 supposed to mean?
     
  5. Offline

    McAvarice

    Hes saying #10 is it should work. when you rightclick a chest.
     
  6. Offline

    Benjerji

    It won't work, gives me a error and won't load server.

    Well it doesn't.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  7. Offline

    Kingstarwest

    It gives you a error? Could you please tell me the error and I'll fix it for you when I get back from school :)
     
  8. Offline

    Benjerji

    This is the annoying error.

    2013-02-18 10:05:14 [WARNING] [Skript] Task #71 for Skript v1.4.9 generated an exception
    java.lang.ExceptionInInitializerError
    at ch.njol.skript.classes.data.SkriptClasses$2.parse(SkriptClasses.java:98)
    at ch.njol.skript.classes.data.SkriptClasses$2.parse(SkriptClasses.java:1)
    at ch.njol.skript.lang.UnparsedLiteral.convert(UnparsedLiteral.java:119)
    at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:108)
    at ch.njol.skript.lang.UnparsedLiteral.getConvertedExpression(UnparsedLiteral.java:77)
    at ch.njol.skript.events.EvtClick.init(EvtClick.java:74)
    at ch.njol.skript.lang.SkriptParser.parseEvent(SkriptParser.java:388)
    at ch.njol.skript.lang.SkriptParser.parseEvent(SkriptParser.java:341)
    at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:478)
    at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:201)
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:181)
    at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:153)
    at ch.njol.skript.Skript$1.run(Skript.java:216)
    at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
    at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:530)
    at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
    at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
    at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    Caused by: java.lang.NullPointerException
    at ch.njol.skript.Aliases$1.onLanguageChange(Aliases.java:296)
    at ch.njol.skript.Language.addListener(Language.java:111)
    at ch.njol.skript.Aliases.<clinit>(Aliases.java:291)
    ... 20 more
     
  9. Offline

    nhadobas

    I would love to see this plugin also.
    BTW that skript would just give you a chest, not its contents. Nor would the chest refil, so it is pretty much a pointless skript.
     
  10. Offline

    Benjerji

    Well, thanks. That will remind me not to use it. :)
     
  11. Offline

    nhadobas

    Still would like to see this plugin made.
     
  12. Offline

    Benjerji

    I would too.
     
  13. Offline

    StyL_TwisT

    I suppose it wouldn't be too difficult, do you mean that when you right click a chest it will give you the contents and clear the chest?
     
  14. Offline

    Kingstarwest

    Wrong version of skript that's far far outdated.

    http://dev.bukkit.org/server-mods/skript/files/68-2-0-beta-7-jar-only/
     
  15. Offline

    nhadobas

    I think he also wants it to be a configurable time to reset the chest. Along with per player chest contents.

    EDIT: Kingstarwest Your script wouldnt work at all. All that script would do it give a player a chest block.

    Benjerji http://dev.bukkit.org/server-mods/phatloots/?page=21
    Found it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016

Share This Page