CONFIGURATION

MagnetBlock can be configured by a text file. This is absolutely optional, if you don't provide one, it will use the defaults that you are used to. With the configuration file you can adjust the blocktype of the magnets and which items should move in which direction. Example Configuration file with default values: Code:

  • #What blocktype should magnets be?
  • magnet=IRON_BLOCK
  • #Configure the actions of items.
  • #item=ITEM,x,y,z
  • #this decides how much the structure is moved when you use the specified item.
  • item=FEATHER,1,0,1
  • item=STICK,0,1,0
  • #How much should the structures accelerate?
  • maximumspeed=1

Create a new file in server/plugins/MagnetBlock, called “magnetblock.cfg“ The magnet-property should be clear. With item=, you can create a new push/pull item and define on which axes the item should push or pull. If you type in 1,1,1 , the specified item will move the structure in any direction. This is still dependent from the view of the player that clicks on the structure. If you type in 2,0,2 , the structure will move only on x and z axis, but will move by 2 blocks.


Comments

Posts Quoted:
Reply
Clear All Quotes