Making public methods of registerChatCommand

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

Post Reply
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Making public methods of registerChatCommand

Post by oliverde8 »

Hi,

Long time since I wasn't around, :D

I just updated my HudMenu plugin to work with ML2.5 and noticed that I could'nt get acces to the methods of the standard Profiler plugin such as showStats. I believe that in ML1 when a chat command was registered the method of that chat command was made plublic. That allowed me to create buttons in my HudMenu without having to change the concerned plugin, by just modifying the configuration file

I don't see any inconvenience in having all methods registered as public when registering a chat command? Couldn't it be added to ML2.5 also?
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest