« Back to search

Mod

Factions Todo List

by ReadtheStructionsYT · score 1.8 · license: GPL-3.0-or-later

Factions Todo List

Download latest release

Adds a todo list for the Player Factions Redo

chat multiplayer

Factions Todo List

This mod adds a todo list for each faction, which can only be accessed by the faction members.

Adds a command f_todo with several subcommands:

  • Available to all faction members:

    f_todo list - View the faction's todo list

  • Owner-only commands:

    f_todo add <item> - Add a new item to the todo list

    f_todo clear - Clear all items from the todo list

Helper Functions

  • todo.add(faction, item) - Adds a new item to a faction's todo list, initializing the faction's list if it doesn't exist

  • todo.save() - Serializes and saves the current todo items to storage

  • todo.get(faction) - Retrieves and deserializes a faction's todo list from storage, returns empty table if none exists

  • todo.clear(faction) - Clears all todo items for a specific faction and saves the change to storage

    These functions handle the core functionality of storing, retrieving, and managing todo lists for each faction.