SimpleUc
SimpleUc
A simple plugin adapted by LRLEW's UnknownCommand-Plugin, that lets you set a custom message, that will displayed when the command couldn't be found.
Features
Everyone knows the "UnknownCommand"-message (Default is "Unknown command. Type "help" for help."). This Plugin lets you edit the message, that is returned when a player types a unknown command.
- Single Uc-Message
- More than one randomly choosen Uc-Messages
- Prevent Uc-Messages (added in v1.2)
- Command Correction (finished in v1.2.1)
- Hide + Disable commands (added in v1.3)
Thanks to UltiByte for this video! :)
Configuration
The configuration is very simple! Look here if you need help with the config! For a example Configuration, look here.
Go on page Configuration for the description.
Commands and Permissions
Command | Permission | Description |
---|---|---|
/uc | simpleuc.* | Info about SimpleUc |
/uc-reload | simpleuc.reload | Reload SimpleUc's Config |
simpleuc.cc.all | Command Correction for commands with no permission too | |
simpleuc.hide.exempt | Bypass the hidden commands |
Upcoming Features
v2.0: (advanced config)
- Group messages
- Player messages
- Set Uc-messages with commands
- Custom Uc's for specific predefined commands
Suggestion for the 1.9 ? Other plugin ?
[11:26:15 WARN]: Exception in thread "Craft Scheduler Thread - 14" [11:26:15 WARN]: org.apache.commons.lang.UnhandledException: Plugin SimpleUc v1.4.5 generated an exception while executing task 11 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at org.mcstats.MetricsLite.postPlugin(MetricsLite.java:285) at org.mcstats.MetricsLite.access$200(MetricsLite.java:51) at org.mcstats.MetricsLite$1.run(MetricsLite.java:173) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
@YoshiPokemon49
It works, but will spam your console with Metrics errors.
Does this work for Minecraft 1.9? Im assuming so but just to be safe
@benoitfouc
1.4.5 works for 1.8
I don't know why but my command correction won't work.
Need update for 1.8 :(
@SwagyGamer @Mystyrical
If you have apostrophes in your message you can't just include it inside the message, there are 2 solutions for this:
Sometimes just writing the message without single or double quotes might also work, but not always. This is not something that has or can be fixed in this plugin because the reason for the problem is that the configuration is invalid, nothing I can do about it. Just use one of the ways above.
@SwagyGamer
Thank you so much! That was the fix, no apostrophes!
@Minecrell
Can you please fix this in the next update? It would be very appreciated!
@Mystyrical
@Minecrell
I have found what was the problem, you will get unknown command. in red always as Mystyrical said, the current problem is that you can not have any apostrophe in your messages. It will cause this, we gonna say you do can't, it will not work, you will need to do can t without ', or just do can not. Hope this helped.
@Minecrell
No, as soon as I start my server, I type an improper command and still get "Unknown Command" in red text. I have done /uc-reload before and configured again but no difference. Even with prevent-messages: true, is still gives me an Unknown Command error.
@Mystyrical
Have you restarted your server or typed /uc-reload after changing the configuration?
@Minecrell
I have properly configured SimpleUC, no error in the console, yet even with a custom message set, I just get "Unknown Command." Whats wrong?
@XNade
%newline may work
@BlackFing85
You're welcome! ;)
@Minecrell
Ok thank you, sorry about that.
@BlackFing85
Is it not working in 1.7? Actually it should not need an update.
Edit: Tested it, it's working correctly.
@Minecrell
Can you update this to 1.7.2?
Uuuuuhh... Schreibe ich sofort.
Sasuke
@Sasuke988
Hab keine PM bekommen...?
Wenn du nicht mehr daran weiterarbeitest, würde ich das plugin gerne übernehmen, wenn du das erlaubst. Hast glaub auch schon eine PM im Postfach. Tut mir leid, gerade erst gemerkt dass du Deutsch sprchst.