Server API

⭐ — (7 endorsements) 📥 3,883 downloads 📌 v1.0.10+1.21.1 📅 10/24/2022
⚪ Last updated 2024

By AuxAtlas · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 8/30/2024 📅 Created: 10/24/2022
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.2% endorsement rate
  • 🏆 #128 of 896 fabric mods in this game by downloads

📋 About This Mod

# Fabric Server API A server api for Fabric aiming to simplify server-side mods significantly. With big goals of make server-sided fabric a much more stable and enjoyable experience. ## Hotkey Menu - **Currently bound to Shift+F** - **DISABLED by default** - Enable via the config file for ServerAPI The hotkey menu currently just allows users to teleport to spawn. In the future it will allow MUCH more including configuration screens for other server-side mods, alternative type of TPA, trading, dueling, and many others. To use the current "teleport to spawn" feature, admins must first set spawn in the menu via the "ADMIN" button on the top-right of it. This will require either the player be an OP, or that they have the ``serverapi.admin`` permission. More features for the **Hotkey Menu** system in the coming months(hopefully). ## Events - PlayerEvents.JUMP - A cancelable jump event for all ServerPlayerEntity - PlayerEvents.SNEAK - A cancelable sneak event for all ServerPlayerEntity - PlayerEvents.BLOCK_BREAK - A cancelable event for when a player breaks a block ## ServerUtils A utility class featuring a array of static methods for you to use! - ``Block getBlockByTag(Identifier);`` - ``ItemStack getHeadFromRaw(String rawId);`` - ``void setStackModelData(ItemStack, int); // For resource packs`` - ``void setStackLore(ItemStack, List<MutableText>);`` - ``MutableText getText(String, Formatting...);`` ## ServerAPI The "main" API to access... or at least thats the goal for the future. Limited use for now! - ``ServerPlayerEntity getPlayerByUUID(UUID, MinecraftServer);`` - ``ServerAPI.Logger`` - Gives a string infused with color attributes for you to log colored text to the console. Abusable so may be disabled by default in future versions via a config option? - ``String Success(String); // green color`` - ``String Warning(String); // yellow color`` - ``String Error(String); // Red color`` - ``String Debug (String); // cyan color`` ### Future Goals - Further Out - A "ServerPlayer" class that would abstract a lot of the more "complex" things about dealing with server-sided fabric mods that interact directly with the Player class. - A lot more events. - Easier configuration file management for YOUR server-side mods! - Easily read/write from offline players. - GUI configuration management for your server-side mods. **Notice:** *Bottles and all of its relations have been scrapped as a concept. Sorry for the hype!*

# Fabric Server API A server api for Fabric aiming to simplify server-side mods significantly. With big goals of make server-sided fabric a much more stable and enjoyable experience.

## Hotkey Menu - Currently bound to Shift+F - DISABLED by default - Enable via the config file for ServerAPI

The hotkey menu currently just allows users to teleport to spawn. In the future it will allow MUCH more including configuration screens for other server-side mods, alternative type of TPA, trading, dueling, and many others.

To use the current "teleport to spawn" feature, admins must first set spawn in the menu via the "ADMIN" button on the top-right of it. This will require either the player be an OP, or that they have the ``serverapi.admin`` permission.

More features for the Hotkey Menu system in the coming months(hopefully).

## Events - PlayerEvents. JUMP - A cancelable jump event for all ServerPlayerEntity - PlayerEvents. SNEAK - A cancelable sneak event for all ServerPlayerEntity - PlayerEvents. BLOCK_BREAK - A cancelable event for when a player breaks a block

## ServerUtils A utility class featuring a array of static methods for you to use! - ``Block getBlockByTag(Identifier);`` - ``ItemStack getHeadFromRaw(String rawId);`` - ``void setStackModelData(ItemStack, int); // For resource packs`` - ``void setStackLore(ItemStack, List);`` - ``MutableText getText(String, Formatting...);``

## ServerAPI The "main" API to access... or at least thats the goal for the future. Limited use for now! - ``ServerPlayerEntity getPlayerByUUID(UUID, MinecraftServer);`` - ``ServerAPI. Logger`` - Gives a string infused with color attributes for you to log colored text to the console. Abusable so may be disabled by default in future versions via a config option? - ``String Success(String); // green color`` - ``String Warning(String); // yellow color`` - ``String Error(String); // Red color`` - ``String Debug (String); // cyan color``

### Future Goals - Further Out - A "ServerPlayer" class that would abstract a lot of the more "complex" things about dealing with server-sided fabric mods that interact directly with the Player class. - A lot more events. - Easier configuration file management for YOUR server-side mods! - Easily read/write from offline players. - GUI configuration management for your server-side mods.

Notice: Bottles and all of its relations have been scrapped as a concept. Sorry for the hype!

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
AuxAtlas
Version
1.0.10+1.21.1
Downloads
3,883
Endorsements
7
Category
fabric
Created
10/24/2022
Updated
8/30/2024
Game Versions
1.21.1
Tags
library, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Server API support?

The author lists 1.21.1. Other versions may work but are untested by the author.

What is the latest version of Server API?

Version 1.0.10+1.21.1, published 2024-08-30 with 3,883 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by AuxAtlas 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods