Aethelgrad Legacy

Aethelgrad Legacy

A legacy Minecraft Bedrock behavior addon built on API 2.5.0, intended for experienced developers and server owners.

ModMC 26.10+Updated 7 months ago
WladyslawKWWladyslawKW2 items

Description

This is the legacy Bedrock scripting core used in early Aethelgrad servers, built on Minecraft Bedrock originally Script API 2.0.0. Active development has since moved away from Bedrock scripting, and this version is released as-is for experienced developers who want to study, reuse, or adapt it.

Read Before Downloading

Not beginner-friendly

Not plug-and-play

JavaScript knowledge required

Manual code editing required

This addon was written for a specific server setup.

There are no config files — behavior is hardcoded in the scripts.

Included Systems

NPC-based kits and teleports

Hub protection and item restrictions

Automated broadcasts

Core command framework with permissions

Item handling utilities (compass, cleanup)

Cooldown logic

Core Features

Hub Protection System

Configurable safe zones with damage nullification

Item banning (lava/water buckets, TNT, etc.)

Hostile mob removal

Admin bypass capabilities

NPC Systems

Kit NPC with 60-minute cooldown starter kits

Teleport NPC with configurable destinations

Interactive UI forms for player interactions

Player Management

Tag-based permission hierarchy (Owner > Admin > Moderator > Helper > Player)

Automatic compass distribution for navigation

Terms of Service display system (shows on first join, re-displays every 6 months)

Background Services

Automated broadcast system with configurable message pools

Ground item cleaner (runs every 20 minutes with countdown)

Natural health regeneration (2-second intervals, 3-second combat grace)

Utility Features

Debug tools (/ae:hubdebug for zone checking)

Combat state tracking

Cooldown management system

Command Registry

Hub Management Commands

/ae:sethub

Sets hub center to your current location

Permission: Admin level (AE, admin, Admin, AEH)

/ae:setradius

Sets hub protection radius

Permission: Admin level (AE, admin, Admin, AEh_manager)

⚠️ BROKEN in API 2.4.0 - numeric arguments cause syntax errors FIXED 2.6.0

/ae:hub (alias: /hub)

Teleports you to hub location

Permission: Anyone can use

Features: 5-second cooldown, combat state checking, anti-spam protection

/ae:hubdebug

Checks if you're in hub protection zone

Permission: Anyone can use

Shows: Position, distances, zone status, bypass status

/ae:banitem

Bans the item you're holding from the hub

Permission: Admin level (AE, admin, Admin, AEH)

Automatically removes banned items from player inventories

NPC Management Commands

/ae:npctp

Sets teleport NPC destination to your current location

Permission: Admin level AEN tag

Default destination: 19681.49, 71.00, -4748.79

System Administration Commands

/ae:bc

Broadcast control system

Subcommands: random, reset, help

Permission: Broadcast managers (AE, admin, Admin, AEB)

/ae:cleaner

Manual trigger for ground item cleaner

Permission: Admin level (AE, AEC, admin, Admin)

Features: 10-second countdown with warnings

Development/Test Commands

/ae:testnumber

  • Tests numeric argument parsing for API 2.6.0 compatibility

/ae:teststring

  • Tests string argument parsing for API 2.6.0 compatibility

Command Limitations

API 2.4.0 Issue: Commands with numeric arguments (like /ae:setradius 50) cause syntax errors.

Workaround: Must edit configuration files or JavaScript source directly for numeric values.

Registration: All commands register on server startup using Bedrock's custom command registry.

Technical Details

Minecraft: Bedrock Edition 1.21.130x - 1.26.x

Script API: 2.6.0 (stable)

Modules: @minecraft/server, @minecraft/server-ui

Technical Architecture

Engine: Minecraft Bedrock API 2.6.0

Modular Design: Bootstrap system with core, features, and services modules

Data Storage: World dynamic properties for persistent configuration

Error Handling: Comprehensive try-catch blocks for API limitations

Workarounds: Multiple fixes for Bedrock API limitations

Configuration Model There is no external configuration.

Coordinates, permissions, and logic are hardcoded

Tags such as AE, admin, Admin are used internally

Changes require editing JavaScript files directly

API Limitations This core contains intentional workarounds for Bedrock API 2.5.0 and 2.6.0 limitations. Some behaviors require:

World restarts

Reloads to apply logic

Accepting inconsistent behavior across versions This is expected for this API level.

Installation

Extract into behavior_packs or double click the mcaddon

Enable the behavior pack in your world

Edit the JavaScript files to match your setup

Restart and test

Notes

This project is not maintained

No updates are planned

No support is provided

Intended for experienced Bedrock developers only

License LGPL-3.0 — free to use, modify, and redistribute. This is a legacy release.

Aethelgrad Discord: https://discord.gg/nEnu8a7Yjd

Do not join expecting support for this addon. This release is provided as-is. This Discord is not for addon help, bug reports, or Bedrock scripting questions. I am a server owner, not an addon support developer. This legacy core is shared for transparency, learning, and archival purposes only.

Changelog

Legacy Release - Version 1.0.1 (Broadcast Overhaul & Stability Patch)

2
3 ### Major Improvements
4 - **STABLE**: Hub management suite (SetHub, SetRadius, HubDebug).
5 - **BETA**: Hierarchical Broadcast Engine (Tier-based weighted random selection).
6 - **PERFORMANCE**: Inventory scan optimization (moved to O(N) Set-based lookups).
7
8 ### Command Suite
9 - **Broadcast System**:

10 - /ae:bc \<msg\> (Quick message) 11 - /ae:bcst \<sec\> (Interval) 12 - /ae:bctmk \<tier\> \<priority\> (Create tier) 13 - /ae:bcmk \<tier\> \<msg\> (Add message) 14 - /ae:bcrm \<tier\> \<idx\> (Remove message) 15 - /ae:bct (Tier management) 16 - /ae:bc66 (Database Purge) 17 18 ### Bug Fixes 19 - Fixed command syntax errors for numeric arguments. 20 - Fixed Hub Protection race conditions during init. 21 - Removed legacy \[Broadcast\] prefix.

Download Files

Aethelgrad_Core1.8 MB.mcaddon
Older versions (1)
Aethelgrad Core1.8 MB.mcaddon
Source: MCPEDL · by WladyslawKW · CurseForge