GithubHelp home page GithubHelp logo

trunkyredstone / ledger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quiltservertools/ledger

0.0 1.0 0.0 1.07 MB

A server-side logging mod for fabric 1.17+

Home Page: https://quiltservertools.github.io/Ledger/latest/

License: GNU Lesser General Public License v3.0

Java 13.09% Kotlin 86.91%

ledger's Introduction

discord

For a much better guide, visit our wiki

Ledger

A world change logging tool for fabric

Ledger can be found on discord at https://discord.gg/GtwDTTr3pe

Install

Put Ledger in your mods folder along with Fabric API and fabric-language-kotlin. When you launch your server, the config file will be created automatically

Configuration

Ledger's configuration file is found in config/ledger.toml

Message theme

Found under [color]

Ledger allows for the customisation of the colors used in the messages sent in game. By default, Ledger uses the blue theme. More themes can be found in the themes file

Search settings

Found under [search]

pageSize [Default: 8] controls the number of actions displayed per page

Database settings

Found under [database]

maxQueueSize [Default: 50] is the number of items logged before writing to the database

queueTimeoutSec [Default: 5] is the maximum amount of time to wait for the queue to fill before writing

Filters

These allow you to control what is and is not logged

Found under [actions]

All listed here are arrays and are formatted like so:

array = []
blocks = ["minecraft:air", "minecraft:dirt"]

typeBlacklist [Default: empty] controls what action types are logged. Hover over the action in a chat message to see the type

worldBlacklist [Default: empty] controls in which dimensions events are logged. Provide

objectBlacklist [Default: empty] controls which objects are logged. These can be item types, block types or entities

sourceBlacklist [Default: empty] controls which sources are logged. Examples are "lava" and "gravity"

Commands

Inspect

/lg inspect - toggles inspect mode /lg inspect [on|off] - enables or disables inspect mode /lg inspect <pos> - inspects the block at a given position

Search

/lg search <args> - searches with the given arguments

Rollback

/lg rollback <args> - rollbacks with filters specified

Page

/lg page <index>

When viewing results, you can use this command to quickly skip to a certain page

Permissions

All Ledger commands support the Luckperms API

The permission nodes are ledger.<command>

All ledger command have fallback on permission level 3 should you not wish to have a permissions mod installed

Contribute

Ledger is written in kotlin, and therefore all contributions should be in kotlin where possible. The sole exception to this is mixins, which must be written in java

ledger's People

Contributors

basiqueevangelist avatar emielderckx avatar fnltochka avatar genau6502 avatar potatopresident avatar sayl6 avatar southpaw1496 avatar tom-the-geek avatar trunkyredstone avatar vacla avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.