Java 类org.bukkit.command.MultipleCommandAlias 实例源码

项目:Uranium    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:ThermosRebased    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Thermos    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:KCauldron    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:CauldronGit    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Cauldron-Old    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Cauldron-Reloaded    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:FFoKC    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD).append(" > ").append(ChatColor.WHITE);// >> /* https://pmd.github.io/pmd-5.4.1/pmd-java/rules/java/strings.html#InefficientStringBuffering */
        }
        sb.append('/');// 1 symbol ~ char
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:CraftBukkit    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Craftbukkit    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Almura-Server    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Tweakkit-Server    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Cauldron    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:SpigotSource    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Craft-city    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:MCPBukkit    文件:MultipleCommandAliasHelpTopic.java   
public MultipleCommandAliasHelpTopic(MultipleCommandAlias alias) {
    this.alias = alias;

    name = "/" + alias.getLabel();

    // Build short text
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < alias.getCommands().length; i++) {
        if (i != 0) {
            sb.append(ChatColor.GOLD + " > " + ChatColor.WHITE);
        }
        sb.append("/");
        sb.append(alias.getCommands()[i].getLabel());
    }
    shortText = sb.toString();

    // Build full text
    fullText = ChatColor.GOLD + "Alias for: " + ChatColor.WHITE + getShortText();
}
项目:Uranium    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:ThermosRebased    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Thermos    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:KCauldron    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:CauldronGit    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Cauldron-Old    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Cauldron-Reloaded    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:FFoKC    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:CraftBukkit    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Craftbukkit    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Almura-Server    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Tweakkit-Server    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Cauldron    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:SpigotSource    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:Craft-city    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}
项目:MCPBukkit    文件:MultipleCommandAliasHelpTopicFactory.java   
public HelpTopic createTopic(MultipleCommandAlias multipleCommandAlias) {
    return new MultipleCommandAliasHelpTopic(multipleCommandAlias);
}