More work on the config and also start working on the language messages.

This commit is contained in:
graywolf336 2013-12-22 12:19:29 -06:00
parent 2f27152987
commit 3f65450495
3 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -43,3 +43,4 @@ target/
config.yml config.yml
src/com/matejdro/ src/com/matejdro/
/dependency-reduced-pom.xml /dependency-reduced-pom.xml
/global.yml

View File

@ -11,15 +11,20 @@ storage:
username: 'root' username: 'root'
password: 'password' password: 'password'
jailing: jailing:
during:
countDownTimeWhileOffline: false
ignoreSleeping: true
openChest: true
jail: jail:
automaticMute: true automaticMute: true
countDownTimeWhileOffline: false commands: []
defaultJail: nearest #the jail nearest to the player defaultJail: nearest #the jail nearest to the player
defaultTime: 30m #default the time to 30 minutes, if no time defaultTime: 30m #default the time to 30 minutes, if no time
deleteInventory: false deleteInventory: false
ignoreSleeping: true
logToConsole: true logToConsole: true
logToProfile: false logToProfile: false
storeInventory: true
release: release:
backToPreviousPosition: false backToPreviousPosition: false
commands: []
teleport: true teleport: true

View File

@ -0,0 +1,4 @@
Messages:
Jailed: "&cYou've been jailed!"
JailedWithReason: "&cYou've been jailed for: %s"
UnJailed: "&2You have been released! Please respect the server rules."