How to add custom commands to PlusEMU?

icecafe

Member
Jan 12, 2017
36
2
I am trying to add the :close and :rig commands by Core. But it seems my PlusEMU file structure is different. I tried adding both the close and rig command. Any guide for adding them? Thank you!

P.S. I cannot add a link to their thread here due to me only having one post, sorry about that.
 

Central

Imagination is more important than knowledge.
Feb 22, 2015
709
107
Download Microsoft visual c# open up the source, should just be called Plus in the emulator folder,
Search for chatcommandhandler on the right solution explorer,
Paste the commands into there,
Find the region "Commands Start"

- Credits to @Altercationz
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
You register the commands in the HabboHotel/Rooms/Chat/Commands/CommandManager.cs file.

In one of the methods such as 'RegisterUser()', you will register a command like..

PHP:
this.Register("about", new InfoCommand());

In this case, you would make 'InfoCommand.cs' and use the 'IChatCommand' interface.
 

icecafe

Member
Jan 12, 2017
36
2
@Core. Upon adding your commands I can no longer move or function inside of my client.
When removing them it functions normally again. I only added the rig command and was planing on doing the close one after so make sure they work. Do I need to add them both in order for them to function? Thank you!
 

Users who are viewing this thread

Top