Recommended Build & Update Guide (1.7.10 - 1.12.2)

Discussion in 'CommandHelper' started by PseudoKnight, Jan 13, 2015.

  1. PseudoKnight

    PseudoKnight Well-Known Member Developer

    Recommended Builds
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [CommandHelper v3.3.2-SNAPSHOT.3393 for Bukkit-API Servers]
    Officially supports MC versions: 1.7.10 - 1.12.2. You'll need to get an earlier build for support for earlier versions.
    See tracker for known issues

    Downloads are no longer available for older versions of Minecraft, but you can build from source.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    Update Guide
    Updating to new builds of CommandHelper can sometimes require updates to your scripts and/or extensions. This is not always obvious by the commit messages. Below is a reverse chronological guide to help you with some of these changes to quickly update your code.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [Bukkit/Spigot 1.13.1]
    1.13 support isn't available at the time of writing this. Block/item numeric ids are going away and many material names are changed, though these will be temporarily supported as inputs to functions for some time. This has several consequences that you'll need to address in your scripts. I'll be writing a more complete guide when development builds for 1.13 are available.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [CommandHelper Build #3246]
    - CHAdvanced: not updated
    CHAdvanced no longer supports build 3246 or higher. The server_command event is now built into the CommandHelper core. The file list function can be replaced by CHFiles extension or equivalent.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [Bukkit/Spigot 1.12.1]
    CommandBlocks now call aliases without needing /runalias. So if you have an alias for a vanilla command and CommandBlocks that use the vanilla command, it may break. A manual fix is to add the "minecraft:" prefix to those commands in the affected CommandBlocks. (eg. /fill to /minecraft:fill) Note: this does NOT affect CommandBlocks that already use /runalias or vanilla commands that do not have aliases.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [Bukkit/Spigot 1.11.2]
    You can no longer set_exp() above 100. In 1.11.2, setting exp to exactly 100 will now give that player a new level and reset exp to 0%. Set to 99 to avoid this.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [Bukkit/Spigot 1.11]
    Minecraft changed entity subtypes to be their own entity type. You may need to search for instances of "guardian", "skeleton", "zombie", and "horse". Changing an entity's subtype using set_entity_spec() is no longer supported. Also if you're checking for an entity type in an event bind, you'll need to update that to include a list of all subtypes. (Example: instead of "HORSE" you'll need to check for "HORSE", "MULE", "DONKEY", "ZOMBIE_HORSE", "SKELETON_HORSE", and/or "LLAMA".)
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [Bukkit/Spigot 1.9]
    One or two player_interact events will fire now with the addition of the off_hand. If two, it's one for each hand. If one, it might be the main_hand or off_hand. Some scripts need to be considered for double event firing. Any script that looks at the item array will need to be updated for off hand support.
    -------------------------------------------------------------------------------------------------------------------------------------------------
    [CommandHelper Build #3042]
    These extensions versions (or higher) are compatible with CH builds 3042+.
    It is almost always recommended to use the latest builds unless you're using old versions of MC, CH, or respective plugins.
    - CHServerCommunication: 0.0.2 (#17)
    - SKCompat: 2.0.0 (#24)
    - CHVault: 2.0.0 (#11)
    - CHPerms: 2.0.0 (#13)
    - CHVirtualChests: 1.0.5 (#11)
    - CHSpigot: 1.4.3 (#16)
    - CHDynmap: 1.1.3 (#10)
    - CHCitizens: 1.1.5 (#11)
    - CHPlotSquared: 0.1.1 (#1)
    - CHStargate: 1.0.2 (#7)
    - CHVotifierListener: 1.0.2 (#2)
    - CHGCC: 1.0.2 (#1)
    - CHPython: 1.0.2 (#5)
    - CHJavascript: 1.0.2 (#10)
    - CHGroovy: 1.0.2 (#10)
    - CH-mcMMO: 0.1.0 (#6)
    - CHDangerous: 1.0.2 (#7)
    - CHHTTPd: 0.0.2 (#23)
    - CHGriefPrevention: 1.2.1 (#6)
    - CHPex: 1.1.1 (#9)
    - CHTag: 1.0.2 (#7)
    - CHBarAPI: 1.0.1 (#7)
    - CHPluginManager: 1.1.0
    - CHWorldGuard: 1.1.0 (#21)
    - CHIRC: 0.0.0 (#8)
    - CHLogblock: 0.1.1 (#5)
    Last edited: Jul 29, 2018
    jb_aero likes this.
  2. Jason Krause

    Jason Krause Member

    Thanks for this PseudoKnight.
  3. spudsrus

    spudsrus Member

    Thanks PseudoKnight, this is super handy!

    Do you have any ballpark estimate on getting CHWorldGuard running on 3.3.1 build 3042 and above?
    =]
  4. PseudoKnight

    PseudoKnight Well-Known Member Developer

    Started working on some changes for someone else. Finished it just for you. It should now also fire on teleports, vehicle enter, vehicle move. This should make it more reliable for certain uses.
  5. spudsrus

    spudsrus Member

    <3
    Thankyou!