[SPIGOT-439] Add PlayerChangeLocaleEvent Created: 18/Jan/15 Updated: 27/May/17 Resolved: 27/May/17 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | MCShamrock | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 3 |
Labels: | event, spigot |
Description |
There is the ClientSettings packet that a client sends to the server shortly after joining and when the client's settings are changed. This packet includes the client's locale, chat settings, and skin settings. I think it would be quite useful (any very simple to add) to add an event that is fired every time the client sends such a packet, so that plugins can be notified when a client changes its language. Usage Example: Why it is necessary: |
Comments |
Comment by Martin | MiniDigger [ 26/May/17 ] |
opened a new pr for this https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/282 |
Comment by Zeryther [ 28/Jan/15 ] |
I'd also need this for my multi-language server |
Comment by MCShamrock [ 21/Jan/15 ] |
Added two PRs for this on Bukkit and CraftBukkit. |
Comment by MCShamrock [ 20/Jan/15 ] |
I'm working on a PR for it... |