Any other tips? Maybe you could give tips on their uses?
There used to be a section on the wiki about that, but people removed it (well, they wanted all mention of the fact that books can have more than 50 pages and colored titles removed as well, so I'm not surprised ). I wrote a little more than half of it; I'll paste it here:
Things you can use books for
Logs of various things, such as mining or farming returns
A short story, which could be sold on SMP
A medium for private chat by passing a Book and Quill to others
A navigation book, recording directions and/or coordinates to follow. Note that rudimentary maps can be created in ASCII.
A reference of recipes, commands, or useful data values
A Minecraft roleplay "diary", e.g. "Steve's Diary" or "Creeper's Diary"
A practical guide, which would be usable in-game and thus remove the need to switch out of the Minecraft window.
I don't think I'll be adding this to the main topic, since this is the Maps Discussion section after all, and most of those ideas don't really apply to adventure maps
this is AWESOME i like this alot because im trying to make maps WITHOUT ANY MODS i only use one mod
but.. i use nbtedit it did nothing. i dont mind though.
let zombies rain down on annoying oranges
but thanks
this is AWESOME i like this alot because im trying to make maps WITHOUT ANY MODS i only use one mod
but.. i use nbtedit it did nothing. i dont mind though.
let zombies rain down on annoying oranges
but thanks
Are you sure the game wasn't running while you used NBTedit, and that you saved in NBTedit once you were done?
Also, which snapshot did you use, and what hack did you try?
I tried, and this still works in snapshot 12w19a. However, if you're using anything later than 12w17a, you have to follow the "server" instructions. In other words, find yourself in the "players" folder, and edit the inventory there.
I did a bit of experimenting, and it seems to work as long as the player in question (well, in my case, myself) is not logged in to the server/world at the time I am editing. This is because, when a player goes on a server (even singleplayer, which has been turned into a server in 12w18a and 12w19a), their file is loaded when they log in. Any changes made to it after logging in are not loaded, and when they log out, the server will save their data (overwriting any changes you made). So you can only use NBTedit on someone who is not logged in to the world when you are editing. If you do this, it should work fine.
The hell?
Really a thread on books,
you guys stoop too low.
Actually, this is the exact thing I was looking for. Books are the feature I've always been wanting. My creeperface of anger is coming out now This is a great thread...
's to you WolfeMario
Yes, it does. I've used it as recently as this morning, on snapshot 12w22a.
Follow the instructions: you can't have a world open when you edit your inventory. To be extra safe, don't have Minecraft running at all while you're editing, but that isn't necessary if you know what you're doing. Actually save the changes in NBTedit before loading the world again.
In some of the recent snapshots, for singleplayer, you should be going into the 'players' folder and finding yourname.dat (whatever your name is), and editing that. In the most recent snapshot, however, you should be editing level.dat (just as you would in the earlier snapshots). Try one method - if it doesn't work, try the other. If you're doing it right, one will work.
EDIT: It also works on the latest snapshot, 12w23b. Things really don't change that often, so I doubt this will even need an update come 1.3
I've added a new section, "Indentation, Alignment, and Blank Lines," since the recent snapshots have made it harder to indent/align things nicely and separate paragraphs. There's a simple work-around; hopefully people find it useful.
Me personally would like to see a cool system in place. Instead of just holding books in chests, you can have special bookcases that you can hold them on that act like chests. So you can have easy reference to your notes, stories etc. Maybe you can add them to your enchanting library and the more full bookcases you have the more special enchants you can do.
I wondered if it might be possible to give new players on a server a written book (with rules in it) automatically, for exaple via a bukkit plugin?Imean, ofc, there are plugins that automatically give items to new players, but how are books stored so that new players get a specific written book with the text I want? Meta (like "<ID>:<Meta-Number>")?
It should definitely be possible via a plugin, but the plugin would probably have to be made specially for this purpose.
If you checked the last section of the thread (the part about actually hacking books), it explains that a book's contents are attached to the book in a way similar to (but not the same as) enchantments. This means that, unlike maps, each copy of a book contains a full copy of its contents, and if a book is destroyed, its contents are lost with it (whereas maps' contents are stored as separate files and accessed via damage value). So it's not as easy to get a particular book as it is to get a particular map.
The plugin you describe really ought to work in a more intuitive way than specifying ID's, as it needs special treatment for enchanted items, etc... If there is a plugin which reads your current inventory at the time you issue the command, stores it, and makes that the default for players, then that would handle all special cases, books included.
Anyways, until you can find such a plugin, or the plugins you're familiar with can handle written books, you can have a dispenser loaded with 9 stacks of 64 copies of your rulebook (this guide explains how to get stacks of a book you've already written), which would last for 576 players (or a single particularly abusive player).
To prevent people from taking too many rulebooks, and also make the amount of rulebooks technically infinite, you could have a villager near the spawn sell them, in exchange for some item the player has in their default inventory (perhaps dirt?). I was going to make a guide on how to hack villagers using NBTedit, but sethbling beat me to the punch with which does the same, more intuitively - the filter also lets you grant the villager a 3-year invincibility so players can't kill it.
Granted, neither of these solutions are as good as having your players spawn directly with a rulebook, but you'll have to wait until someone updates such plugins to make that possible.
I hope theres a plugin where written Books dupe automatically to a stack of 64 when you right click a book onto a bookshelf, saves time for the user and the admin
For some reason, I have not been able to make a new page in a book. could you help me with this?
This guide will really help me put up all the rules for my adventure maps that I am making, saves a lot of space because I don't need all those signs :).
For some reason, I have not been able to make a new page in a book. could you help me with this?
This guide will really help me put up all the rules for my adventure maps that I am making, saves a lot of space because I don't need all those signs .
What do you mean you haven't been able to make a new page in a book? Like, you want more than 50? Did you have the 'pages' List selected when you attempted to add a new String?
Or do you mean the change didn't show up in-game? You should leave the world before attempting to edit it; if that doesn't work, also close Minecraft.
Thanks for the very informative post! Since bukkit doesn't have an API for books yet I was searching on how it stored book data for my MultiInv plugin. This thread was a life saver!
There used to be a section on the wiki about that, but people removed it (well, they wanted all mention of the fact that books can have more than 50 pages and colored titles removed as well, so I'm not surprised ). I wrote a little more than half of it; I'll paste it here:
Things you can use books for
but.. i use nbtedit it did nothing. i dont mind though.
let zombies rain down on annoying oranges
but thanks
Are you sure the game wasn't running while you used NBTedit, and that you saved in NBTedit once you were done?
Also, which snapshot did you use, and what hack did you try?
I tried, and this still works in snapshot 12w19a. However, if you're using anything later than 12w17a, you have to follow the "server" instructions. In other words, find yourself in the "players" folder, and edit the inventory there.
I did a bit of experimenting, and it seems to work as long as the player in question (well, in my case, myself) is not logged in to the server/world at the time I am editing. This is because, when a player goes on a server (even singleplayer, which has been turned into a server in 12w18a and 12w19a), their file is loaded when they log in. Any changes made to it after logging in are not loaded, and when they log out, the server will save their data (overwriting any changes you made). So you can only use NBTedit on someone who is not logged in to the world when you are editing. If you do this, it should work fine.
Actually, this is the exact thing I was looking for. Books are the feature I've always been wanting. My creeperface of anger is coming out now This is a great thread...
's to you WolfeMario
Nice find
please update itarrgharrgh
Oh, cool, do I know you there?
Yes, it does. I've used it as recently as this morning, on snapshot 12w22a.
Follow the instructions: you can't have a world open when you edit your inventory. To be extra safe, don't have Minecraft running at all while you're editing, but that isn't necessary if you know what you're doing. Actually save the changes in NBTedit before loading the world again.
In some of the recent snapshots, for singleplayer, you should be going into the 'players' folder and finding yourname.dat (whatever your name is), and editing that. In the most recent snapshot, however, you should be editing level.dat (just as you would in the earlier snapshots). Try one method - if it doesn't work, try the other. If you're doing it right, one will work.
EDIT: It also works on the latest snapshot, 12w23b. Things really don't change that often, so I doubt this will even need an update come 1.3
Glad you like it
If you checked the last section of the thread (the part about actually hacking books), it explains that a book's contents are attached to the book in a way similar to (but not the same as) enchantments. This means that, unlike maps, each copy of a book contains a full copy of its contents, and if a book is destroyed, its contents are lost with it (whereas maps' contents are stored as separate files and accessed via damage value). So it's not as easy to get a particular book as it is to get a particular map.
The plugin you describe really ought to work in a more intuitive way than specifying ID's, as it needs special treatment for enchanted items, etc... If there is a plugin which reads your current inventory at the time you issue the command, stores it, and makes that the default for players, then that would handle all special cases, books included.
Anyways, until you can find such a plugin, or the plugins you're familiar with can handle written books, you can have a dispenser loaded with 9 stacks of 64 copies of your rulebook (this guide explains how to get stacks of a book you've already written), which would last for 576 players (or a single particularly abusive player).
To prevent people from taking too many rulebooks, and also make the amount of rulebooks technically infinite, you could have a villager near the spawn sell them, in exchange for some item the player has in their default inventory (perhaps dirt?). I was going to make a guide on how to hack villagers using NBTedit, but sethbling beat me to the punch with which does the same, more intuitively - the filter also lets you grant the villager a 3-year invincibility so players can't kill it.
Granted, neither of these solutions are as good as having your players spawn directly with a rulebook, but you'll have to wait until someone updates such plugins to make that possible.
This guide will really help me put up all the rules for my adventure maps that I am making, saves a lot of space because I don't need all those signs :).
What do you mean you haven't been able to make a new page in a book? Like, you want more than 50? Did you have the 'pages' List selected when you attempted to add a new String?
Or do you mean the change didn't show up in-game? You should leave the world before attempting to edit it; if that doesn't work, also close Minecraft.
I am a representative of Tux2's Minecraft Hosting
and it still wont work, version 1.3.1