create-and-building-chars

Create and Building Chars

So when we use functions create we tell plugin to create "schematic" of chars. Next we must to tell him to build this Chars. So we can build one time a Chars, and plugin will be know as they will look, so next time no must be do this again, any can clear, or build this Chars from minecraft map.

Example create chars from player Location and chars will be face where player look:

int chars = CharUTIL.createCharsByPlayerLocation(p, p.getLocation(), true, "&6Chars create in player position!");
CharUTIL.buildChars(chars);
  1. First is Player
  2. Next is him location where Chars will be created | from this loaction plugin get face this chars.
  3. This is outline of your chars - outline will be add when boolean = true
  4. Last is message who we would to generate (To change color block add "&(0-9,a-f)" - like on chat)

,or from other location where chars will face to spawn:

int chars = CharUTIL.createChars(p.getLocation(), new Location(Bukkit.getServer().getWorld("world").getSpawnLocation()), true, "&2Welcome on &4Merbio &2world&d!");
CharUTIL.buildChars(chars);
  1. First is location where chars will be generate
  2. Second is a location Chars to where are rotated
  3. Outline
  4. Message

Comments

Posts Quoted:
Reply
Clear All Quotes