Plugin category: Chat Suggested name: CountryChat/FlagChat What I want: I have seen this kind of plugin in some Counter-Strike servers. When you join and you will get automatically moved to channel with your language. I wonder if this could be done in minecraft? E.g I am joining into Minecraft Server with this plugin. The plugin detects that I am Finnish and moves me to Finnish Channel. Countries I want to detect: ( If you are like from Russia you will get moved to English channel. ) Finland England Sweden If you know how to speak English/Finnish/Swedish you can move between channels with /chat join England/Finland/Sweden Ideas for commands: /chat join {CHANNEL} | /Chat move {channel} {player} Ideas for permissions: chat.join - /chat join chat.move.others - /chat move {CHANNEL} {PLAYER} When I'd like it by: You choose timtower I would like to hear your opinion? Is this possible in Minecraft?
Onlineids Twisted_Panda timtower We just need to find out how to track the country. Maybe something with IP address? When you install Essentials it detects the host ip and changes locale to that country. Like when I use essentials on my test server ( Self-Hosted ) all chat messages are in Finnish. and when I use essentials on my server hosted by company all chat messages are in English. How they do that?
You forgot about people who use VPNS, I can do this plugin but i'm unsure on how to track there location.
If the player "Doesn't" have country, plugin moves the person into English channel. If it detects Finnish/Swedish people, plugin moves them to Finnish/Swedish channel.
hunajameloni Twisted_Panda You could get them to put in what country they are from when they first join and perhaps that is saved to a file so they don't have to type it in every time they join?
I made the plugin. You may download it at : https://www.dropbox.com/s/222oki5t7naspvp/FlagChat.zip Quick bullet points : The commands are "/chatjoin [channel]" and "/chatmove [player] [channel]". The perms are chat.join and chat.move. It uses org.json, I made a bukkit wrapper for it so make sure the two jars in the zip file are in the plugins folder. Countries with spaces like "United States" are renamed to "United_States". It goes through http://freegeoip.net/json/ to find an IP's country, so if that website is down, everyone is in Error channel. Credits to top response of http://stackoverflow.com/questions/4308554/simplest-way-to-read-json-from-a-url-in-java There are no features you didn't ask for. Rawr!
Twisted_Panda The lion guy isnt answering so I might need your help. Add the thing that asks for your country and maybe Tab would show only players who are in same channel as you?
I don't understand what you're trying to convey. The download link works fine for me, as much as the plugin does. Telling me what error you're encountering in the first place would allow me to fix it.