CloudSystem CodeSnipped | Sign Blocks

Aug 18, 2016
CloudSystem CodeSnipped | Sign Blocks
  • Create Blocks behind your Signs depending on the status!

    [​IMG]

    Here is a code example how to set a block behind the sign to change the optical appearance. You just need to run it on the Enable part of your Plugin, and here you go :D

    Code (Text):

            CloudSystemAPI.init("YourPlugin");

            CloudSystemAPI.getSignAPI().setSignBlocks(true);
            CloudSystemAPI.getSignAPI().setDefaultSignBlock((byte) 8);
            CloudSystemAPI.getSignAPI().addSignBlock("ONLINE", (byte) 5);
            CloudSystemAPI.getSignAPI().addSignBlock("FULL", (byte) 4);
            CloudSystemAPI.getSignAPI().addSignBlock("INGAME", (byte) 14);
            CloudSystemAPI.getSignAPI().addSignBlock("OFFLINE", (byte) 15);
     
  • Loading...
  • Loading...