AlternateBlocks [Integrated API] [1.7 + 1.8] 1.6.3

Control which blocks are visible to certain players

  1. inventivetalent
    Please report any problems via the Issue tracker or the discussion and DO NOT report them by rating the plugin.


    This plugin can modify, which blocks can be seen by each Minecraft version.


    For example, Minecraft had pistons with a surrounding texture before 1.8
    [​IMG]
    but the texture is no longer rendered like this for 1.8 clients.
    [​IMG]
    This plugin allows you to simply replace these pistons with another block for all 1.8 clients:
    [​IMG]

    Depends on PacketListenerAPI

    Commands

    • /alternate [from id:data] [to id] [versions] - registers a specific from block id with optional data to be replaced with the to id on the specified versions (separatedby comma)

    Config
    All replacements are saved in the /plugins/AlternativeBlocks/replacements.json File.

    Code (json (Unknown Language)):

    [
        {
            "from":{
                "id":33,
                "data":6
            },
            "to":{
                "id":169
            },
            "versions":[
                "1.8"
            ],
            permission: 'my.plugin.see.block'
        }
    ]

     
    This configuration will replace all full-texture pistons (with ID 33:6) (mentioned above) with sea lantern blocks (ID 169). Only players in version 1.8 and with the permission my.plugin.see.block will see the changes.


    This plugin also comes with an integrated API to replace blocks in your own plugins
    Code (Java):

    AlternativeBlocks.addReplacement(int fromId, short fromData, int toId, List<String> versions);
     


    Links


    Please leave a rating if you like this resource.
    Donations to support me or this resource are also very much appreciated.

Recent Reviews

  1. lululombard
    lululombard
    4/5,
    Version: 1.6.3
    Please update for 1.9 ;)

    Many NMS changes have broken the plugin and I'm trying to use it.
    I'm curently trying to make an anti Xray plugin with it.
  2. Christofmeg
    Christofmeg
    5/5,
    Version: 1.6.3
    Erhm, can't download current version:

    (Forbidden

    You don't have permission to access /download/plugin/ on this server.)
    1. inventivetalent
      Author's Response
      My website currently has some issues. Please read my status message.