StandardBooks
StandardBooks
With this Plugin you can hand out a written book on first join (maybe containing the rules) or get other saved books (maybe with admin commands) via command.
Check out the Converter tool for textfiles created by Marcsello ConverterPage
Features
requires Java7
- save books ingame. for this you must hold the book
- books can contain the &0,&1... color codes
- books can contain "§" formatting
- define the book given on first join or turn feature off
- per book permission so your Builders can't get the admin Commandbook
- give a book to an other player
- can override /help and /rules so a defined book is inserted instead (needs sb.help or sb.rules permission)
- hand out a book at first join (delay possible)
Commands
- /sbs save [bookname] | saves the written book in hand with given name
- /sbs list | lists all saved books
- /sbs give [bookname] | gives you the book with the entered name
- /sbs give [bookname] [playername] | gives the book to the player
Permissions
- sb.list | allows to get a list of all saved books
- sb.save | allows to save a new book
- sb.give.bookname | allows to insert the book with the given bookname
- sb.give.other | allows to give a book to an other player
- sb.help | allows to receive the helpbook when /help is typed
- sb.ignorehelp | players with that permission will be ignored when overriding /help
- sb.rules | allows to receive the rules book on /rules
- sb.ignorerules | players with that permission will be ignored when overriding /rules
Change notes
v1.4.1
- fixed incompatibility with bukkits 1.4.5-R1
v1.4
- added delay for first join book (if you want to use it you need a new config file)
- list and give book to player command can now be performed via console
- fixed list command
v1.3
- added feature to give the book to an other player
- fixed help and rules override and added permission to get normal help and rules
- fixed bug writing none as inserted book giving empty book
- fixed bug that a book could not be found when starting with capital
v1.2
- added "§" formatting support
- added possibility to override /help and /rules (needs new config file)
- added sending of plugin metrics to mcstats.org can be turned off in config (needs new config file)
v1.1
- changed command to sbs
- changed the way a book is saved so an enter key will not be a new page (that means you hav to change your books)
- fixed wrong spelled example
- fixed copying 'title: ' and 'author: '
v1.0
- first release
Known Issues
- ???
Converter
Marcsello created a tool to convert textfiles into StandardBokk accepted files check it out:
Planned features
- check if book already in player inventory
- give.all.* permission for all books
- message on help and rules
- Any ideas? let me know
Thanks
Thanks got to blackbinary for hosting our server where I can develop and test my plugins
Thanks to Marcsello for creating the Converter
@twisted067
sent you a PM
@BlindW4lk3r
Hey I was checking out your other plugin: PreventDrops, I have a question about it, does it prevent exp orbs from being dropped as well? Players have mob fall grinders where a mob falls to near death and then they punch it for full exp and drops. I'm using a different plugin that prevents the exp drop but it doesn't prevent the item drops, that would be awesome to have. Also thanks for the update for standardbooks, i grabbed it off the curse link.
edit: i take back that the curse link worked, just gave me 1.4 that doesn't work lol. I'll wait for it to appear here
Hey guys good news ;)
found some time between two family events to fix the plugin xD
It should work with the recommended 1.4.5 and the new 1.4.6 build
So while we wait for the approval of the file... have some nice hours
@JohOply StandardBooks is currently not working with bukkit 1.4.5-r1.0 and further due to api changes I was not able to fix this yet.
Hello, there is this bug in my logs
and
Please update to 1.4.6 :)
/rules override does no work.
@ScorchRaserik
Ok never got this error until now but I have to admit that I was always running it with an permissions plugin. But thinking about your issue I believe I know whats wrong... my fault :(
Thanks for telling me about. I will take a look at it
So I'm trying to allow players to get a Rulebook when typing /rules. I don't have another rules plugin, so there's nothing to override, but the config made it sound like I needed to have rulesoverride set to true, regardless.
So, I have that set to true, new players obtain the correct book at spawn, as well as when I type /sbs give Rulebook, but when anyone just types /rules, it says "Unknown command."
It should also be noted that even I, as the OP, cannot use the /rules command, so it's not Permissions related.
@lewis2
Hi
yes I think I should do so (wondering why I didn't so far :D ) Also I want to be able to remove a book or check when / sbs give ... is typed if the user already has the book and the point with the message on help and rule just like xemnes1 mentioned before.
can u please add a perm for sb.give.* so u can get all books
@xemnes1
Yeah sure will add it
is it possible to make /help and /rules books message the player they received a help or rules book when they type it? and or notify them that it has been put into their inventory if their quick bar is full? my server is creative and some players have been telling me '/help and /rules arent working for me' getting annoyed to tell them that i may be in their survival inventory
Hi First sorry for the really long wait...
Version 1.4 is already uploaded and is now waiting for approval
@ferrill86
Thank you for this information. Nethertheless I will publish an update the next days where the list command is fixed and some commands will finally be usable in console.
@BlindW4lk3r Thank you for this Plugin Its run on my bukkit 1.4.5 Server.
using SB1.3 and cb beta 1.4.2-R0.2
/sbs list
returns
[StandardBooks] [Ljava.lang.String;@4c04f283
@Cyborax
Hey,
the reason for the error you get is not the new version of bukkit 1.4.2 it's because your server is running java 6 while my plugin requires java7.
For me it works with the new bukkit beta (only short testing)
Please update this awesome Plugin :)
Does not work any more with: git-Bukkit-1.4.2-R0.2-b2455jnks (MC: 1.4.2)
Could not load 'plugins/StandardBooks.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: ch/blackmining/SB/SB : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:229) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:205) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:51) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) Caused by: java.lang.UnsupportedClassVersionError: ch/blackmining/SB/SB : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:143) ... 9 more
@BlindW4lk3r
Please allow consol Command :)
-> sbs give bookname player
Thank you for Plugin.