Brings the city mechanics, services and invasions
Go to file
2025-06-04 23:49:37 +02:00
dev yl_template to yl_cities 2025-06-04 23:49:37 +02:00
.luacheckrc yl_template to yl_cities 2025-06-04 23:49:37 +02:00
api.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
chatcommand_admin.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
chatcommand_player.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
chatcommands.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
config.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
globalsteps.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
information.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
init.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
initialize.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
internal.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
LICENSE-CC0 Initial commit 2025-06-04 22:34:46 +02:00
LICENSE-MIT Initial commit 2025-06-04 22:34:46 +02:00
LICENSE.md yl_template to yl_cities 2025-06-04 23:49:37 +02:00
mod.conf yl_template to yl_cities 2025-06-04 23:49:37 +02:00
priv_example.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
privs.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
README.md yl_template to yl_cities 2025-06-04 23:49:37 +02:00
screenshot.png yl_template to yl_cities 2025-06-04 23:49:37 +02:00
settingtypes.txt yl_template to yl_cities 2025-06-04 23:49:37 +02:00
setup.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00
texts.lua yl_template to yl_cities 2025-06-04 23:49:37 +02:00

yl_cities

Purpose

Brings the city mechanics, services and invasions

Download

Get it from https://gitea.your-land.de/your-land/yl_cities

Dependencies

Delete the Dependency section if your mod has no dependencies

See mod.conf

Installation

  1. Copy the "yl_cities" folder to your mod directory.
  2. Make sure the dependencies are satisfied, if any.
  3. Enable the mod in your world.mt file.

Configuration

yl_cities.debug = false

Set to true to enable debug mode

yl_cities.save_path

Set this to where in the worldfolder you want the JSON files stored.

Usage

This mod targets [servers|singleplayer|...], but should work in [[servers|singleplayer|...], too. It comes with no direct content but exposes functions you can use in your mod.

Chatcommands

Modmakers

Use the following public functions to [achieve your goals]

Limitations

Alternatives

Supported versions

If you use yl_cities, but something is wrong, please file a bug. PRs also welcome.

There is no reason to believe it doesn't work anywhere, but you never know.

Allied projects

If you know a project that uses this mod tell us and we will add it to the list.

Uninstall

Remove it from your mod folder or deactivate it in your world.mt

Mods that depend on it will cease to work, if the mod is removed without proper replacement.

License

[Shorthand of your chosen license: MIT, LGPLv3+, GPLv3+, AGPL, ...]. Please choose one of the major license that is compatible with as much of the MT universe over some obscure and incompatible license. If you use the screenshot.png, keep Styxcolor in there because she made that screenshot.png, if you add your own, replace the line with whoever made it. Example for MIT and CC0:

See LICENSE.md

  • Code MIT Developername
  • Screenshot CC0 Styxcolor

Thank you