I am not the creator of this mod. Dsiira created this mod but neglected to update it for several months.I updated it so that it works with the latest recommended CraftBukkit build.The original thread is here. Download WordReplaceSource Code Features: In depth word replacing now. Create the confiqs. Some punctuation marks at the end of a word will also be caught and changed, keeping the punctuation. ("!","!!!","'s","?",".") COMMANDS!!! When a user FULLY types in either the user name or display name of another player, it CAN be colored. The Commands are as follow: /WR reload - reloads the plugin's config file /WR version - replies with the version number /WR list - replies with a list of all the current wordreplacements /WR add - Add a list to the config (Auto Reloads) /WR remove - Remove a list from the config(Auto Reloads) /WR help - Pretty strait forward and the best way to learn about the commands. To use the name replacer, set the node "replace-user-names" to true, and a random color will be chosen. While I am not the creator, I am willing to maintain this for the foreseeable future. If anyone finds any bugs or has an idea for a new feature, feel free to post in this thread!
Sounds great, i've been looking for something like that for a long time, but: Code: 2012-06-25 19:41:37 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0-b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0) 2012-06-25 19:41:37 [SEVERE] Could not load 'plugins\wordreplace8.1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: dcsiira/wordreplace/WordReplace : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:151) 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:213) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:189) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:166) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: dcsiira/wordreplace/WordReplace : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) 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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:140) ... 8 more
A friend of mine had a similar problem. What version of Java are you running (type java -version into your terminal/cmd)? I compiled it with Java 1.6.0_33, so anything matching or surpassing that should be fine.
I'm running OpenJDK, will it not work with this one? Code: OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.el5_8-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Hi. Would you consider adding an option for customizable "couples" of words? EX: changing shit to poop; or changing hell to nether. Thanks for your time and plugin. Also, I think it would be a great idea if you made it recognize the word even if it was in any part of another word. EX: recognizing shit in shitty or .shit . (So people couldn't get around it so easily)