tgm icon indicating copy to clipboard operation
tgm copied to clipboard

Item Randomizer

Open BennyDoesStuff opened this issue 5 years ago • 0 comments

Describe the feature you'd like Randomize and auto-fill chests/barrels/shulker boxes throughout the whole map. Below I'm only going to mention chests, but this should be a feature that mapmakers can use for barrels and other blocks that are able to store items. There should be a spot in the JSON to define what type of blocks should be filled.

When the match first starts, the loot in the chest should be randomized from a list of items defined in the JSON. The mapmaker should be allowed to choose how many items are put into each chest (one number or a range of numbers). If the map maker doesn't define what chests to fill up, it should automatically fill up all chests on the map.

There should then also be a feature to automatically refill the chest after a certain amount of time passes by. If this isn't included in the JSON, it should by default not refill any chests after a certain time period. The mapmaker should have the option to choose how many times to refill the chests, the duration until the chests are refilled, and if any messages are broadcasted or if any commands run.

Usefulness of the feature This would technically make it possible to create and add Skywars and Hunger Games maps to TGM. This is also a feature that could be used in other gamemodes.

BennyDoesStuff avatar Nov 29 '19 07:11 BennyDoesStuff