Page 1 of 1

Adding commands

Posted: February 7th, 2012, 12:06 am
by BloodlustXIII
Examples: /title and /afk.
I know it's possible but I don't really know how to do it. It probably involves coding but I know a fragment or two of that ;P
Got on an old friend's fCraft server and e has those commands. Let's just say I got jealous ;P

Re: Adding commands

Posted: February 7th, 2012, 2:42 am
by fragmer
You can use /SetInfo to change the way players' names are displayed, which includes setting the title. For example, I could do

Code: Select all

/SetInfo fragmer displayedname &c[op]fragmer
to give myself an ugly red "[op]" badge.

/AFK command has been suggested, more than once, but I decided not to add it. Discussion

Please do NOT try modding fCraft if you dont have solid programming knowledge. It's a complicated bit of software. If you are feeling confident, use "Modding" section on this forum. Read the FAQ in that section.

Re: Adding commands

Posted: February 21st, 2012, 8:52 am
by BloodlustXIII
Is there a way to change only the title color? Or is it stuck changing the whole thing name and title.

Re: Adding commands

Posted: February 21st, 2012, 9:26 am
by Hellenion
You can change the colour at any point in the text, I suggest experimenting with /Colors a bit first.

Re: Adding commands

Posted: February 21st, 2012, 9:53 am
by BloodlustXIII
so:

/SetInfo fragmer displayedname &c[op]&0fragmer

Would give a red title and black name? Is that the same way /colors works too?

Re: Adding commands

Posted: February 21st, 2012, 10:03 am
by fragmer
BloodlustXIII wrote:/SetInfo fragmer displayedname &c[op]&0fragmer

Would give a red title and black name?
Correct.

Re: Adding commands

Posted: February 22nd, 2012, 7:00 pm
by BloodlustXIII
Awesome thanks :D