Variables & Color Codes

ButtonCommands

Variables & Color Codes

- ButtonCommands Version 1.9 -

Variables

Player Variables

  • {N}: (playerName) Gets replaced by the player's name.
  • {PW}: (PlayerWorld) Gets replaced by the player's world.
  • {PX}: (PlayerX) Gets replaced by the player's X coordinate.
  • {PY}: (PlayerY) Gets replaced by the player's Y coordinate.
  • {PZ}: (PlayerZ) Gets replaced by the player's Z coordinate.
  • {PIP}: (PlayerInternetProtocol(Address)) Gets replaced by the player's IP address. Format: 'x.x.x.x'
  • {PIPP}: (PlayerInternetProtocolPort) Gets replaced by the player's IP address and port. Format: 'x.x.x.x:p'
  • {XP}: (eXPerience) Gets replaced by the player's XP amount.
  • {GM}: (GameMode) Gets replaced by the player's gamemode.
  • {ID}: (IDentification) Gets replaced by the player's entity ID.

Block Variables

  • {BW}: (BlockWorld) Gets replaced by the block's world.
  • {BX}: (BlockX) Gets replaced by the block's X coordinate.
  • {BY}: (BlockY) Gets replaced by the block's Y coordinate.
  • {BZ}: (BlockZ) Gets replaced by the block's Z coordinate.

Server Variables

  • {SBV}: (ServerBukkitVersion) Gets replaced by the Bukkit version of the server.
  • {SV}: (ServerVersion) Gets replaced by the CraftBukkit version of the server.
  • {SIP}: (ServerInternetProtocol) Gets replaced by the server's IP. Format: 'x.x.x.x'
  • {SIPP}: (ServerInternetProtocolPort) Gets replaced by the server's IP address and port. Format: 'x.x.x.x:p'
  • {SP}: (ServerPort) Gets replaced by the server's port.
  • {SN}: (ServerName) Gets replaced by the server's name.