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.
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
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.
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
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
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.
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?
Wrong version of skript that's far far outdated. http://dev.bukkit.org/server-mods/skript/files/68-2-0-beta-7-jar-only/
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.