Lattice

Quick rating

Lattice

No reviews yet

A mod designed for SMP servers, with a lot of useful features and utilities!

Mod Loaders
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.3.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Lattice

Lattice is a Minecraft mod intended to be used on SMP servers to manage many useful features for players.
For it to work, it needs to be installed on the server and the client.

Features

  • Player nickname and status management
  • Night vision toggle for players
  • Server configuration management (save/reload)
  • Message of the Day (MOTD) rotation
  • Detection of illegal/cheat mods
  • Decorators for enhanced in-game experience (e.g., time/status decorators)
  • Configurable PvP settings per player
  • Server, end and nether opening dates
  • Rules need to be accepted by players to play
  • Server configurable Discord RPC

Commands

Below is a list of all available commands and their functionality:

/nv

  • Toggles Night Vision

/nick [nickname]

  • Sets or removes your nickname
  • If you pass your actual Minecraft name as the nickname, your nickname is removed
  • If called without arguments, shows your current nickname

/status [<status>|reset]

  • Changes your status message
  • If you pass reset as the status, your status is removed
  • If called without arguments, shows your current status message

/lattice <action> [subAction] [subActionArg]

  • Performs administrative actions (requires permission level 2)
  • Available actions:
    • config - Manage server configuration
      • save - Saves the current configuration to disk
      • reload - Reloads the configuration from disk
      • motd - Manage Message of the Day
        • add - Adds a new MOTD
        • remove - Removes a MOTD
        • list - Lists all MOTDs
      • <illegal|allowed> - Manage illegal and allowed mods
        • add - Adds a new mod to the list
        • remove - Removes a mod from the list
        • list - Lists all mods in the list
        • pvp - Manage PvP settings
          • <player> - Specifies the player
            • <enable|disable> - Enables or disables PvP for the specified player
        • rules - Manage rules for a player
          • <player> - Specifies the player
            • <enable|disable> - Accepts or declines rules for the specified player
    • open - Manage server and end opening dates
      • <dimension> - Specifies what to modify [nether, end, server]
        • <date> - Sets the opening date in the format YYYY-MM-DD hh:mm:ss
    • nick - Manage nickname for a player
      • <player> - Specifies the player
        • remove - Removes the nickname for a player
      • <nickname> - Sets the nickname for a player
    • status - Manage status messages for a player
      • <player> - Specifies the player
        • remove - Removes the status message for a player
        • <status> - Sets the status message for a player
    • help - Shows a link to the repository
  • Examples:
    • /lattice config save
    • /lattice motd add Welcome to the server!
    • /lattice illegal list
    • /lattice pvp PlayerName enable
    • /lattice open end 2024-12-31 23:59:59
    • /lattice rules PlayerName disable
    • /lattice nick PlayerName remove
    • /lattice status PlayerName COOL

Configuration

  • Config file is stored as config.json under lattice in the server config directory
  • You can change the time when the end or the server will be opened
  • MOTDs and a list of illegal mods can be configured
  • Each player has configurable options:
    • PvP enabled/disabled
    • Nickname
    • Status message
    • Rules enabled/disabled

Configuring the rulebook

To configure the rulebook, you need to manually edit the config.json file. Example:

"rules": [
"{\"text\":\"Rule 1\",\"color\":\"aqua\"}",
"{\"text\":\"Rule 2\",\"color\":\"red\"}",
"{\"text\":\"Rule 3\",\"color\":\"aqua\"}",
"{\"text\":\"Rule 4\",\"color\":\"blue\"}",
"[\"\",{\"text\":\"Do you accept these rules?\\n\"},{\"text\":\"[\\u2713]\",\"color\":\"green\",\"click_event\":{\"action\":\"change_page\",\"page\":10000}},{\"text\":\" \",\"color\":\"reset\"},{\"text\":\"[\\u2717]\",\"color\":\"red\",\"click_event\":{\"action\":\"change_page\",\"page\":5000}}]"
]

Each entry in the rules array is a JSON object.
You have to use a JSON text component for each rule.
I recommend using this website to create it easier, but do keep in mind that the generated JSON will need some adjustments to work properly in the config file.
For example, the website generates a click event as clickEvent but it needs to be click_event in the config file.
You can also modify what the player should click to accept or decline the rules by going to a page with a high number ( e.g., 10000) and a low number (e.g., 5000) respectively.

Known issues

  • The hopper sort doesn't work with lithium's hopper optimizations enabled. Please disable them in the lithium config if you want to use hopper sorting. Add this to config/lithium.properties:
mixin.block.hopper=false

Screenshots

Gallery

  • A small overview of the features!
    A small overview of the features!
  • Discord RPC Singleplayer
    Discord RPC Singleplayer This is what discord rpc looks like in singleplayer

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works