24.08.2014, 17:03
Hi guys! I have collected a few questions about coding and I don't know where I can find help. So, can I post them here? If not, could somebody show me thread about Shoebill coding? 
1. Why commands written in @Command-style continue processing after return true in them? For example:
In game after /kill command I see "Unknown command.", but it should send only if command return false or command not processed at all, is not it? How can I fix it?
2. Why in cmd.exe (terminal) I see two logs at the same time? How can I fix it?

3. Why I must destroy commandManager and eventManagerNode before disabling server? Or it optional?
4. I can't find SQLite functions like db_create, db_query etc. Does they exist in Shoebill?

1. Why commands written in @Command-style continue processing after return true in them? For example:
PHP код:
@Command
public boolean kill(Player p)
{
p.setHealth(0F);
return true;
}
@CustomCommand
public boolean customHandler(Player p, String cmd, String params)
{
p.sendMessage(new Color(-1), "Unknown command.");
return true;
}
2. Why in cmd.exe (terminal) I see two logs at the same time? How can I fix it?

3. Why I must destroy commandManager and eventManagerNode before disabling server? Or it optional?
4. I can't find SQLite functions like db_create, db_query etc. Does they exist in Shoebill?