forked from Gurke1993/Bankcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
164 lines (136 loc) · 6.07 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# default config.yml for Bankcraft
database:
#Maximum amount of threads that Bankcraft can use to perform banking operations (default:4)
maximumThreads: 4
#Database in which bankcraft stores information (allowed: flatfile/mysql)
typeOfDatabase: flatFile
mysql:
host: 127.0.0.1
port: 3306
databaseName: 'mydatabase'
user: 'Gurke1993'
password: 'cheesecake'
#Migrate database from Names to UUIDs
updateToUUID: false
general:
#Swap left and right click interactions (false/true)
swapClicks: false
#Maximum amount of money/xp on players accounts
maxBankLimitMoney: 50000
maxBankLimitXp: 50000
#Maximum amount of money/xp in players pockets
maxPocketLimitMoney: 50000
maxPocketLimitXp: 50000
#Maximum amount of money/xp that player can borrow from the bank
maxLoanLimitMoney: 1000
maxLoanLimitXp: 100
#Group that the player gets put in if he has borrowed money (if useLoanGroup is true) deactivate this by setting useLoanGroup to false
useLoanGroup: false
loanGroup: debitor
#Should a player that is in debt be reminded on login? (true = yes/ false = no)
remindDebitorOnLogin: true
#Amount of time a player has to wait between two command or sign interactions (in 1/1000th of a second)
timeBetweenTwoInteractions: 1000
#Exchangerate for the exchange from money to experience and visa versa
exchangerateFromMoneyToXp: 0.01
exchangerateFromXpToMoney: 90
#Enable automated exit of ChatInteract-Signs when leaving an area (can cause lag on big servers)
enableAutoExitSigns: true
secondsBetweenPlayerPositionChecks: 5
maximumRange: 20
interest:
#Interest granted on money/experience if the player is online/offline
interestOnMoneyIfOnline: 0.0005
interestOnMoneyIfOffline: 0.0001
interestOnXpIfOnline: 0.001
interestOnXpIfOffline: 0.0002
#Interest charged on money/experience if the player is online/offline and is in debt
interestOnMoneydebtsIfOnline: 0.0005
interestOnMoneydebtsIfOffline: 0.0001
interestOnXpdebtsIfOnline: 0.001
interestOnXpdebtsIfOffline: 0.0002
#Time until interests are given
timeBetweenInterestsInMinutes: 2
#Should it be logged if interests are granted
broadcastToConsole: true
#Should the player get a message if he got interests?
broadcastMoney: true
broadcastXp: true
#Ingame messages
message:
createdSignSuccessfully: 'Created sign succesfully!'
notAllowed: 'You are not allowed to do this!'
removedSignSuccessfully: 'Sign removed!'
errorWhileCreatingSign: 'Could not create Sign!'
balance: '%player2: %balance Dollars!'
balancexp: '%player2: %balanceXp Experience!'
amountAddedSuccessfullyToSign: 'Added %amount to Sign!'
transferedSuccessfully: 'Transfered %amount Dollars from %player to %player2!'
transferedSuccessfullyXp: 'Transfered %amount Experience from %player to %player2!'
depositedSuccessfully: 'Deposited %amount Dollar successfully!'
reachedMaximumMoneyInAccount: 'Reached Accountlimit! (Money)'
notEnoughMoneyInPoket: 'You dont have %amount money in your pocket!'
withdrewSuccessfully: 'Withdrew %amount Dollar successfully!'
reachedMaximumMoneyInPocket: 'Reached Limit of money you can carry around!'
notEnoughMoneyInAccount: 'You dont have %amount money in your account'
accountDoesNotExist: 'Account %player2 does not exist!'
grantedInterestOnMoney: 'You just got %amount Dollar interest on your account!'
couldNotGrantInterestOnMoney: 'Could not grant interest! Accountlimit reached! (Money)'
depositedSuccessfullyXp: 'Deposited %amount Experience successfully!'
reachedMaximumXpInAccount: 'Reached Accountlimit! (XP)'
notEnoughXpInPoket: 'You dont have %amount xp in your pocket!'
withdrewSuccessfullyXp: 'Withdrew %amount Experience successfully!'
reachedMaximumXpInPocket: 'Reached Limit of xp you can carry around!'
notEnoughXpInAccount: 'You dont have %amount xp in your account'
grantedInterestOnXp: 'You just got %amount Experience interest on your account!'
couldNotGrantInterestOnXp: 'Could not grant interest! Accountlimit reached! (XP)'
exchangedMoneySuccessfully: 'Exchanged %amount money for xp!'
exchangedXpSuccessfully: 'Exchanged %amount xp for money!'
interestTimer: 'Interests will be granted in %interestTimeRemaining minutes! Total time: %interestTimeTotal'
nonExistingInteraction: 'This is not a valid interaction, please choose another.'
wrongAmountSyntax: 'This is either not a number or an invalid amount, please choose something else.'
specifyAnInteraction: 'Please type in the Interaction you wish to use.'
specifyAnAmount: 'Please type in the amount you wish to do.'
youHaveQuit: 'You have quit the interaction.'
rankStatsMoney: 'Current richest players:%rankTableMoney'
rankStatsExperience: 'Current experienced players:%rankTableExperience'
debitor: 'You are currently in debt! Please make sure to pay your bills!'
tooFastInteraction: 'You cant interact with Bankcraft this often. Please wait for a moment...'
performingLookup: 'Performing lookup of this player in Minecraft Database! This can take a moment...'
signAndCommand:
version: version
help: help
balance: balance
balancexp: balancexp
deposit: deposit
withdraw: withdraw
depositxp: depositxp
withdrawxp: withdrawxp
exchange: exchange
exchangexp: exchangexp
interesttimer: interesttimer
chatinteract: chatinteract
transfer: transfer
transferxp: transferxp
rankstats: rankstats
rankstatsxp: rankstatsxp
signColor: 3
admin:
help: help
clear: clear
clearxp: clearxp
set: set
setxp: setxp
grant: grant
grantxp: grantxp
databaseimport: databaseimport
reloadconfig: reloadconfig
chat:
#prefix for all Bankcraft messages
prefix: '[Bankcraft]'
#Color of these
color: 3
#Word which stops the interaction with a interaction sign
quit: quit
#amount of players that are shown in the rank tables
rankTableLength: 5