IceBox
Intro
Since this was my first mod I wanted to start out with something "basic" and build upon it. I noticed that there was a plugin called IceCrafter that allowed you to make Ice via the crafting screen. I realized that it was last updated in December, so I got to work. This plugin is however not a copy or a fork. I completly wrote this from scratch and plan to add more features as I progress.
Demo
Here is how this works. Simply paste the .jar file inside your plugins folder, the run minecraft. It really is that simple. Then follow the following crafting recipe to get your ice block.
Permissions
- icebox.craft
- Allows the player/group to craft the ice block.
- icebox.harvest
- Allows the player/group to harvest an ice block.
- icebox.enchantment
- The player must have this if you use an enchantment switch.
Configuration File (default)
Config: enable_permissions: true harvest_tool: WOOD_PICKAXE ignore_harvest_tool: true ignore_silk_touch: true quantity: 4 Crafting: 1[x][ ][ ]: SNOW_BALL 2[x][ ][ ]: SNOW_BALL 3[x][ ][ ]: SNOW_BALL 1[ ][x][ ]: SNOW_BALL 2[ ][x][ ]: WATER_BUCKET 3[ ][x][ ]: SNOW_BALL 1[ ][ ][x]: SNOW_BALL 2[ ][ ][x]: SNOW_BALL 3[ ][ ][x]: SNOW_BALL Messages: no-permission: You are not allowed to freeze dihydrogen monoxide! world_Ice_Block: Suddenly the heat gained was higher than 3.14x10^6, therefore the ice is gone.
Features
- Allows Air in crafting recipe.
- Easy to use recipe
- Permissions Support
- Change quantity of block
- Returns an empty bucket
- Harvest ice from ponds and ice patches
- Allow/Disallow Water in Nether, The_end, and Normal worlds via ice blocks
- Allow harvesting based upon Enchantments such as Silk_touch
Future Features
- Make the furnace a freezer if ice is in it
- Melt all ice from X distance of player.
- Customizable dialogs.
Customize the recipe via config file, and possibly GUI also.Add ability to harvest ice from ponds.Permissions support.Change how many blocks are crafted.Allow the return of an empty bucket, thus saving cost.
Changelog
Version 2 (Current)
- Cleaned up the source and made it more optimized
- Updated to CraftBukkit-1.5.1-R0.2
Version 1.5r
- Source completly re-written.
- Made the plugin hook into enchantments.
- Allow air in the ice recipe.
Version 1.2r
- Fixed an issue not allowing any other block drops... Oops. My bad on that one.
Version 1.1r
- Ability to Harvest ice from ponds and ice patches
- Allow or disallow water in Nether via transporting Ice and braking it.
Version 1r
- Ability to change amount of crafted blocks. Default is four.
Version 0.3a
- Config File
Version 0.2a
- Permissions
Version 0.1a
- Release
@Carambaz
It's currently being approved by the staff. Everything should be fixed.
@Carambaz
Well I realize I'm a bit late, but I'm going to work on this now. Been a little busy in the military lately. :/
if i change the settings from:
"
# disable_ice_in_end: true
# disable_ice_in_nether: true
"
to :
"
# disable_ice_in_end: false
# disable_ice_in_nether: false
"
it doesn't seem to matter. even if i put it behind
"
Config:
"
even if uncommented... (without "#") It just rewrites the file to its default values and resets all my self made changes.(when plugin reloaded or server starts) I'm running a server with 1.5.2 craftbukkit though. Is this a bug to the plugin? i downloaded and installed the v2.0 of the plugin. I want nether ice to melt to water again and not to evaporate... help appreciated! the recipe to make ice works fine though *shrug*
hope this plugin make the sever fun :)
This plugin is cool.
@gdominik100
kinda late, but what doesn't work?
Please update for 1.4.6!
@Junrall
yup... Microsoft Visio 2010
Love the flow chart! Did you use software for that?
OK, I'm at school right now so I can't upload the latest jar, but whats to come?
@ryvix
ok it didn't post my comment from before... well I redid the plugin now and here is the file. It currently will require that the player, even ops and admins, have the enchanted pick. I do plan to change that today.
here is the IceBox v1.3 (unapproved).jar Just remember for sure by the 19th to look in your PM for the release version.
This looks neat. What about an option to only be able to harvest them with a silk touch pick?
@NightFIy
wow... that was kinda simple... but I had tested it for about 10 minutes and had a person who works with java programing look at it too and we both saw nothing wrong... that was cause I removed an "else" statement that was meant for a test that it forgot about. Then I wasn't getting any drops for 10 min because I was in gamemode... :(
Anyways change is that I removed this folowing code from the listener.java file:
Here is the
un-approvedupdate.@NightFIy
ok thanks I'll look into it right now...
Without adding any permissions, just adding your plugin makes it so every block, when destroyed, doesn't drop items and just turns to water.
OK I see this has 24 downloads -1 (for me). I'd like to get more comments back about whether you like it, have suggestion, or general complaints.
@GamersCorp
Thanks! Don't forget to check back often this weekend. I am planing many new features.
Very helpful!