Unofficial site, not affiliated with modrinth.com.What is this?
Моды/Boris Lib
Boris Lib

Boris Lib

A library for my Server-Sided Fabric Mods. Contains a lot of very useful stuff for myself and other modders!

635
3

Welcome to BorisLib!

This is a Library for most of my heavier Server-Sided Fabric Mods

This library has a few key features:

  • Polymer-based Graphical Items for server-sided GUIs
  • A robust framework for generating paged and configurable server-sided GUIs
  • A built-in powerful mod config / properties file manager
  • A system for storing mod data on Players, Worlds or Globally, with easy offline access
  • A 'Conditions' system that acts like potion effects with the granularity and stackability of entity attributes
  • A game-event system for keeping track of specific player actions
  • A timer and login callback system for events that take place after a certain amount of time, or when a player returns to the server.
  • A server-based velocity tracker for estimating the player's movement vectors without specialized packets
  • A library of modular, pre-made, geometric and animated particle effects
  • A whole bunch of useful utility methods for various mathematical operations, data structures, algorithms, text and sounds.

Texture Pack

The server has the ability to automatically generate and serve the mod's texture pack to your players when they connect. To do this, you must enable auto-host. This is super easy to do in a few steps:

  1. Launch the server with the mod installed at least once to generate the configs
  2. Go into the 'config' folder of the server, there should be a folder called 'polymer', and inside that there should be a file called 'auto-host.json'
  3. In 'auto-host.json', in the first few lines there will be a line that says "enabled": false, change this to true.
  4. (Optional) You can also set the value to make the resource pack required by players, or set the "message" line to inform players why the resource pack is important to download when they are prompted to have it be auto downloaded.

If everything is done correctly, then players will automatically load into the server with the resource pack installed.

Try My Other Mods!

All server-side Fabric mods — no client installation required.

ModDescriptionLinks
Arcana NovumMinecraft's biggest server-only full-feature Magic Mod! Adds powerful items, multiblocks and bosses!GitHub Modrinth CurseForge
Ancestral ArchetypesA highly configurable, Origins-style mod that lets players pick a mob to gain unique abilities!GitHub Modrinth CurseForge
Ender NexusHighly configurable /home, /spawn, /warp, /tpa and /rtp commands all in one, and individually disablable.GitHub Modrinth CurseForge
Fabric MailAn in-game virtual mailbox system for sending packages and messages between online and offline players.GitHub Modrinth CurseForge
Fabric TradeAdds /trade, a secure player-to-player trading interface.GitHub Modrinth CurseForge
Limited AFKAFK detection and management with configurable kick thresholds for servers.GitHub Modrinth CurseForge
Links in ChatMakes URLs posted in chat clickable.GitHub Modrinth CurseForge

Permission Nodes

BorisLib uses the Fabric Permissions API for command permissions. Each node has a fallback vanilla permission level for servers without a permissions mod.

General

NodeDefaultDescription
borislib.borislibALLAccess the /borislib base command (shows version)
borislib.reloadGAMEMASTERSReload the BorisLib config file

Config

Config commands are generated dynamically per config value. The <modid> and <name> below depend on the mod using the library.

NodeDefaultDescription
<modid>.configGAMEMASTERSList all config values
<modid>.config.<name>.getGAMEMASTERSRead a specific config value
<modid>.config.<name>.setGAMEMASTERSChange a specific config value

Player Data

NodeDefaultDescription
borislib.playerGAMEMASTERSView stored player data via /borislib player <player>

Conditions

NodeDefaultDescription
borislib.conditionGAMEMASTERSAccess the /borislib condition subcommand tree
borislib.condition.addGAMEMASTERSAdd a condition instance to an entity
borislib.condition.removeGAMEMASTERSRemove a specific condition instance from an entity
borislib.condition.clearGAMEMASTERSClear all instances of a condition type from an entity
borislib.condition.getGAMEMASTERSGet the prevailing value of a condition on an entity
borislib.condition.getinstanceGAMEMASTERSGet details of a specific condition instance by ID
borislib.condition.getbaseGAMEMASTERSGet the base (default) value of a condition type
borislib.condition.getinstancesGAMEMASTERSList all instances of a condition type on an entity

Testmod (requires testmodFeaturesEnabled config option)

NodeDefaultDescription
borislib.testmodGAMEMASTERSAccess the /borislib testmod subcommand tree
borislib.testmod.worldcallbackGAMEMASTERSSchedule a repeating world-tick timer callback
borislib.testmod.servercallbackGAMEMASTERSSchedule a repeating server-tick timer callback
borislib.testmod.pagedguiGAMEMASTERSOpen a test paged GUI
borislib.testmod.particlestressGAMEMASTERSRun a particle stress test (~10k particles/tick)
borislib.testmod.returnitemGAMEMASTERSTest the item return timer/login callback system
borislib.testmod.energybarGAMEMASTERSDisplay a test energy bar in the action bar
borislib.testmod.markerGAMEMASTERSAccess world marker subcommands
borislib.testmod.marker.placeGAMEMASTERSPlace a named world marker at your position
borislib.testmod.marker.removeGAMEMASTERSRemove a named world marker
borislib.testmod.marker.listGAMEMASTERSList all world markers across dimensions
borislib.testmod.timestampGAMEMASTERSAccess global timestamp subcommands
borislib.testmod.timestamp.markGAMEMASTERSSet the global timestamp to the current time
borislib.testmod.timestamp.readGAMEMASTERSRead the stored global timestamp

Translation Credits:

  • Russian - Reset1712

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:OSL-3.0
Опубликован:7 месяцев назад
Обновлён:13 часов назад
Главная