* Description * Printing Press - An easy way to copy Written Books and Signed Books. * Version 1.0 * * How to Install * Download from <Edit by Moderator: Redacted mediafire url> Drag and drop "Printing_Press.jar" into your Bukkit "Plugins" folder. (re)Start the server. If you receive errors, please try this version of Printing_Press from <Edit by Moderator: Redacted mediafire url> * How To Use * While holding the Written Boor or Signed Book you wish to copy, and having at least 1 feather, 1 ink sack, and one normal book in inventory, type in the command /copybook . This plugin will remove 1 feather, 1 ink sack, and 1 normal book, than provide an exact copy of the Written Book or Signed Book in hand. * Open Source * You are allowed to decompile the .jar, and examine the code . Decompiler Utility You are allowed to reuse my code if you give me ( RLS0812 ) credit . * Chang Log * 1.1 - Compiled Plugin In Older Java Environment 1.0 - Released to Public Beta 0.2 - Streamlined Code Beta .01 - Prototyped
Gonna try this plugin. Looks cool! Will report back later with results The plugin didn't start, plz fix. Error: 08:03:43 [SEVERE] Could not load 'plugins/Printing_Press.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: Me/RLS0812/Printing_Press/Main : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155) 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:222) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:565) at org.bukkit.Bukkit.reload(Bukkit.java:183) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:21) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:488) at net.minecraft.server.DedicatedServer.ah(DedicatedServer.java:248) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: Me/RLS0812/Printing_Press/Main : 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:41) 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:144) ... 14 more More info: >plugins 08:04:22 [INFO] Plugins (28): World Portal, Orebfuscator, CreeperHeal, SWatchdog, WorldEdit, Skript, bLift, ColourFireWorks, dynmap, ModReq, MineBackup, PerformanceMonitor, iConomy, AuthMe, Announcer, CoreProtect, BKCommonLib, CCTV Camera, Essentials, EssentialsXMPP, EssentialsProtect, EssentialsSpawn, EssentialsGeoIP, VanishNoPacket, LWC, ChestShop, EssentialsChat, Factions OS: Ubuntu Linux 11.10 Bukkit: >ver 08:06:37 [INFO] This server is running CraftBukkit version git-Bukkit-1.3.1-R1.0-b2320jnks (MC: 1.3.1) (Implementing API version 1.3.1-R1.0) EDIT by Moderator: merged posts, please use the edit button instead of double posting.
This error means that either the DEV has an improper Java Environment version or you have an improper version of java. Most likely the DEV is using 1.7. RLS0812 what JRE and Java build you running? check on here http://javatester.org/version.html
Ok, RLS0812, plz fix the java ver, I want to write a rulebook for my server and then give it to every new player.
Essentials got this tool, Just write a book, done it, and type /MORE. And he duplicate it to 64 books.
Why not include the source in the jar? Decompiling is prone to errors. Tick Include Source In Jar File when exporting.
Feature suggestion: When you put a written book in a dispenser and do /infbook and right-clienk the dispenser, the dispenser dispenses infinite written books.
If it's open source, then you must give out the .java or it's not open source... Anyone can decompile it, with or without you saying you can. Edit: Add a license to it such as: http://dev.bukkit.org/licenses/7-gnu-general-public-license-version-3-gplv3/ / http://www.gnu.org/licenses/gpl.html
Post the source on github, its easier to get it then. (the .java), or what I like to do (zip the project folder and put it on GitHub
I recommend you to go to printing china, a good place where you can find various solutions about printing, including easy way to copy written books and signed books.