EnergyCraft
EnergyCraft
Downloads:
Newest Version: 1.3.0 Beta | CB1.5.1-R0.1 Compatible!
EnergyCraft Reloaded by R_Shadowhand: Download Here
Description
Do you have tons of random things in your chests that are just taking up room?
This plugin solves that!
Now you can turn your useless cobblestone into diamonds with an "energy condenser".
Why Should I use it?
Although Equivalent Exchange has an Energy Condenser (not anymore), and is included in the tekkit pack, many people would prefer to be able to use such a feature without requiring client-side mods. This plugin will allow a server to have this feature, without any extra requirements, because it will only utilize vanilla blocks/graphics. While some people will flame this for directly copying EE, I disagree. EE requires client mods, whether single or multi-player. This plugin does not claim to be superior to EE, since many features are not implemented. It is simply an alternate that will work just fine in vanilla minecraft.
Features
- Use vanilla blocks to build a Equivalent Exchange-esque "Energy Condenser."
- Use EE's EMC values, or specify your own!
There will be a new video soon documenting all the newest features!
I've Got the Plugin. Now What?
Building The Condenser
Lets get started on building your first condenser!
There are four levels of condensers that can be built.
The higher the level, the less energy is lost through conversion (configurable)
The standard condenser recipe is:
Chest | Enchantment Table | Chest
Iron Block | Obsidian | Modifier Block
By default, here are the modifiers along with loss factors:
Level | Modifier | Loss % |
---|---|---|
1 | Gold Block | 35% |
2 | Emerald Block | 25% |
3 | Diamond Block | 10% |
4 | Beacon Block | 0% |
(Both the modifier block and % loss is fully configurable)
Using it
To set a target for the condenser, just right click the sign, or any part of the enchantment table!
Now, to get the condenser going, just dump anything you want into the INPUT (left) chest, and watch!
Please note, opening either IN or OUT chest requires the permission ec.use, or ownership over the condenser (see Permissions section)
Other Things
You can right click the sign/enchantment table while you're not holding anything to PAUSE/UNPAUSE the condenser. This change will be displayed on line 4 of the sign.
If you stop the server, all condensers will be saved to "condensers.sav", and loaded again upon server start. All EMC and items will be saved.
Left clicking the sign will reset the condenser, but only if you have the permission ec.reset
Condensing a damaged tool will only return a percent of it's total EMC.
(1 - (damage_value / max_damage)) * EMC_value
Setting a damaged tool as a target will create more tools with the same damage level. If you want to condense tools at full health, you must have one available to condense...
Commands
'/emc' will tell you the value of the item in your hand. This will return the FULL EMC value, so if your condenser has energy loss, the item will actually be worth less
'/ec reload' will reload the EMCConfig while the server is running. This allows for editing the config without stopping the server. All condensers and /emc will be updated the moment this command is run. This command requires the perm "ec.reload"
Permissions
Action | Owner | Needed Perm |
---|---|---|
Build | Doesn't Matter | "ec.build" |
Edit | Yes | none |
Edit | No | "ec.edit" |
Open | Yes | none |
Open | No | "ec.use" (see note) |
Break | Yes | "ec.build" |
Break | No | "ec.build" AND "ec.edit" |
Reset | Doesn't Matter | "ec.reset" |
/ec reload | n/a | "ec.reload" |
Get build/destroy messages | Doesn't Matter | "ec.broadcast" |
"Edit" means changing the target block, or pausing a condenser. Essentially, any right clicking the sign is an edit.
"Open" means accessing the I/O chests. This perm can be turned off in the config.
ec.use is unique in that you can give a user the ability to access any condenser with ec.use.* or specific condensers.
The perm format for a specific condenser is as follows: ec.use.[World]:[X]:[Y]:[Z]:[Orientation]
An example of a specific perm would be: ec.use.MyWorld:32:15:-135:2
To find the specific ID of a condenser, please check your condensers.sav file. The world, X, Y, and Z points are the location of the Iron block in the condenser. The orientation is a number 1-4, whose calculation is too difficult to explain. Please, just look in the sav file!
Configuration
The main config (config.yml) has the following options:
- check-interval: 1
- max-stack-condense: 4
- permission-to-use: false
- broadcast-messages: true
- level1: 41-35%
- level2: 133-25%
- level3: 57-10%
- level4: 138-0%
check-interval controls how often blocks in the INPUT chest will get condensed. 1 = once every .25 seconds. 2 = once every .5 seconds, etc... (Note, this is not exact because your server might lag or run slower/faster than it theoretically should)
max-stack-condense controls how many blocks are created at a time in the OUTPUT chest if there is extra EMC in the condenser.
permission-to-use turns ec.use on and off. When this is false, users do not need ec.use to access I/O
broadcast-messages Messages will only be broadcast to users with ec.broadcast. If this is false, no messages will be broadcast at all
levels The first number is the BlockID of the modifier block, and the second is the percent loss.
The EMC config (emcConfig.yml) has a option for every item ID.
- The values are stored as 'ID-DAMAGE_VALUE': EMC
- Some items are stored as 'ID-A':EMC - this means that regardless of the damage value, all items with that id will have the same EMC (like wool)
- Some are stored as 'ID-X':EMC - this means that this item can be damaged, and it's emc will be calculated as a percent of the given EMC, based on damage.
Notes
Source code will be available on my github
Plugin Idea by inventorman101, code by vsams14
My other plugins:
@Skpfreak
I could add an anchor, I'll think about it. Maybe next update. It's not a bug or a glitch, just something I never even considered...
vsams14
@eccentricnz
I'll fix this in the next update. Should be simple. It only happens because the EnergyCraft folder does not yet exist...
Thanks!
vsams14
nice plugin my friends and i use it on our server but i think i may have found a bug or a glitch of you leave the chunk you build the condenser in and let it unload then come back to it it brakes the condenser
Very nice plugin!
Big thanks!
Sorry the late answer - i did had the error with the latest build - but then i tried the 1.1.5 Beta and was ok. Quoting eccentricnz - i didnt tryed the 1st time to reboot the server again so idlk if was ok in the time:( I will try then upgrade the version so i see :)
BTW - Awsome plugin - i will let ppl make these machines in they plots :P Trully amazing - what to do to all that dirt? Convert them to stone xD thats a dream come true. Many thanks for this awsome plugin.
@vsams14
@Luzitano
I had a similar error to Luzitano when running the plugin for the first time. Looks like the plugin perhaps tries to reference the config file before it has actually created the EnergyCraft directory and config file for the first time, as after restarting the server the error went away.
@Tobias2289
Yeah, sorry that I was so aggressive about it as well. Just tired and upset about the right click bug...
vsams14
@vsams14
Sorry no it's not but I was thinking there are some people who are not use to certain blocks that might find it harder. Your right with your statement though. It's my nature to try to help anyone that might need it. lol. So my apologizes!
-Tobias2289
I agree with vsams cuz its not that hard to tell and they say the blocktypes and there's a still picture. Also i'm wondering when the release of the block update for the plugin is :) And for permissions some ideas would be creating the table, using the table, and the option to blacklist certain blocks you don't want players reproducing.
@emolga1
There currently are not any, They will likely be added in v2.0.0 along with all the other blocks!
vsams14
@Tobias2289
Is it that difficult to tell? The human vision cortex is capable of recognizing several millions of symbols and associating similar symbols, all without consciously thinking about it, plus considerably more that DO require a bit of thought...
vsams14
For future reference I would use the default texture pack to show how to build these types of things...
@Luzitano
Looks like EnergyCraft was unable to create the file... What version are you using, and why would the file have issue being created? I have never had any issue even slightly similar to this, so...
vsams14
07:09 PM [SEVERE] at java.io.WinNTFileSystem.createFileExclusively(Native Method) 07:09 PM [SEVERE] at java.io.File.createNewFile(Unknown Source) 07:09 PM [SEVERE] at com.github.vsams14.energycraft.Config.loadEMCConfig(Config.java:64) 07:09 PM [SEVERE] at com.github.vsams14.energycraft.Main.onEnable(Main.java:22) 07:09 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 07:09 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) 07:09 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 07:09 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) 07:09 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) 07:09 PM [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) 07:09 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 07:09 PM [SEVERE] java.io.FileNotFoundException: plugins\EnergyCraft\emcConfig.yml (O sistema não conseguiu localizar o caminho especificado) 07:09 PM [SEVERE] at java.io.FileInputStream.open(Native Method) 07:09 PM [SEVERE] at java.io.FileInputStream.<init>(Unknown Source) 07:09 PM [SEVERE] at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105) 07:09 PM [SEVERE] at com.github.vsams14.energycraft.Config.loadEMCConfig(Config.java:72) 07:09 PM [SEVERE] at com.github.vsams14.energycraft.Main.onEnable(Main.java:22) 07:09 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 07:09 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) 07:09 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 07:09 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) 07:09 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) 07:09 PM [SEVERE] at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) 07:09 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) 07:09 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) 07:09 PM [SEVERE] [EnergyCraft] condensers.sav could not be found! Make sure that this is not an error!
It's so AWESOME !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Lol nice plugin. I like how you implemented a feature of tekkit into this. Great job! I'll test this when I have the time.
This looks like a good plugin. I just have one question, what are the permission nodes?
@vsams14
Is audio quality for me or Torrent bad? We've been trying to sort the issue for a while and the way we get around it is both recording our own audio track and then syncing them up when editing. But I'll take your advice and give Audacity a go and see if that helps. :)
Cheers for the feedback, we don't get much so it's always good to have someone new look at out videos and give us pointers!
Now back on topic I'll take a look at the new version and if all the bugs are fixed then I'll do a video on it.
v1.1.6 fixes a bug where you could right click the sign if you were holding nothing, or an item (diamond, pickaxe, etc...), but not while holding blocks (iron block, diamond block, etc...)
Switches active control to left click. Don't worry, if you're in creative, this will not destroy the condenser, just give some pretty particle effects of the sign breaking and resetting...
This also means that you cannot break the condenser by destroying the sign/enchantment table anymore. Both safer, since signs break faster, and more annoying if you WANT to break the condenser.
Just realized that now you can left click the enchantment table to enchant stuff. This is only going to be in this patch because I forgot to remove it. It was not and will not be in any other versions.
Have fun!
vsams14
@Samkio
Looked at the channel. Love your voice, love the intro. Not loving the audio quality - Audacity Noise Removal is your best friend. Also, when you showcase, if you could use Sphax instead of vanilla textures, I would be very happy...
It also does not feel like there was very much post editing done...
Of course, you could completely ignore me, and that would be fine. These are just suggestions, and you should not be offended by them, especially seeing as you're probably quite a bit older than me!
vsams14