OC: Energy Meter 0.2.0
Curse Maven Snippet
What's new
0.2.0
- License changed to MIT.
- New OpenComputers callbacks on the
energy_metercomponent:getOwner()returns the name of the player who placed the meter, ornilfor meters placed before owners were recorded.getCustomer()returns the customer account name.resetSession()resets the session counter. The lifetime total is never reset. Returnstrue, orfalseand a reason when disabled.
- New Customer field in the meter GUI. Only the owner or a server operator can set it; computers can only read it. Changes are written to the server log.
- New config file
config/ocem-common.tomlwithallowOcReset(defaulttrue). getRate()is now documented as FE per tick.- The owner's name is saved with the meter. Meters placed before 0.2.0 get it when the server can look up the owner.
0.1.8
- In-line FE meter, two blocks tall, with a live LCD showing the flow (FE per tick) and the lifetime total.
- GUI for the owner and server operators with the flow, lifetime total, session counter, buffer and a session reset button.
- Only the owner or a server operator can dismantle the meter, with the Meter Wrench or a Create Wrench. Mining, explosions and pistons do not remove it.
- Optional OpenComputers: Rebooted component
energy_meterwithgetRate,getTotal,getSessionandgetBuffer.
This mod has no additional files