color titles

Discuss anything that doesn't fit other categories here.
Post Reply
gingernut84
Offline
Posts: 11
Joined: August 4th, 2011, 2:21 pm

color titles

Post by gingernut84 »

hey there. i was in fraft server and noticed fragmer had color name. as im setting up an fcraft server soon i was wondering how u could do this. thanks :happycreeper:

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: color titles

Post by Sanjar Khan »

Wrong section sweetheart.
Ferrisbuler2: i will stay but i might not post cus of ollieboy

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: color titles

Post by boblol0909 »

Open up the fcraft software in visual c#. Go to PlayerInfo.cs in the Player folder on the fCraft project. Go down to line 773 (you may have to open up a region) to where you see "public string GetClassyName()". Find the line that says something like "if( Name == "somename" ) return "somecolorcodeandname;". Replace somename with the username and somecolorcodeandname with color codes and the username to be displayed. For example: "if( Name == "boblol0909" ) return "&4boblol0909";" That would make my name red. You can do multiple color codes.

Post Reply