Giter VIP home page Giter VIP logo

chestrestock's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chestrestock's Issues

plugin loads before multiverse core

The Result is it sais the world do not exists.
Would be nice to have a little solution or fix here..

Finally the good thing after Multiverse is loaded the chests are working fine.

[06:00:56] [Server thread/INFO]: [ChestRestock] Enabling ChestRestock vmaven-version-number*
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!
[06:00:56] [Server thread/WARN]: [ChestRestock] The world 'testwelt' is not loaded!


[06:01:08] [Server thread/INFO]: [Multiverse-Core] Enabling Multiverse-Core v4.2.3-SNAPSHOT-b822
[06:01:08] [Server thread/WARN]: [Multiverse-Core] "Multiverse-Core v4.2.3-SNAPSHOT-b822" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--].
[06:01:08] [Server thread/INFO]: [Multiverse-Core] We are aware of the warning about the deprecated event. There is no alternative that allows us to do what we need to do and performance impact is negligible. It is safe to ignore.

[06:01:10] [Server thread/INFO]: [Multiverse-Core] 9 - World(s) loaded.
[06:01:10] [Server thread/INFO]: [Multiverse-Core] Version 4.2.3-SNAPSHOT-b822 (API v24) Enabled - By dumptruckman, Rigby, fernferret, lithium3141 and main--

ItemMeta improperly json encoded.

Only tested with fireworks so far, and they simply disappear from the chest when restocked. The problem is with the serialized metadata. it's stored like this:

{"0":{"is":{"type":"FIREWORK_CHARGE","amount":10,"meta":{"meta-type":"FIREWORK_EFFECT","firework-effect":FireworkEffect:{flicker=false, trail=false, colors=[Color:[rgb0xD88198]], fade-colors=[], type=BALL}}}}}

as you can see the metadata is far from valid json. I poked around your code a bit but haven't come up with an easy fix. I'll dig further and try to provide a pull request.

can't open chests

Hello there, I have just came across your plugin, and I appear to have found an issue (I think)

after I fill a chest with items, do /cr create etc etc, I can not open the chest - so I can not take items out of it. do you know why this is, or would you need more details on the issue?

Meta data and lores do not stay

I currently use a plugin to add extra enchans by modifying the lore and also other items with special names and descriptions however it does not stay held

Cannot copy null stack.

Getting this error when I use /cr create on a new chest.

org.bukkit.command.CommandException: Unhandled exception executing command 'cr' in plugin ChestRestock v2.3.1-SNAPSHOT-bUNKNOWN
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:547)
at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:991)
at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:909)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853)
at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:585)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:481)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:416)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.IllegalArgumentException: Cannot copy null stack
at org.apache.commons.lang.Validate.notNull(Validate.java:203)
at org.bukkit.inventory.ItemStack.(ItemStack.java:120)
at com.dumptruckman.chestrestock.DefaultCRChest.update(DefaultCRChest.java:113)
at com.dumptruckman.chestrestock.DefaultChestManager.createChest(DefaultChestManager.java:205)
at com.dumptruckman.chestrestock.command.CreateCommand.runCommand(CreateCommand.java:33)
at com.dumptruckman.chestrestock.command.TargetedChestRestockCommand.runCommand(TargetedChestRestockCommand.java:36)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.checkAndRunCommand(CommandHandler.java:234)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.processFoundCommands(CommandHandler.java:120)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:70)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:48)
at com.dumptruckman.chestrestock.pluginbase.plugin.AbstractBukkitPlugin.onCommand(AbstractBukkitPlugin.java:141)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

./cr reload nearly crashes the server each time its used dropping the tps to 0.

Paper 1.12.2

When I use /cr reload it nearly crashes the server with;

