Creating Leaderboards

Feb 27, 2017
Creating Leaderboards
  • Creating Leaderboards

    Here is a QuickGuide on How to create a LeaderBoards made by VariationVault.



    The detailed description is below here:

    Note:
    Square brackets: [ and ] indicate an optional argument
    Angle brackets: < and > indicate a required argument
    Values separated by a pipe character, |, are a list of possible values for that argument

    MobHunting 1.8.0 and newer:
    Creating a leaderboard:
    If you want to create a Leaderboard with 3x3 Signs and 1 on top, you should like this:

    1. Place 12 blocks (3x4) for the Leaderboard
    2. Place 1 sign on the top - middle block
    3. Mark the corners with /monhunt select 1 and /mobhunt select 2 or use worldedit
    4. Then run this command /mobhunt leaderboard create <stattype>[,<secondtype>[,...]] <period>[,<secondperiod>[,...]] [isHorizontal?] [<width> <height>]
    5. Finnaly click on the first sign you placed.
    <stattype>
    The name of the stat to display. See below for a list of all stats
    You may specify as many stats as you like separated by a comma. If you do not have enough room here, just add more types with the addtype mode of the edit command. See below for more details.
    <period>
    The time period to display. Values are day, week, month, year, alltime
    You may specify as many periods as you like separated by a comma. If you do not have enough room here, just add more periods with the addperiod mode of the edit command. See below for more details.
    NOTE Those names are all translatable so may not be as listed if using a non english .lang file, or a modified english .lang file.
    [isHorizontal?]
    Whether to make the leaderboard increase horizontally or vertically. Use the value true for horizontally, false for vertically
    [<width> <height>]
    If specified, this is the number of signs horizontally and vertically in the leaderboard. The default is 3x3
    After the command has been entered, simply click (left or right click) on a wall sign to create the leaderboard. If there is not enough room for the leaderboard, it will fail.

    Tab completion is available

    Editing a leaderboard:
    /mobhunt leaderboard edit (type|period|horizontal|addtype|addperiod) <value>

    stattype
    This will change the stat type of the leaderboard.
    Just like the create command this can accept multiple stat types using a comma to separate them
    period
    This will change the time period of the leaderboard.
    Just like the create command, this can accept multiple periods using a comma to separate them
    horizontal
    This changes the orientation of the leaderboard. If true, the entries will go across the board. If false, the entries will go down the board.
    addtype
    This is just like "type", but this will add more stat types to the list. Use this if you do not have enough room in chat, or you just want to add more types to an existing one.
    Just like the others, this can accept multiple stat types using a comma to separate them
    addperiod
    This is just like "period", but this will add more time periods to the list. Use this if you do not have enough room in chat, or you just want to add more periods to an existing one.
    Just like the others, this can accept multiple periods using a comma to separate them
    After the command has been entered, simply click (left or right click) on the main sign of an existing leaderboard to update it with the new settings.

    You can keep entering edit commands without clicking on a leaderboard and the changes will all accumulate allowing you to change multiple options at the same time.

    Tab completion is available

    Removing a leaderboard:
    To remove a leaderboard simply break the main sign of the leaderboard (the sign that says "MobHunting" at the top)

    For pre 1.8 leaderboards, use the following command /mobhunt leaderboard delete <id> where <id> is the id of that leaderboard.

    Multiple stat types and time periods:
    Leaderboards with multiple stat types and/or time periods will cycle through them with each update.

    If multiple stat types and time periods are present at the same time, the leaderboard will cycle through all the stat types, then change the period and begin again with the stat types.

    MobHunting 1.7.0 and older:
    From version 1.7.0 onwards, you can create in-game leaderboards that update as stats change.

    To create one, you first have to select where it will be.

    If you have WorldEdit installed, a normal cuboid selection will work.

    If WorldEdit is not installed, then you will need to use commands:

    To select the first corner, use /mobhunt select 1 (/mobhunt sel 1) while looking at a block. You must be within 10 units of the block
    To select the second corner, use /mobhunt select 2 (/mobhunt sel 2) while looking at a block. You must be within 10 units of the block

    It is important to note that signs will not be created, and any signs within the selection will be used

    Once you have a selection, you can create it using the following command

    /mobhunt leaderboard create <id> <stat> <period> <horizontal?>

    <id>
    A unique name for the leaderboard
    <stat>
    The name of the stat to display. See below for a list of all stats
    <period>
    The time period to display. Values are day, week, month, year, alltime
    NOTE Those names are all translatable so may not be as listed if using a non english .lang file, or a modified english .lang file.
    <horizontal?>
    Whether to make the leaderboard increase horizontally or vertically. Use the value true for horizontally, false for vertically
    Tab completion is available

    Stat types that can be used
    NOTE: These names are all translatable so may not be as follows if using a non english .lang file, or a modified english .lang file.

    • Blaze_Kills
    • Blaze_Assists
    • Bonus_Mob_Kills
    • Bonus_Mob_Assists
    • Cave_Spider_Kills
    • Cave_Spider_Assists
    • Creeper_Kills
    • Creeper_Assists
    • Enderman_Kills
    • Enderman_Assists
    • Ghast_Kills
    • Ghast_Assists
    • Magma_Cube_Kills
    • Magma_Cube_Assists
    • Silverfish_Kills
    • Silverfish_Assists
    • Skeleton_Kills
    • Skeleton_Assists
    • Slime_Kills
    • Slime_Assists
    • Spider_Kills
    • Spider_Assists
    • Witch_Kills
    • Witch_Assists
    • Wither_Kills
    • Wither_Assists
    • Wither_Skeleton_Kills
    • Wither_Skeleton_Assists
    • Zombie_Kills
    • Zombie_Assists
    • Zombie_Pigman_Kills
    • Zombie_Pigman_Assists
    • Total_Kills
    • Total_Assists
    • Achievement_Count
  • Loading...
  • Loading...