26.08.2014, 21:20
(
Последний раз редактировалось DrumYum; 27.08.2014 в 00:19.
)
If I don't need to destroy PlayerCommandManager and EventManagerNode, for what in example-lvdm they uninitialized?
Also, could anyone tell me, what is CommandGroup, HandlerPriority, .setHelpMessageSupplier and .setUsageMessageSupplier, also how and for what I can use all of it? I know by their names what they must do, but I want to know everything in detail.
UPD: oh, also I need to split admin commands by levels. I have idea to add level argument in @Command annotation, but I don't know, how to do it and I don't know is it possible or not. Or maybe I should split all levels in different classes? Level_1, Level_2 etc. and add to them @BeforeCheck with check for player level?
Thanks in advance.
Also, could anyone tell me, what is CommandGroup, HandlerPriority, .setHelpMessageSupplier and .setUsageMessageSupplier, also how and for what I can use all of it? I know by their names what they must do, but I want to know everything in detail.
UPD: oh, also I need to split admin commands by levels. I have idea to add level argument in @Command annotation, but I don't know, how to do it and I don't know is it possible or not. Or maybe I should split all levels in different classes? Level_1, Level_2 etc. and add to them @BeforeCheck with check for player level?
Thanks in advance.