VoicedCommandHandler.java Help Understand
Posted: Fri Oct 18, 2013 8:55 am
Find Revision
L2J Revision 5937:
L2JDP Revision 9981:
Hellow!
How does VoicedCommandHandler.java work ? I need to add it manually to GameServer.java to get it working?
What i did so far (is this the right way?): GameServer.java
How do i add commands like .join .info to it (so that it calls my functions)?
Any Help is Appreciated!
L2J Revision 5937:
L2JDP Revision 9981:
Hellow!
How does VoicedCommandHandler.java work ? I need to add it manually to GameServer.java to get it working?
What i did so far (is this the right way?): GameServer.java
Code: Select all
import com.l2jserver.gameserver.handler.UserCommandHandler;import com.l2jserver.gameserver.handler.VoicedCommandHandler; ..myNewClassThatNeedsToUseTheVoicedCommands.getInstance(); UserCommandHandler.getInstance();VoicedCommandHandler.getInstance();_log.config("UserCommandHandler: Loaded " + UserCommandHandler.getInstance().size() + " handlers.");_log.config("VoicedCommandHandler: Loaded " + VoicedCommandHandler.getInstance().size() + " handlers.");..
Any Help is Appreciated!
