HypLoot
Features
- Define different items, each with different properties and spawn rates.
- Assign storage blocks on the server for spawning of items.
- Spawn loot at a random interval.
How It Works
First, you must configure all the items you want to spawn on your server, in the "loot.txt" file. You can create a new "loot.txt" file, or you can use the already configured file that is included in the download. If you use the downloaded "loot.txt", you can of course still add your own items at the end of the file.
When you have configured the Loot, you must create some LootTables. These are what you assign to the chests in your world, so that they can spawn random Loot. Open up "loottables.txt", and create some new LootTables, and add appropriate Loot to all of them.
After you have finished configuring the files, you can go ingame. Now use the "/lc set [LootTable]" command while looking at a chest, where "LootTable" is replaced with the name of one of the LootTables you created in "loottables.txt".
Now this chest should begin spawning random items!
The chests will update the items automatically, making sure that the chests never needs to be refilled manually. To confirm that everything is configured correctly and is working, use the command "/lc update" to update the chests once.
How It Works 2
There are four different components you need to know about to control loot spawning. LootItem: A LootItem contains an id, a HypItem, a spawn percentage and a minimum and maximum bound. LootTable: The LootTable is a container for different LootItems. It is there to group LootItems together. LootSupply: This is a block somewhere, which has an inventory. This is a place where LootItems can spawn. LootClass: Collection of LootTables and LootSupplies, and also holds an interval. This is what you use to control the spawning process.
Configuration
After the server has been started once with the plugin, it should create 4 files in the plugins folder. The files are config.yml, loot.txt, loottables.txt and lootchests.txt. The config.yml is pretty self-explanatory. Just open it and set the values you want.
To configure loot.txt, take a look at the following example:
loot.txt
Each line takes 9 arguments.
To configure loottables.txt, simply write a custom name for the LootTable at the beginning of the line, and then add in all the Loot names from loot.txt which you want this LootTable to contain. And yeah, remember that names are currently case sensitive.
loottables.txt
Do not touch lootchests.txt, this file is used to store LootChest locations by the plugin and will be written to automatically.
Commands
Installation
If you downloaded a .jar file, simply put the file into your "/Server/plugins/" folder.
If you downloaded a .zip file, open it with WinRar or a similar program, and drag the HypLoot.jar into your "/Server/plugins/" folder. The other files are optional pre-configured files you can use if you wish, else you can configure your own.
-
View User Profile
-
Send Message
Posted Aug 7, 2013@Torm_ Pls ask the author i think he will let you to take over his project as he allowed for TfT_02 . Good luck, and thanks.
-
View User Profile
-
Send Message
Posted Aug 7, 2013I can't just take it over without the former author's permission, but I can try to implement many of the same features since that plugin is inactive.
-
View User Profile
-
Send Message
Posted Aug 7, 2013I beg of you...
TAKE OVER RPGITEM!
This plugin is very similar, and I would love it if you could revive RPGItems. I wanted to add it to my faction server in the making (trying to make it unique) and it's a must-have...
Please...TAKE IT OVER!!
-
View User Profile
-
Send Message
Posted Aug 6, 2013I might, but if I were to do that, the author himself should probably contact me.
-
View User Profile
-
Send Message
Posted Aug 6, 2013Interfectore can you please take over the "RPGItems" plugin? The maintainer doesnt have enough time to run it and everyone really needs that plugin, its pretty similar to yours so I figured you might be able to take over!
Please please please take over it! Alot of the active users need it!
-
View User Profile
-
Send Message
Posted Aug 6, 2013A big big thanks if you can do that, it could be really awesome, like a RPG. Adventure, discover the world and find chest :).
-
View User Profile
-
Send Message
Posted Aug 6, 2013It might not be a bad idea, to have such a feature toggleable in the config. I'll see what I can do.
-
View User Profile
-
Send Message
Posted Aug 6, 2013Thanks. For the future is it possible to generate chest randomly in the world ? Naturally spawning of chest :).
Just like a hunger game.
-
View User Profile
-
Send Message
Posted Aug 5, 2013Config Files will from now on be included in the .zip files.
-
View User Profile
-
Send Message
Posted Aug 4, 2013I will! Just remember that the one I upload won't work on Ubuntu and similar, I used a long time to figure out why the plugin was not working just because of that.
-
View User Profile
-
Send Message
Posted Aug 4, 2013Can you upload your loot.txt it would make this soo much easier !