Project Zomboid

Project Zomboid

Server Points
 此主题已被置顶,因此可能具有重要性
Browser8  [开发者] 2022 年 6 月 19 日 上午 3:47
How to Configure (For Server Owners)
The configuration file is located in the Lua folder found in %USER%/Zomboid/Lua for hosted servers or %INSTALLDIR%/Zomboid/Lua for dedicated servers and is called ServerPointsListings.ini

An example configuration would be:
return { TabName = { { type = "ITEM", target = "Base.Rake", quantity = 1, price = 100 }, { type = "ITEM", target = "Base.Book", quantity = 2, price = 400 } }, AnotherTab = { { type = "DIV", target = {"AAAAAA", "BBBBBBBB"} }, { type = "VEHICLE", target = "Base.VanSpiffo", price = 1000 } } }
The config is a lua table, use a lua linter to check if your config follows the correct syntax!

Explanation
  • You can have however many tabs you want and each tab can have whichever type and amount of listings.

  • Within a tab are the listings, the parameters for a listing are type, target, quantity and price. Vehicles don't use the quantity parameter.

  • The currently supported type parameter options are ITEM, XP and VEHICLE and DIV.

Please don't leave comments here.
最后由 Browser8 编辑于; 2023 年 4 月 9 日 上午 11:29