Sable Quota offers a quota system for physical structures in Minecraft that is tailored to individual players, effectively capping the number of structures each player can create. This feature helps in managing the usage of resources in the game world while preventing over-exploitation.
Understanding Sable Quota
A Cutting-Edge Server Mod
Sable Quota is designed for Minecraft versions 1.21.1, NeoForge, and Sable. This mod meticulously tracks the ownership of Sable sub-levels via player UUIDs, thereby regulating the quantity of structures players can create. In doing so, it alleviates potential strains on both performance and storage. The mod also includes essential tools for querying, locating, and managing these structures.
Key Features
- Establish default structure limits for both regular players and operators, where a setting of
-1indicates no limit. - Allows customized structure limits on a per-player basis using their UUID, with player data retained even after logout or server reboot.
- Monitors the UUID of structures, their owners, and the last recorded location. Regular unloads do not affect the quota.
- Compatible with various Sable creation methods including simulated assemblers, rotation bearings, and single structure assembly processes.
- Prevents structure creation from exceeding quotas, and informs players of current usage limits via the Action Bar.
- Anticipates structural splitting before blocks are destroyed to avoid quota breaches.
- Structures that are automatically split retain their original ownership and consume the quota separately.
- Offers tools for listing structures, coordinating lookups, and UUID-based deletions.
- Includes an API for third-party mods to facilitate structure creation on behalf of players.
- Resolves crashes related to continuous OBB collisions in edge cases.
Installation and Compatibility
- Minecraft Version:
1.21.1 - NeoForge Version:
21.1.233+ - Required Sable Version:
2.0.3+ - Simulated Integration Target:
1.3.0 - Create Collision Compatibility: Targets
6.0.10
It is important to note that the Sable Quota mod is mandatory for server-side installations, though clients can choose whether to install it. The server handles all quota-related logic, ownership details, commands, and messaging. For clients to avoid collision crashes, they must install the same version of the mod.
Configuration Options
Configuration can be managed in the following file:
config/sable_quota-common.toml
With default settings as follows:
[quota]
maxStructuresPerPlayer = 3
maxStructuresPerOperator = -1
[messages]
creationBlocked = ""
The prioritization of quotas follows this order:
Personal quota > Operator default quota > Normal player default quota
Command List
The following commands and their permissions are integral to managing the quota system:
/sablequota get– Allows players to view their own quota./sablequota list– Enables players to view the structures they’ve created./sablequota set(permission level 2) – Used for setting a player’s personal quota./sablequota add(permission level 2) – Increases a player’s quota./sablequota remove(permission level 2) – Reduces a player’s quota./sablequota reset(permission level 2) – Resets a player’s personal quota./sablequota delete(permission level 2) – Deletes a specific structure./sablequota reload(permission level 2) – Reloads the configuration settings.
Data Storage and Performance Efficiency
All quota-related data is securely stored in:
/data/sable_quota_structures.dat
Furthermore, the mod employs runtime indexes to provide efficient structure counting, operating at O(1) time complexity. Notably, the mod does not perform exhaustive scans of all structures with each tick, ensuring efficient performance while maintaining functionality.