2021-01-23 15:54:39 | [ERROR] --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
2021-01-23 15:54:39 | [ERROR] The server has not responded for 10 seconds! Creating thread dump
2021-01-23 15:54:39 | [ERROR] ------------------------------
2021-01-23 15:54:39 | [ERROR] Server thread dump (Look for plugins here before reporting to Paper!):
2021-01-23 15:54:39 | [ERROR] ------------------------------
2021-01-23 15:54:39 | [ERROR] Current Thread: Server thread
2021-01-23 15:54:39 | [ERROR] PID: 20 | Suspended: false | Native: false | State: RUNNABLE
2021-01-23 15:54:39 | [ERROR] Stack:
2021-01-23 15:54:39 | [ERROR] [email protected]/java.util.HashMap.resize(HashMap.java:730)
2021-01-23 15:54:39 | [ERROR] [email protected]/java.util.HashMap.putVal(HashMap.java:658)
2021-01-23 15:54:39 | [ERROR] [email protected]/java.util.HashMap.put(HashMap.java:607)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.configuration.MemorySection.mapChildrenValues(MemorySection.java:745)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.configuration.MemorySection.getValues(MemorySection.java:101)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.configuration.file.YamlRepresenter$RepresentConfigurationSection.representData(YamlRepresenter.java:23)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.representer.BaseRepresenter.representMapping(BaseRepresenter.java:156)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.representer.SafeRepresenter$RepresentMap.representData(SafeRepresenter.java:314)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.representer.BaseRepresenter.representData(BaseRepresenter.java:94)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.representer.BaseRepresenter.represent(BaseRepresenter.java:64)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:306)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:270)
2021-01-23 15:54:39 | [ERROR] app//org.yaml.snakeyaml.Yaml.dump(Yaml.java:245)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:68)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.pluginbase.config.CommentedYamlConfiguration.save(CommentedYamlConfiguration.java:63)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.pluginbase.config.AbstractYamlConfig.save(AbstractYamlConfig.java:250)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.DefaultCRChest.<init>(DefaultCRChest.java:47)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.DefaultChestManager.loadChest(DefaultChestManager.java:250)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.DefaultChestManager.cacheChests(DefaultChestManager.java:89)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.DefaultChestManager.cacheAllChests(DefaultChestManager.java:70)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.DefaultChestManager.initPolling(DefaultChestManager.java:58)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.DefaultChestManager.<init>(DefaultChestManager.java:49)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.ChestRestockPlugin.getChestManager(ChestRestockPlugin.java:178)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.ChestRestockListener.getChestManager(ChestRestockListener.java:43)
2021-01-23 15:54:39 | [ERROR] com.dumptruckman.chestrestock.ChestRestockListener.redstonePower(ChestRestockListener.java:60)
2021-01-23 15:54:39 | [ERROR] com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor266.execute(Unknown Source)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70)
2021-01-23 15:54:39 | [ERROR] app//co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513)
2021-01-23 15:54:39 | [ERROR] app//org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callRedstoneChange(CraftEventFactory.java:892)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.BlockDiodeAbstract.b(BlockDiodeAbstract.java:48)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.WorldServer.a(WorldServer.java:793)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:324)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:905)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
2021-01-23 15:54:39 | [ERROR] app//net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
2021-01-23 15:54:39 | [ERROR] [email protected]/java.lang.Thread.run(Thread.java:834)
2021-01-23 15:54:39 | [ERROR] ------------------------------
2021-01-23 15:54:39 | [ERROR] --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
2021-01-23 15:54:39 | [ERROR] ------------------------------

Autocreating chests in Nether / The End create empty chests.

Hello! I was going to use the pluging to make per-player loot on out Nether and End dimensions, however, it seems that the plugin only saves these loot chests in their "not yet generated" states, i.e., empty. If I disable ChestRestock and open them normally, the loot is generated, which is cool and all - but it's a lot of work to go find all the chests and generate the chest contents before being able to enable ChestRestock in those worlds.

One solution I thought would be to use Loot tables for Nether/The End, but before I start writing my own I was going to ask if you possibly have the vanilla MC loot tables ready in ChestRestock-readable format? (Which really would be the optimal solution as this would allow me to randomize loot per player).

Thank you for the great plugin!

1.13 Errors

You may be working on this already, but just in case it's useful, this is the error I'm getting on a 1.13 test server: https://pastebin.com/Umcmezqu

The plugin seems to load without issue, but creating a chest results in "An internal error occurred". However, it still seems to register the chest since I'm able to directly start setting options (set period, etc.). But then items disappear from the chest when opening for the first time after creation and /cr restock has no effect. No other errors are printed in console and items don't appear to be "ghost" items -- breaking the chest doesn't drop anything and clicking on the spaces where items were is just clicking on air. Really love this plugin and hope it lives on! Thanks!

Error

Errors with enchanted stuffs in a chest

08:06:17 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'cr' in plugin ChestRestock v2.3.1-SNAPSHOT-b99
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:540)
at net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.java:995)
at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:911)
at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:855)
at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:115)
at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:585)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:481)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:416)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.IllegalArgumentException: Cannot copy null stack
at org.apache.commons.lang.Validate.notNull(Validate.java:203)
at org.bukkit.inventory.ItemStack.(ItemStack.java:120)
at com.dumptruckman.chestrestock.DefaultCRChest.update(DefaultCRChest.java:113)
at com.dumptruckman.chestrestock.DefaultChestManager.createChest(DefaultChestManager.java:205)
at com.dumptruckman.chestrestock.command.CreateCommand.runCommand(CreateCommand.java:33)
at com.dumptruckman.chestrestock.command.TargetedChestRestockCommand.runCommand(TargetedChestRestockCommand.java:36)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.checkAndRunCommand(CommandHandler.java:234)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.processFoundCommands(CommandHandler.java:120)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:70)
at com.dumptruckman.chestrestock.pluginbase.util.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:48)
at com.dumptruckman.chestrestock.pluginbase.plugin.AbstractBukkitPlugin.onCommand(AbstractBukkitPlugin.java:141)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

modded nbt tags

