Ok, I want to change what happens when you press Q on my server.
So, I gotta enable everything BUT q with enablefeatures.
I disabled some stuff but not everything, so it is done clientside
and it looks like this:
NPC Code:
enablefeatures(1,2,8,0x10,0x40,0x80,0x200,0x400,0x 800,0x1000,0x2000,0x4000,0x8000);
given that the wiki says this as paramaters for enablefeatures
PHP Code:
1 P key
4 Q key
8 R key
0x10 S+A combo
0x20 S+D combo
0x40 TAB key
0x80 chat text
0x100 hearts overhead
0x200 display of nicknames
0x400 toall/PM bubbles
0x800 right-click profiles
0x1000 emoticons
0x2000 Alt+5 snapshots
0x4000 Alt+8/9 zooming
0x8000 logframe
allfeatures all features
good news: it disables the q menu.
Bad news ...
0x80 is ENABLED, as we told it to be, BUT there is now NO CHAT TEXT above the player!
and ox200 is ENABLED but now there are NO NICKNAMES displayed!
this is the only instance of enablefeatures
and it breaks, or rather, DISABLES things! Ack! help!