Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

How to Allow con commands through the chat ui dialog.

Newbie Spellweaver
Joined
Dec 5, 2013
Messages
11
Reaction score
6
Hi, heres a basic explanation, you either get it or you dont.first add these lines of text to the file: scripts/chat_commands.txt Add the two lines below into the:
Code:
"SlashCommands"
key values.
Code:
 "GAMEUI_HEROES_CHATCOMMAND_CMD" "" //allow typing /cmd  e.x. /cmd cc_system_message "GO KAI IN A CORNER!!" x].
Code:
"GAMEUI_HEROES_CHATCOMMAND_CMD2" "" //same as above but the command is /c instead of /cmd.
Lastly add this into the file heroes_text_english_eu.txt!
Code:
"GAMEUI_HEROES_CHATCOMMAND_CMD"  "Cmd"		"GAMEUI_HEROES_CHATCOMMAND_CMD2"  "c"
So, if you did it right, you can type /c or /cmd into the chat dialog and enter a console command. peace im out
 
Junior Spellweaver
Joined
Dec 21, 2016
Messages
142
Reaction score
247
Tested it and it worked fine, neat trick. Is there anyway to unprotect certain cheat commands like Noclip or NPC Spawn so that a client can use them with this?
 
Newbie Spellweaver
Joined
Apr 8, 2021
Messages
13
Reaction score
0
Where is file: scripts/chat_commands.txt

Can you please explain in detail I don't know what you mean.
 
Back
Top