AlchemicalCauldron
Overview
AlchemicalCauldron is a plugin for bukkit which is used for converting items thrown into a cauldron into other items (e.g. dirt into iron ore).
Features
- Supports the transmutation of items when they come into contact with a cauldron
- Can define input and output materials
- Can define the statistical probabilities of how often items are transmuted
- More seamless item conversion (timers)
- Pop-out effect when items are converted
- Rudimentary collision detection
Permissions
Permission | Usage |
alchemicalcauldron.use | This controls whether or not a player can use cauldrons to transmute items. |
Usage
Simply run the plugin, in order to create the "config.yml".
Use the "config.yml" in order to adjust the item input/output ratios in order to suit your needs.
Reload the server in order to update the config.
Throw items towards a cauldron in order to convert them into other items.
Note: if items do not seem to be getting transmuted, try standing closer and ensure you are throwing items INTO the cauldron.
Ratios
- Items can be input through their name or their item ID
- Input item ratios (0.0-1.0) control how often an item is converted (e.g. 0.46 for dirt will convert it 46% of the time)
- Output item ratios use a slightly more complicated system, but in general the higher the number (0.0-1.0), the greater the chance of that item being created
Source
https://github.com/Indiv0/AlchemicalCauldron
Download
http://dev.bukkit.org/server-mods/alchemicalcauldron/files
Changelog
Version | Changes | Compatible Builds |
1.16.0 | Update for 1.7.2 | 1.7.2 |
1.12.0 | Cleanup/fix code & permissions | 1.6.4 |
Implement basic collision detection | 1.6.2 | |
1.11.1 | Fixed permissions being given by default | 1.5.2 R-1.0 |
Moved to Mbapi | ||
Various fixes | ||
Changed versioning scheme | ||
1.4.2 | Various fixes | 1.4.7 R-0.1 |
Forced Java 7 | ||
1.4 | Large code rewrites/optimizations | 1.4.2 R-0.2 |
Fixed config.yml versioning scheme | 1.3.2 R-3.0 | |
1.3.2 | Added permissions support | 1.4.2 R-0.2 |
1.3.2 R-3.0 | ||
1.3.1 | Fixed several bugs | 1.4.2 R-0.2 |
Added ability to configure item outputs individually | 1.3.2 R-3.0 | |
1.3 | Fixed Java 6 compatibility | 1.4.2 R-0.2 |
Fixed PluginMetrics implementation | 1.3.2 R-3.0 | |
1.2.1 | Built against Java 6u37 to ensure compatibility | 1.3.2 R-3.0 |
1.2 | Added ability to throw stacks of items into cauldron | 1.3.2 R-3.0 |
Fixed small error message spelling mistake | 1.3.2 R-2.0 | |
1.1 | Added timers in order to allow for more seamless item spawn/despawn | 1.3.2 R-2.0 |
Added PluginMetrics support | ||
1.0 | Added base functionality | 1.3.2 R-1.0 |
Added ratio support | ||
Added configuration file support/ratio storage |
Bugs/TODO
All bugs and TODO information can be found on the issue tracker for this project on GitHub.
@Ferrocane
Are you sure you configured the permissions correctly? Post your Permissions.yml and can you tell me which permissions system you're using?
Just tried this plugin, but people were able to use it regardless of permissions. Figured I'd let you know.
@RedAndBlueReDux
Thanks for the review!
Glad to hear it's working out for you.
Hope your server has fun with it :)
Great plugin, works perfectly. Would recommend to any server looking for a way to make their economy system more unique. We're using it so our players can convert any worthless items not found in the marketplace into coal/iron/gold.
@steinm18
Aha thanks!
I've implemented permissions. Just wait for 1.3.2 to be approved by the BukkitDev team. The permission itself is described on the page.
@Indivisible0 For ziz you shall get Eternal Supply of Cookiez my Friend. You just saved my Server kind of. Now i can start configurating , since all Plugin Stuff is Handled.
@steinm18
Sure thing! I'm a little busy right now but I should have it implemented by the weekend.
Id love to use this , but id really need a Permission , who is able to throw in Items and who is not.
@tomori_peti
I implemented the feature you requested via a ticket. Try it out and tell me if you like it :)
@tomori_peti
Great to hear, you're very welcome!
Thanks for help. It's works perfectly now. :D
@tomori_peti
Should be fixed in v1.2.1
Just wait for the upload to be approved by the mods.
@tomori_peti
Thank you for reporting this issue! For future reference, using the ticket system really helps me :)
According to reports on the web, it seems like this is due to the fact that you are running a version of Java prior to the one the plugin was built on.
I am a bit of a cutting-edge freak (at the time I believe my plugins were built on Java 7u9), but because several people have reported this problem I will build against Java 6u37 to ensure compatibility. I believe the bukkit team recommends Java 5, but I'll double check on that as it seems like it introduces vulnerabilities to go that far back.
I will be releasing an incremental update for all my plugins in order to fix this issue. Just to confirm my suspicions, could you please run the command "java -version" into the terminal ?
The plugin don't works for me. I use Linux.
Error: http://pastebin.com/iqchdDH9
Pls help.
@hoohoo4
I formatted your code a bit, and I get the general gist of it, but I think that it won't help much as the blocks could theoretically just come close to the cauldron and it would be considered collison.
@Call_me_Drew
Well theoretically you could put any value from 0 to 1. The precision is limited to two decimal places (0.01 is the lowest probability you can get, without putting 0).
So yes, if you put those two values, that would give you the lowest probability.
In that specific case, I believe the probability of converting a dirt block to an iron ingot would be at the most 0.01. This means that for every 100th dirt block, 1 iron ingot would be created. As the input ratio (in this case dirt) determines the chances of a CONVERSION occurring, that is why there is a 1% chance of the conversion occurring.
With output values however, you deal with WEIGHTED PROBABILITIES. This means that if you have two output items configured with the same WEIGHT (e.g. iron_ingot: 0.99, diamond_ore: 0.99), they have an EQUAL chance of being created. This means that while the probabilities for both are very high, given a truly random system (and no bugs like there currently are :3),then both items have a 50/50 chance of occurring.
If you were to add a third item into the mix, and have the values (iron_ingot: 0.6, diamond_ore: 0.6, dirt: 0.2), then you would, on average have a ratio of the items as being: 3:3:1. So for every 3 iron ingots and diamond ore, you would get 1 dirt block.
That is the way the system is intended to function, however because of a small bug it is not perfect, with some materials appearing more than they should be.
So if i wanted to make the chances virtually impossible i would do
inputs: '2': '0.01' cobblestone: '0.01' outputs: iron_ingot: '0.01'
In the config file?
@dankwow1
Sorry but that sorta defeats the purpose of the plugin.
While it's not a bad idea, this plugin isn't called AlchemicalCauldron for nothing :P
it would be nice if it opened like a chest and you put items in, and later opened it again to find the new items
@Indivisible0
Okay, sounds good! :)
@TerraVale
Yeah that feature is sorta working for 1.2, I'm still working on fixing it up. I've been a bit busy with other things as well as my other plugins (ChestEmpty is half broken XD), but when I have time I'll finish implementing that.