Printing Press
Printing Press
Create a printing press with blocks!
Check out the links above for downloads, images, and the sections below on usage!
Video
Printing Press Features
To create a printing press
- Place an iron block
- Two blocks above it, place a piston facing down.
Printing a book
- Place the written book you want to copy in the first slot of your inventory.
- Put the required item(s) in your inventory, (by default this is one ink sack).
- Left click the printing press with a normal book.
Clearing a book
- Put the book you want to clear as the item in your hand (can be a written or enchanted book)
- Put the required item(s) in your inventory, (by default this is three bone meal).
- Left click the printing press with the book.
- Option to disable the press on land the player does not have access to (for both Factions and WorldGuard).
Permissions
Click here for a full list of permissions
- Normal use
- Bypass Author
- Clearing use
- Free use
Configuration
This plugin very customizable, ranging from languages to changing the materials used in printing. Click here to learn more.
Github Source Code
No Commands
Changelog
New in 1.2:
- Language russian added.
- Added an option to disable the press in faction land the player does not have access to.
- Added an option to disable the press in world guarded land the player does not have access to.
- Completely redid the language system, making it much easier to add new languages and support more characters such as cyrillic, which was necessary when adding Russian.
Have any suggestions? Leave a comment below.
Does this work with 1.6.2?
@LordKainzo https://github.com/Cowboys1919/Printing-Press/blob/master/src/com/cowboys/printingpress/EventListener.java
Basically, all I'm checking here is if you clicked an iron block, then if you left clicked it, then if the block two blocks above it is a piston.
Then I check if it is on faction / worldguard land
Then I basically just run all the other fancy stuff.
The only other event is BlockPlace, which just checks to see if you made a "press" then alerts the player if you did.
@Shad0wSpl1c3r
Basically no processing is going on when someone is not printing a book. It's not that heavy although I've added quite a lot of features.
In general, I should really work on updating this. It's the nicest bukkit project I've made.
@LordKainzo
I'm interested in this too. I haven't noticed any change in TPS or TPC; and I have quite a server load. I think it's pretty efficient, even though it seems heavy.
I'm concerned about the footprint this may have on a server.
When in not in use - what kind of events does it listen to? Trying to keep a lightweight server and already at 50 plugins =/
@patalkok
Ok uploaded, although I'm not sure why the older one wouldn't work with 1.4.7R1.0, I didn't have to make any code changes to add compatibility.
Didnt even notice the new build out, ill upload a working version tommarow sometime.
not work with 1.4.7R1.0 please update :s
@MrKorvic
Not a bad idea,
Also, I don't think i'll be adding the permissions because it is taking away from the lightweight feel that the plugin was supposed to provide.
This is just an idea I had. I think it would be neat if someone could, rather than put an iron block, put an anvil in it's place. This would make it so that each use would damage the anvil slightly until poof, it's broken. The data values for the broken-ness is already there. I'm using the printing press as only needing one ink sack, no hunger. This would be a nice alternative, possibly set in the config. (I'm not sure if using an anvil block in the config will cause damage to the anvil itself over time.)
Just an idea. ^_^
@94miner
Meh I'm saving through restarts in the next version may as well do it all at once.
@94miner
Not a bad idea, I'll probably have something for this by this weekend. These permissions that players give other players won't last through restarts. Maybe i'll add an option to save after that though.
Can you add a permission node that will allow a player to give permission to copy an individual book and all books they create?
I.E.
print.all
print.player.all
print.player.book
Version 1.2 uploaded! Waiting for approval. Check out the changelog!
By the way, everyone talking about features should just make a ticket for it.
@michiaru
I was thinking about something like this myself. Do you think it'd be better for maybe the chest to go beside the iron block, as it would look nicer?
Hey! Installed and loving this! I used to use "book press" which does the same but its a bit harder. (gotta toss the stuff on the iron block.) but i prefer this cuz its way easier :)
just wanna suggest something i think you'll think is cool.
the option to add a chest above the piston to store the ingredients (Books and ink sacs)
So all u have to do is right-click the iron block with the written book in you hot bar slot and leave, come back later with another book, and do it again. without making sure u have the stuff in your inventory.
Printing Press 1.1.1 uploaded, just waiting for approval! It will include French and German, as well as the permission printingpress.bypassauthor!
@patalkok
Map copy, that's a great idea. Thanks! I'm a little busy this week so hopefully I will add that this weekend.
I will also add a permission to bypass having to be the author.
As for the translation, awesome, I will check a friend that knows french to make sure it is all good, then add it in the next update.
@Coldazz
A friend has already done German and it will be in the next update :)