Archived
0

переход на groovy конфигурацию

This commit is contained in:
2019-02-17 23:26:03 +03:00
parent f08190fba7
commit 72c24b2adf
17 changed files with 198 additions and 211 deletions

26
core/sample-config.groovy Normal file
View File

@@ -0,0 +1,26 @@
beans {
xmlns([context:'http://www.springframework.org/schema/context'])
context.'annotation-config'()
config(mc.core.embedded.ConfigFromSpring) {
descriptionServer = 'MC Core - LIMBO'
maxPlayers = 1
}
playerManager(mc.core.embedded.FakePlayerManager)
timer(mc.core.time.IdleTime) {
gameTime = 1000
}
coreEventListener(mc.core.CoreEventListener)
gameLoop(mc.core.GameLoop) {
gameTimer = timer
percentWarnLowTps = 15
}
chatProcessor(mc.core.chat.SimpleChatProcessor)
server(mc.core.embedded.FakeServer)
}