CloudSystem CodeSnipped | Sign Blocks
-
Create Blocks behind your Signs depending on the status!
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
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...
XenCarta PRO
© Jason Axelrod from 8WAYRUN.COM