המדריך מיועד לחדשים בתחום,
תחילה נכנסים ל
src\net\sf\odinms\client\messages\commands\PlayerCommands.java
למשל זה פקודה לפתיחת קודי:
קוד PHP:
קוד PHP:
            } else if (splitted[0].equalsIgnoreCase("@cody")) {
                
NPCScriptManager.getInstance().start(c9200000); 
כדי לשים למשל את ספינל עושים כך:
קוד PHP:
קוד PHP:
            } else if (splitted[0].equalsIgnoreCase("@spinel")) {
                
NPCScriptManager.getInstance().start(c9020000); 
עורכים את הID ואפילו הפקודה יכולה להיות @xxxxx מה שתחליטו שיהיה כתוב שם,
כדי להוסיף אותה ל@commands
מחפשים שם את זה
קוד PHP:
קוד PHP:
            } else if (splitted[0].equalsIgnoreCase("@commands")) {
                
mc.dropMessage("============================================================");
                
mc.dropMessage("        " c.getChannelServer().getServerName() + " Commands");
                
mc.dropMessage("============================================================"); 
מתחת לזה תכתבו
קוד PHP:
קוד PHP:
mc.dropMessage("@spinel World spawner.."); 
או כל דבר אחר שתרצו בתוך הסוגריים.
כדי שהפקודה תעבוד מחפשים את זה:
קוד PHP:
קוד PHP:
    @Override
    
public CommandDefinition[] getDefinition() {
        return new 
CommandDefinition[]{ 
שם תוסיפו
קוד PHP:
קוד PHP:
new CommandDefinition("spinel"0), 
זהו מקמפלים ומפעילים תשרת רואים את הפקודה החדשה בcommands ואפשר להשתמש בה,
קרדיט לKINGMANN