Added a configuration file. Made various classes read from the configuration.

This commit is contained in:
Tobias Ottenweller
2013-06-17 14:32:49 +02:00
parent 78283a4f34
commit 9e36cf189b
6 changed files with 99 additions and 60 deletions

7
resources/config.yml Normal file
View File

@ -0,0 +1,7 @@
maxGateBlocks: 50
playerGateBlockUpdateRadius: 64
checkForBrokenGateFrames: true
gateTeleportMessage: "Thank you for traveling with Craft Inc. Gates."
showTeleportMessage: true
gateTeleportNoPermissionMessage: "You are not allowed to use this gate!"
showTeleportNoPermissionMessage: true