[SPIGOT-1939] Add {0} macro to 'unknown command' -> '"{0}" is unknown command' Created: 16/Mar/16 Updated: 16/Mar/16 |
|
| Status: | Open |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Herra Pilvinen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | configuration,, macro, spigot.yml | ||
| Description |
|
I suggest adding a macro that gives out the command user was running to "unknown command" error. spigot.yml already has this: outdated-server: Outdated server! I'm still on {0} }} Where the macro get's replaced with version number. I suggest adding a similar functionality to "unknown command": Would become: {{ " is unknown command. Type "/help" for help. This would be helpful since then you could see in server logs what commands the users were trying to run. |
| Comments |
| Comment by Herra Pilvinen [ 16/Mar/16 ] |
|
Hm, sorry. The preformatting failed somehow and I don't seem to be able to edit the message. but I hope it's readable. |