Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Configuration

SBPrime edited this page Feb 2, 2014 · 2 revisions

Back to main page

Sections

rendering

This section contains parameters for configuring the block placer.

  • interval - number of ticks to wait between block drawing runs (for current bukkit version 1 tick = 1/20s)
  • blocks - number of blocks placed in each drawing package

Check Block Placer & Lags for more info.

texturePacks

This section contains information on the texture packs used for drawing blocks. You can use zip or jar's. This section is a list of strings. MCPainter uses those texture packs to override default texture packs. Each line needs to have this format: :.

  • texture file - texture pack file (the file must by in /plugins/MCPainter directory).
  • res - texture pack resolution

Sample:

  • - texture/faithful32pack.zip:32 - use faithful32pack.zip texture file from textures dir.

maxSizeNodes

This section contains definition of all size nodes available for users when drawing pixelart. Those nodes are used for MCPainter.user.size.<WxH> permission nodes. Only nodes defined in this sections are checked when drawing images. Each node entry must by in <WxH> format.

Sample:

  • - 80x60 - defines a node 80x60pixels

price

This section is used to determine how much a player has to play to execute a command.

Line format: <Command_Name>:<Price>

  • <command_name> - this is the name of the command. Valid values: block, image, map, statue, filters.crop, filters.dithering, filters.grayscale, filters.resize
  • <price> the amount of the money a player a player pay to execute the command

BlocksHub

  • logBlocks - enable blocks logging using blocks hub
  • checkAccess - enable blocks access control using blocks hub

== other ==

  • modsFolder - the mods location folder
  • checkVersion - disable or enable checking if you are running the latest version
  • maxSize - maximum size of the image the user is allowed to draw (this value is used if no MCPainter.user.size.<WxH> node are assigned to the user).
  • version - config file version (do not change this!)

Sample

mcpainter:
  version: 4
  texturePacks:
    - texture/faithful32pack:32
  rendering:
    interval: 15
    blocks: 1000
  checkVersion: true
  maxSize: 80x60
  blocksHub:
    logBlocks: true
    checkAccess: false
  maxSizeNodes:
    - 100x100
    - 160x120
  modsFolder: mods
  logger: none  
  price:
    - block:0
    - image:0
    - map:0
    - statue:0
    - filters.crop:0
    - filters.dithering:0
    - filters.grayscale:0
    - filters.resize:0

Clone this wiki locally