From b12f4ef7d58cfe4d815feb2db1f88f223c7f2a61 Mon Sep 17 00:00:00 2001
From: Lane Kolbly
Date: Thu, 7 Sep 2017 07:41:16 -0500
Subject: Made world data paths adjustable, and added API to temporarily
disable saving chunks to disk. (#3912)
---
Server/Plugins/APIDump/Hooks/OnChunkUnloading.lua | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
(limited to 'Server/Plugins/APIDump/Hooks')
diff --git a/Server/Plugins/APIDump/Hooks/OnChunkUnloading.lua b/Server/Plugins/APIDump/Hooks/OnChunkUnloading.lua
index 98e0a71fd..7317db215 100644
--- a/Server/Plugins/APIDump/Hooks/OnChunkUnloading.lua
+++ b/Server/Plugins/APIDump/Hooks/OnChunkUnloading.lua
@@ -8,8 +8,7 @@ return
Cuberite calls this function when a chunk is about to be unloaded from the memory. A plugin may
force Cuberite to keep the chunk in memory by returning true.
- FIXME: The return value should be used only for event propagation stopping, not for the actual
- decision whether to unload.
+ CAUTION: Preventing the server from unloading chunks can cause the server to use too much RAM, which will adversely affect both performance and stability (i.e. your computer will get slow and crash). Return true sparingly.
]],
Params =
{
--
cgit v1.2.3