Hey,

is it possible to add for example by flansmod the addons on weapons?
it is possible in commandblocks with these codes: /setblock ~ ~1 ~ chest 1 replace {Items:[{id:4290,Count:1,Slot:0,tag:{attachments:{ barrel:{id:4266},

But how do i add it to the config of chestrestock? i tried these things:

type: FLANSMOD_M16A4
meta:
==: ItemMeta
meta-type: UNSPECIFIC
attachments:
barrel:4266
scope:4265
grip:4264

Chest Restock Causing Much lag on the server

Hi, I have the plugin chest restock on my maze runner minecraft server. Ive had the plugin since about december 2015. I recently noticed an unbearable amount of lag in the server, and my host mcprohosting says the lag comes from tab message and chest restock. We have removed tab message, and now we still have an insane amount of lag. Mcprohosting said the lag comes from chest restock, because it is old and optimized for 1.9.4. Any chance someone could update the plugin? Or maybe make a newer version entirely? Thanks in advance.

When using /cr set <anything> you need to break the chest and re-place it for it to work.

Ahoy!

Very, very long term user here, never reported this bug.

Paper 1.12.2 is what im using still.

When you do anything that relates to /cr set, the only way for it to "activate" is to quickly remove the chest and replace it, and if its a loot table re-run the command for the loot table.

What is weird, is if you /cr set something then /cr check, it shows the changes, so it knows its been changed.

Quick example, changing the period a chest refills, set it to 5 seconds and it will still use the defaults, until you do the process above.

Not compatible with 1.12

Will there be a 1.12 update for this plugin?
It's great and I would hate to have to find a replacement!

Console spam

2012-06-24 04:57:11 [SEVERE] Could not pass event BlockDamageEvent to ChestRestock
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(CraftEventFactory.java:213)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:141)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:537)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.IllegalArgumentException: The permission chestrestock.break.* is already defined!
at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:560)
at com.dumptruckman.chestrestock.pluginbase.permission.Perm.getPermission(Perm.java:121)
at com.dumptruckman.chestrestock.pluginbase.permission.Perm.hasPermission(Perm.java:100)
at com.dumptruckman.chestrestock.ChestRestockListener.chestBreak(ChestRestockListener.java:244)
at com.dumptruckman.chestrestock.ChestRestockListener.blockDamage(ChestRestockListener.java:212)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 12 more

no noticeable effects other than console spam.

Running CB 1.2.5-R4.0-b2222

[request] Setting a config per chest

Hello!
I just found this plugin and am using it in my survival! I have it generate items for loot hidden around my survival world.

What I would like is to have one or two special chests that broadcast messages, that have their own settings independent of those extra chests in the world. So then we could have an event that triggers at X amount of time that people all storm to an area to raid it!

Permission to Publish Derivative Work on Spigot?

Hey there,

I was recently commissioned to update this plugin to support post-1.13 versions of Minecraft. Once this is done, is it all right with you if I publish it so other people may use it? I will abide by the stipulations of the license and provide a link to your plugin page on Bukkit if you want that.

Thank you,
rm2023

Chest Restock Loot_table

Okay, this plugin is fantastic and all, but I know these aren't very technical debugging questions. It would be really nice to see a more detailed explination of how to use the loot_table. The yml files do not have enough information and the in-game commands have no detailed response aside from "it's a word".

I have gone into loot_tables.yml and added a whole list of items set up EXACTLY like the example_table.yml. I took the loot_tables.yml and placed it in the FOLDER loot_tables. Now in-game I chose to do /cr set loot_table loot_tables.yml or loot_tables or skywars (the "justaname" of the example file).

In the debugging stage, it shows this message:

[WARNING] [ChestRestock] Could not locate loot table: skywars

I know i'll probably not get a response, but this seemed like a simple way of contacting dumptruckman and I really hope that you can provide a much more detailed guide on how to do this.

I apologize that this is not a coding issue and I thank you for your time,

Brendan.

Error while executing /cr restockall AND /cr restock

Error log for /cr restock
6:05:54 PM CONSOLE: [INFO] David1544 issued server command: /cr restock
6:05:54 PM ChestRestock-Debug: Got cached chest at 1695_65_-262_ZombieSurvival
6:05:54 PM ChestRestock-Debug: Got cached table!
6:05:54 PM ChestRestock-Debug: Got cached table!

Error log for /cr restockall
6:06:46 PM CONSOLE: [INFO] David1544 issued server command: /cr restockall
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM ChestRestock-Debug: Got cached table!
6:06:46 PM CONSOLE: [SEVERE] null
6:06:46 PM CONSOLE: exception executing command 'cr' in plugin ChestRestock v2.3.1-SNAPSHOT-b101

Loot table (random loot)

I don't seem to find a video tutorial or a good wiki post that can help me with setting up random loot using loot_table, if you would please make a video tutorial or PM me your Skype so that I could get to know how to use this feature

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.