Go to file
2024-06-12 17:54:39 +02:00
dev Initial commit 2024-06-12 15:42:01 +00:00
.luacheckrc Initial commit 2024-06-12 15:42:01 +00:00
api.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
chatcommand_admin.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
chatcommand_player.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
chatcommands.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
config.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
globalsteps.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
information.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
init.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
initialize.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
internal.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
LICENSE-CC0 Initial commit 2024-06-12 15:42:01 +00:00
LICENSE-MIT Initial commit 2024-06-12 15:42:01 +00:00
LICENSE.md Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
mod.conf Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
priv_example.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
privs.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
README.md Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
screenshot.png Initial commit 2024-06-12 15:42:01 +00:00
settingtypes.txt Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
setup.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00
texts.lua Renames mod to yl_api_food 2024-06-12 17:54:39 +02:00

yl_api_food

Purpose

This mod is not meant to bring functionality by itself, but to serve as a template you can base your mod on. Remove the components you do not want and expand on those you want.

Download

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

Installation

  1. Copy the "yl_api_food" folder to your mod directory.
  2. Enable the mod in your world.mt file.

Configuration

yl_api_food.debug = false

Set to true to enable debug mode

yl_api_food.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_api_food, 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