Blockland Welcome, Guest. Please login or register.
Did you miss your activation email?
October 20, 2017, 10:08:11 AM

Home Help Login Register
+  Blockland Forum
|-+  Blockland Files
| |-+  Add-Ons
| | |-+  National Flags in Chat
Pages: [1] 2 3 4 5 6 7
Author Topic: National Flags in Chat  (Read 7254 times)
Pecon

« November 04, 2013, 11:04:17 AM »


(Purple admin shield is not included)
As seen in my National Flags server.

This server mod will look up the country for each client's IP address, and assign a flag to go next to their name. The tiny version of this mod only uses flags that I've identified as generally occurring the most in the Blockland community. If you want, you can download the full version and then simply delete files from the /flags/ folder to select which flags you want loaded. It is safe to delete images or add different flag images in the /flags/ folder. Any image file that matches a country's two-digit code will be used when a client connects from that country.

Download full version (248 datablocks) 166kb
https://pecon.us/projects/storage/nationalFlagsFull/Server_NationalFlags.zip

Download tiny version (17 datablocks) 14.8kb Recommended!
https://pecon.us/projects/storage/nationalFlagsTiny/Server_NationalFlags.zip


Flags included in tiny version:
- Australia
- Brazil
- Canada
- Chile
- Denmark
- Estonia
- England
- Finland
- France
- Great Britain (England Alias)
- South Korea
- Malta
- Mexico
- Netherlands
- Poland
- Russia
- United States

The full version has just about every country in the world, but uses an excessive amount of datablocks.
« Last Edit: November 20, 2016, 08:11:22 PM by Pecon » Logged
Ad Bot

« Full members do not see ads »

jes00

« November 04, 2013, 11:16:10 AM »

Cool mod.
So the full version just has lot more flags?
Do you need to download textures to see the flags, if you don't have the mod?
Logged
Pecon

« November 04, 2013, 11:16:54 AM »

Cool mod.
So the full version just has lot more flags?
Do you need to download textures to see the flags, if you don't have the mod?
Yes, they are all considered textures.
Logged
Danny Boy

« November 04, 2013, 11:17:02 AM »

Could you add a feature in which it lets a player change their flag if they wish. Some people may have a flag which does not match their nationality.
Logged
MrLoL²

« November 04, 2013, 11:19:52 AM »

Yay finaly
Logged
Pecon

« November 04, 2013, 11:20:13 AM »

Could you add a feature in which it lets a player change their flag if they wish. Some people may have a flag which does not match their nationality.
That's just asking for trouble in my opinion. It would turn out like that setlight mod where someone always comes in with a script that changes it every second. Someone will come in with a script that just gives them a random flag every time they chat. It would be annoying.
Logged
Danny Boy

« November 04, 2013, 11:21:21 AM »

Add an RTB pref or something to toggle it then or restrict the amount of times it can be changed.

Maybe even admin only and a player has to request the change.
« Last Edit: November 04, 2013, 11:27:05 AM by Danny Boy » Logged
Pandan

« November 04, 2013, 11:24:56 AM »

I like this, reminds me of track mania chat
Logged
Reinforcements

« November 04, 2013, 11:33:25 AM »

Neat!
Logged
Electrk²

« November 04, 2013, 12:20:52 PM »

That's just asking for trouble in my opinion. It would turn out like that setlight mod where someone always comes in with a script that changes it every second. Someone will come in with a script that just gives them a random flag every time they chat. It would be annoying.

how would that be annoying
Logged
MARBLE MAN

« November 04, 2013, 12:29:04 PM »

datablock whoring ;-;

also, message zapk, he was wanting this
Logged
SailorMan

« November 04, 2013, 02:19:12 PM »

Haha, this is really cool! Thanks for making it.
Logged
jarelash

« November 04, 2013, 02:26:12 PM »

Holy shit is demian finnish?
Logged
MARBLE MAN

« November 04, 2013, 04:38:09 PM »

* MARBLE MAN gets home and checks code

1. Used ip tracer mod as reference (as predicted)
2. Used particles (as predicted)
3. Uses excessive amounts of datablocks (as predicted)

Either I'm god, or I code too much



Edit:

you better change TraceIPClass to something else, otherwise it will conflict with my IP Trace mod
« Last Edit: November 04, 2013, 04:40:59 PM by MARBLE MAN » Logged
Pecon

« November 04, 2013, 04:47:39 PM »

3. Uses excessive amounts of datablocks (as predicted)
(248 datablocks)
no way

I'll change the class name.
Logged
Pages: [1] 2 3 4 5 6 7  


Login with username, password and session length

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Page created in 0.019 seconds with 19 queries.