summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-07-29 09:52:00 +0200
committermadmaxoft <github@xoft.cz>2013-07-29 09:52:00 +0200
commit4beb495f934af66bfa584ab787207913731ac34b (patch)
tree423cc634013879daf8a87f7e3a4ffc170540ee6e /MCServer
parentPlayer eating is now properly broadcast to other players. (diff)
parentMerge branch 'master' of github.com:mc-server/MCServer (diff)
downloadcuberite-4beb495f934af66bfa584ab787207913731ac34b.tar
cuberite-4beb495f934af66bfa584ab787207913731ac34b.tar.gz
cuberite-4beb495f934af66bfa584ab787207913731ac34b.tar.bz2
cuberite-4beb495f934af66bfa584ab787207913731ac34b.tar.lz
cuberite-4beb495f934af66bfa584ab787207913731ac34b.tar.xz
cuberite-4beb495f934af66bfa584ab787207913731ac34b.tar.zst
cuberite-4beb495f934af66bfa584ab787207913731ac34b.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Core/main.lua8
-rw-r--r--MCServer/settings.ini3
2 files changed, 3 insertions, 8 deletions
diff --git a/MCServer/Plugins/Core/main.lua b/MCServer/Plugins/Core/main.lua
index e6e9b9e48..82b746d7b 100644
--- a/MCServer/Plugins/Core/main.lua
+++ b/MCServer/Plugins/Core/main.lua
@@ -68,7 +68,7 @@ function Initialize(Plugin)
IniFile = cIniFile("settings.ini")
if ( IniFile:ReadFile() == true ) then
HardCore = IniFile:GetValueSet("GameMode", "Hardcore", "false")
- LimitWorld = IniFile:GetValueSetB("Worlds", "LimitWorld", true)
+ LimitWorld = IniFile:GetValueSetB("Worlds", "LimitWorld", false)
LimitWorldWidth = IniFile:GetValueSetI("Worlds", "LimitWorldWidth", 10)
SPAWNPROTECT = IniFile:GetValueSetB("SpawnProtect", "Enable", true)
PROTECTRADIUS = IniFile:GetValueSetI("SpawnProtect", "ProtectRadius", 20)
@@ -76,7 +76,7 @@ function Initialize(Plugin)
IniFile:WriteFile()
end
- if LimitWorldWidth ~= nil then
+ if LimitWorld == true then
cRoot:Get():ForEachWorld(
function( World )
LimitWorldsCuboid[World:GetName()] = cCuboid()
@@ -139,8 +139,6 @@ end
--BEGIN SPAWNPROTECT LOGFILE CODE (COURTSEY OF BEARBIN)
function WriteLog(breakPlace, X, Y, Z, player, id, meta)
- PLUGIN = Plugin
-
local logText = {}
table.insert(logText, player)
@@ -179,6 +177,6 @@ function WarnPlayer(Player)
end
function OnDisable()
- LOG( "Disabled " .. Plugin:GetName() .. " v." .. Plugin:GetVersion() )
+ LOG( "Disabled Core!")
end
--END AWESOMENESS :'(
diff --git a/MCServer/settings.ini b/MCServer/settings.ini
index 00b3b1e44..5e6ed4e2b 100644
--- a/MCServer/settings.ini
+++ b/MCServer/settings.ini
@@ -19,9 +19,6 @@ Plugin=Core
Plugin=ChunkWorx
Plugin=ChatLog
-[HelpPlugin]
-ShowPluginNames=1
-
[Monsters]
AnimalsOn=0
AnimalSpawnInterval=10