[Fun] FunShout 1.1 ~ Yell at your friends, just for fun! [860-935] Version: V1.2 Hello guys. So finally completed my first plugin . And well, here it is. It's just a simple plugin for shouting some texts through the whole server. Hope you like it and please leave a comment with idea's and advice! Features: Shouting through the server Commands: /fsobj ~ Displaying OBJECTION! in red letters. /fsover ~ Displaying OVER 9000! in yellow letters. /fsnice ~ Displaying [something to big to post here] in green letters. Downloads: v1.1 v1.0 Known bugs: NoAuthorGiven error displayed after first one logging in (only in console). Credits: Myself for scripting. The people who helped me with some issues. The testers. Bukkit and Mojang for making this all possible. Changelog: Version 1.1 Fixed sender seein command. Moved Changelog down in post because some people couldn't find it. Version 1.0 First Release Hope you like it!
Changelog should be at bottom and include version in the title also [FUN] is all caps - welcome to the plugin developers club.
Easy to fix: Code: public boolean onCommand(CommandSender sender, Command cmd, String cmdLine, String[] split) { if (cmd.getName().equalsIgnoreCase("commandhere")) { if (sender instanceof Player) { //Do stuff return true; } } return false; } You missed return true;
If you include the command then I'll try it. EDIT: Let me use my magical powers... /fsobj, /fsnice and /fsover
Sure, in the title, which is the bit at the top of the page, you need to include the version number. [STUFF] MyPlugin 0.0 - DoStuff Stuffily [860] You're missing the version number. That any help?
Aha, well topic title has it, but I suppose you mean in the topic itself? BTW: Release 1.1, sender seeing command fix, and changeog moved down.
I don't see the list of commands in your post... I think he means title should be this : [FUN] FunShout 1.1 ~ Yell at your friends, just for fun! [860]
Are you thinking of setting up a config file and use the command preprocess? So you can add an unlimited amount of commands and things to yell?
As in the thing people see in their browser header - yes. [Fun] FunShout ~ Yell at your friends, just for fun! [860] Needs to become [Fun] FunShout 1.1 ~ Yell at your friends, just for fun! [860]
I'd suggest adding /fs (message) so you can make your own messages. I'll give you a tip: Code: String newStr = ""; for (int i = 0; i < split.length; i++) newStr = newStr + split[i] + " "; Just replace split with... *Uses magical powers* args
Todo: Permissions support. Extra optional plugin for own messages in own colors. More shouts (any ideas are welcome). Making the (short) preview movie.