Skip to content

.menu code (error?)

Featured Replies

hi guys i pass  this code https://pastebin.com/tkC5YUMC for .menu command. i dont have any red lines in eclipse but the problem is on server side? when i wrote .menu nothing happened. did i miss something?

I can see that the author has registered the command as usercommandhandler not voicedcommandhandler. Possible command should be /menu instead of .menu

Edited by Zake

43 minutes ago, Loftheim said:

 

Don't you also have to add the command to the client or db side as well? At least for / commands

Of course, i guess the author should have posted a client side. thepsolartek posted just the java part

You have to declare your new handler on GameServer.java also 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.