mods
This commit is contained in:
BIN
custom/BetterF3-11.0.3-NeoForge-1.21.1.jar
Normal file
BIN
custom/BetterF3-11.0.3-NeoForge-1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/BridgingMod-2.6.2+1.21.1.neoforge-release.jar
Normal file
BIN
custom/BridgingMod-2.6.2+1.21.1.neoforge-release.jar
Normal file
Binary file not shown.
BIN
custom/Controlling-neoforge-1.21.1-19.0.5.jar
Normal file
BIN
custom/Controlling-neoforge-1.21.1-19.0.5.jar
Normal file
Binary file not shown.
BIN
custom/ExplorersCompass-1.21.1-3.4.0-neoforge.jar
Normal file
BIN
custom/ExplorersCompass-1.21.1-3.4.0-neoforge.jar
Normal file
Binary file not shown.
BIN
custom/FarmersDelight-1.21.1-1.3.2.jar
Normal file
BIN
custom/FarmersDelight-1.21.1-1.3.2.jar
Normal file
Binary file not shown.
BIN
custom/FramedBlocks-10.6.0.jar
Normal file
BIN
custom/FramedBlocks-10.6.0.jar
Normal file
Binary file not shown.
BIN
custom/ImmediatelyFast-NeoForge-1.6.10+1.21.1.jar
Normal file
BIN
custom/ImmediatelyFast-NeoForge-1.6.10+1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/Necronomicon-NeoForge-1.6.0+1.21.jar
Normal file
BIN
custom/Necronomicon-NeoForge-1.6.0+1.21.jar
Normal file
Binary file not shown.
BIN
custom/Patchouli-1.21.1-93-NEOFORGE.jar
Normal file
BIN
custom/Patchouli-1.21.1-93-NEOFORGE.jar
Normal file
Binary file not shown.
BIN
custom/Searchables-neoforge-1.21.1-1.0.2.jar
Normal file
BIN
custom/Searchables-neoforge-1.21.1-1.0.2.jar
Normal file
Binary file not shown.
BIN
custom/TravelersTitles-1.21.1-NeoForge-5.1.3.jar
Normal file
BIN
custom/TravelersTitles-1.21.1-NeoForge-5.1.3.jar
Normal file
Binary file not shown.
BIN
custom/YungsApi-1.21.1-NeoForge-5.1.6.jar
Normal file
BIN
custom/YungsApi-1.21.1-NeoForge-5.1.6.jar
Normal file
Binary file not shown.
BIN
custom/appleskin-neoforge-mc1.21-3.0.9.jar
Normal file
BIN
custom/appleskin-neoforge-mc1.21-3.0.9.jar
Normal file
Binary file not shown.
BIN
custom/architectury-13.0.8-neoforge.jar
Normal file
BIN
custom/architectury-13.0.8-neoforge.jar
Normal file
Binary file not shown.
BIN
custom/baguettelib-1.21.1-NeoForge-2.0.3.jar
Normal file
BIN
custom/baguettelib-1.21.1-NeoForge-2.0.3.jar
Normal file
Binary file not shown.
BIN
custom/cardboardboxes-1.21.1-0.1.2.jar
Normal file
BIN
custom/cardboardboxes-1.21.1-0.1.2.jar
Normal file
Binary file not shown.
BIN
custom/cloth-config-15.0.140-neoforge.jar
Normal file
BIN
custom/cloth-config-15.0.140-neoforge.jar
Normal file
Binary file not shown.
BIN
custom/comforts-neoforge-9.0.5+1.21.1.jar
Normal file
BIN
custom/comforts-neoforge-9.0.5+1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/configured-neoforge-1.21.1-2.6.3.jar
Normal file
BIN
custom/configured-neoforge-1.21.1-2.6.3.jar
Normal file
Binary file not shown.
BIN
custom/corpse-neoforge-1.21.1-1.1.13.jar
Normal file
BIN
custom/corpse-neoforge-1.21.1-1.1.13.jar
Normal file
Binary file not shown.
BIN
custom/corpsecurioscompat-1.21.1-NeoForge-4.0.1.jar
Normal file
BIN
custom/corpsecurioscompat-1.21.1-NeoForge-4.0.1.jar
Normal file
Binary file not shown.
BIN
custom/curios-neoforge-9.5.1+1.21.1.jar
Normal file
BIN
custom/curios-neoforge-9.5.1+1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/drippyloadingscreen_neoforge_3.1.2_MC_1.21.1.jar
Normal file
BIN
custom/drippyloadingscreen_neoforge_3.1.2_MC_1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/entity_model_features-3.2.4-1.21-neoforge.jar
Normal file
BIN
custom/entity_model_features-3.2.4-1.21-neoforge.jar
Normal file
Binary file not shown.
BIN
custom/entity_texture_features_1.21-neoforge-7.1.jar
Normal file
BIN
custom/entity_texture_features_1.21-neoforge-7.1.jar
Normal file
Binary file not shown.
BIN
custom/entityculling-neoforge-1.10.2-mc1.21.1.jar
Normal file
BIN
custom/entityculling-neoforge-1.10.2-mc1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/fancymenu_neoforge_3.9.1_MC_1.21.1.jar
Normal file
BIN
custom/fancymenu_neoforge_3.9.1_MC_1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/fastleafdecay-35.jar
Normal file
BIN
custom/fastleafdecay-35.jar
Normal file
Binary file not shown.
BIN
custom/ferritecore-7.0.3-neoforge.jar
Normal file
BIN
custom/ferritecore-7.0.3-neoforge.jar
Normal file
Binary file not shown.
BIN
custom/ftb-chunks-neoforge-2101.1.17.jar
Normal file
BIN
custom/ftb-chunks-neoforge-2101.1.17.jar
Normal file
Binary file not shown.
BIN
custom/ftb-essentials-neoforge-2101.1.9.jar
Normal file
BIN
custom/ftb-essentials-neoforge-2101.1.9.jar
Normal file
Binary file not shown.
BIN
custom/ftb-library-neoforge-2101.1.31.jar
Normal file
BIN
custom/ftb-library-neoforge-2101.1.31.jar
Normal file
Binary file not shown.
BIN
custom/ftb-teams-neoforge-2101.1.10.jar
Normal file
BIN
custom/ftb-teams-neoforge-2101.1.10.jar
Normal file
Binary file not shown.
BIN
custom/ftb-ultimine-neoforge-2101.1.14.jar
Normal file
BIN
custom/ftb-ultimine-neoforge-2101.1.14.jar
Normal file
Binary file not shown.
BIN
custom/functionalstorage-1.21.1-1.5.7.jar
Normal file
BIN
custom/functionalstorage-1.21.1-1.5.7.jar
Normal file
Binary file not shown.
BIN
custom/handcrafted-neoforge-1.21.1-4.0.3.jar
Normal file
BIN
custom/handcrafted-neoforge-1.21.1-4.0.3.jar
Normal file
Binary file not shown.
BIN
custom/iris-neoforge-1.8.12+mc1.21.1.jar
Normal file
BIN
custom/iris-neoforge-1.8.12+mc1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/jamlib-neoforge-1.3.6+1.21.1.jar
Normal file
BIN
custom/jamlib-neoforge-1.3.6+1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/konkrete_neoforge_1.9.9_MC_1.21.jar
Normal file
BIN
custom/konkrete_neoforge_1.9.9_MC_1.21.jar
Normal file
Binary file not shown.
BIN
custom/kubejs-neoforge-2101.7.2-build.368.jar
Normal file
BIN
custom/kubejs-neoforge-2101.7.2-build.368.jar
Normal file
Binary file not shown.
BIN
custom/kubejsdelight-1.1.6.jar
Normal file
BIN
custom/kubejsdelight-1.1.6.jar
Normal file
Binary file not shown.
BIN
custom/lithium-neoforge-0.15.3+mc1.21.1.jar
Normal file
BIN
custom/lithium-neoforge-0.15.3+mc1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/lootr-neoforge-1.21.1-1.11.37.120.jar
Normal file
BIN
custom/lootr-neoforge-1.21.1-1.11.37.120.jar
Normal file
Binary file not shown.
BIN
custom/melody_neoforge_1.0.10_MC_1.21.jar
Normal file
BIN
custom/melody_neoforge_1.0.10_MC_1.21.jar
Normal file
Binary file not shown.
BIN
custom/morefunctionalstorage-1.2.3.jar
Normal file
BIN
custom/morefunctionalstorage-1.2.3.jar
Normal file
Binary file not shown.
BIN
custom/polymorph-neoforge-1.1.0+1.21.1.jar
Normal file
BIN
custom/polymorph-neoforge-1.1.0+1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/ponderjs-neoforge-1.21.1-2.4.0.jar
Normal file
BIN
custom/ponderjs-neoforge-1.21.1-2.4.0.jar
Normal file
Binary file not shown.
BIN
custom/resourcefullib-neoforge-1.21-3.0.12.jar
Normal file
BIN
custom/resourcefullib-neoforge-1.21-3.0.12.jar
Normal file
Binary file not shown.
BIN
custom/rhino-2101.2.7-build.85.jar
Normal file
BIN
custom/rhino-2101.2.7-build.85.jar
Normal file
Binary file not shown.
BIN
custom/rightclickharvest-neoforge-4.6.1+1.21.1.jar
Normal file
BIN
custom/rightclickharvest-neoforge-4.6.1+1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/simplemagnets-1.1.12c-neoforge-mc1.21.jar
Normal file
BIN
custom/simplemagnets-1.1.12c-neoforge-mc1.21.jar
Normal file
Binary file not shown.
BIN
custom/sodium-extra-neoforge-0.8.7+mc1.21.1.jar
Normal file
BIN
custom/sodium-extra-neoforge-0.8.7+mc1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/sodium-neoforge-0.8.12-alpha.4+mc1.21.1.jar
Normal file
BIN
custom/sodium-neoforge-0.8.12-alpha.4+mc1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/sophisticatedbackpacks-1.21.1-3.25.55.1852.jar
Normal file
BIN
custom/sophisticatedbackpacks-1.21.1-3.25.55.1852.jar
Normal file
Binary file not shown.
BIN
custom/sophisticatedcore-1.21.1-1.4.49.1976.jar
Normal file
BIN
custom/sophisticatedcore-1.21.1-1.4.49.1976.jar
Normal file
Binary file not shown.
BIN
custom/spark-1.10.124-neoforge.jar
Normal file
BIN
custom/spark-1.10.124-neoforge.jar
Normal file
Binary file not shown.
BIN
custom/supermartijn642configlib-1.1.8-neoforge-mc1.21.jar
Normal file
BIN
custom/supermartijn642configlib-1.1.8-neoforge-mc1.21.jar
Normal file
Binary file not shown.
BIN
custom/supermartijn642corelib-1.1.21-neoforge-mc1.21.jar
Normal file
BIN
custom/supermartijn642corelib-1.1.21-neoforge-mc1.21.jar
Normal file
Binary file not shown.
BIN
custom/tagtooltips-neoforge-1.21.1-1.2.0.jar
Normal file
BIN
custom/tagtooltips-neoforge-1.21.1-1.2.0.jar
Normal file
Binary file not shown.
BIN
custom/titanium-1.21-4.0.43.jar
Normal file
BIN
custom/titanium-1.21-4.0.43.jar
Normal file
Binary file not shown.
BIN
custom/torchmaster-neoforge-1.21.1-21.1.9.jar
Normal file
BIN
custom/torchmaster-neoforge-1.21.1-21.1.9.jar
Normal file
Binary file not shown.
BIN
custom/trashcans-1.0.18c-neoforge-mc1.21.jar
Normal file
BIN
custom/trashcans-1.0.18c-neoforge-mc1.21.jar
Normal file
Binary file not shown.
BIN
custom/utilitarian-1.21.1-0.19.2.jar
Normal file
BIN
custom/utilitarian-1.21.1-0.19.2.jar
Normal file
Binary file not shown.
BIN
custom/voicechat-neoforge-1.21.1-2.6.18.jar
Normal file
BIN
custom/voicechat-neoforge-1.21.1-2.6.18.jar
Normal file
Binary file not shown.
BIN
custom/welcomescreen-neoforge-1.0.0-1.21.1.jar
Normal file
BIN
custom/welcomescreen-neoforge-1.0.0-1.21.1.jar
Normal file
Binary file not shown.
BIN
custom/yeetusexperimentus-neoforge-87.0.0.jar
Normal file
BIN
custom/yeetusexperimentus-neoforge-87.0.0.jar
Normal file
Binary file not shown.
BIN
custom/yet_another_config_lib_v3-3.8.2+1.21.1-neoforge.jar
Normal file
BIN
custom/yet_another_config_lib_v3-3.8.2+1.21.1-neoforge.jar
Normal file
Binary file not shown.
BIN
pack/servers.dat
Normal file
BIN
pack/servers.dat
Normal file
Binary file not shown.
123
plan/15-drasl-ui-customization.md
Normal file
123
plan/15-drasl-ui-customization.md
Normal file
@@ -0,0 +1,123 @@
|
||||
# Drasl Web UI Customization
|
||||
|
||||
> How far you can reskin Drasl's web frontend, and what it costs.
|
||||
> Source repo: <https://github.com/unmojang/drasl> · config docs:
|
||||
> <https://github.com/unmojang/drasl/blob/master/doc/configuration.md>
|
||||
|
||||
## TL;DR
|
||||
|
||||
Drasl has **no theme/plugin system**. You get three tiers, increasing effort:
|
||||
|
||||
1. **Config knobs** (runtime, trivial) — rename instance, toggle footer / 3D bg.
|
||||
2. **Static-asset override** (mount, easy) — swap `style.css`, `logo.svg`, `icon.png`.
|
||||
3. **Template / fork** (build, heavy) — edit `view/*.tmpl`, rebuild the image.
|
||||
|
||||
For a "very noob-friendly UI" the realistic win is **tier 2** (reskin CSS + logo)
|
||||
plus a **dead-simple guide page on the landing site** that walks guests through
|
||||
register → login → upload skin, screenshots included. Drasl's own pages stay the
|
||||
backend; the landing page is where you make it friendly.
|
||||
|
||||
---
|
||||
|
||||
## Tier 1 — Config knobs (config.toml)
|
||||
|
||||
Live in `drasl/config/config.toml.tmpl`. Already rendered into the container at
|
||||
`/etc/drasl/config.toml`. No rebuild — just `docker compose restart drasl`.
|
||||
|
||||
| Option | Default | Effect |
|
||||
|--------|---------|--------|
|
||||
| `InstanceName` | `"Drasl"` | Site name shown in header/title. Set to `"Ulicraft Accounts"`. |
|
||||
| `ApplicationOwner` | `"Anonymous"` | Owner label (already `"Ulicraft"`). |
|
||||
| `EnableBackgroundEffect` | `true` | 3D animated background. Off = cleaner/faster. |
|
||||
| `EnableFooter` | `true` | Footer block. |
|
||||
| `EnableWebFrontEnd` | `true` | Master switch for the whole web UI. |
|
||||
|
||||
Low effort, low ceiling. Does **not** change layout, colors, or copy.
|
||||
|
||||
---
|
||||
|
||||
## Tier 2 — Static-asset override (CSS + logo) ← recommended
|
||||
|
||||
Drasl serves static files from **`DataDirectory`** (default `/usr/share/drasl`).
|
||||
The shipped assets live in the image's `public/`:
|
||||
|
||||
- `style.css` — primary stylesheet (all colors/spacing/theme)
|
||||
- `logo.svg` — header logo
|
||||
- `icon.png` — favicon
|
||||
- `openid-logo.svg` — OIDC button icon (unused here, no OIDC)
|
||||
|
||||
### Plan
|
||||
|
||||
1. Pull the upstream `style.css` as a baseline:
|
||||
<https://raw.githubusercontent.com/unmojang/drasl/master/public/style.css>
|
||||
2. Create `drasl/public/` in this repo. Drop in your edited `style.css`,
|
||||
`logo.svg`, `icon.png`.
|
||||
3. Bind-mount over the container's asset dir in `docker-compose.yml`:
|
||||
|
||||
```yaml
|
||||
drasl:
|
||||
volumes:
|
||||
- ./drasl/config:/etc/drasl:ro
|
||||
- ./drasl/public:/usr/share/drasl/public:ro # <-- add
|
||||
- drasl_state:/var/lib/drasl
|
||||
```
|
||||
|
||||
⚠ **Verify the exact in-container path first** — assets may sit at
|
||||
`/usr/share/drasl/public/` or directly under `/usr/share/drasl/`. Check:
|
||||
|
||||
```bash
|
||||
docker compose exec drasl sh -c 'find /usr/share/drasl -name style.css'
|
||||
```
|
||||
|
||||
Mount to match whatever that prints. Mount the *directory*, not the single
|
||||
file, so the logo/icon ride along.
|
||||
4. `docker compose up -d drasl`. Hard-refresh browser (CSS cache).
|
||||
|
||||
Ceiling: full restyle of existing pages — colors, fonts, button sizes, hide
|
||||
clutter, big friendly upload button. Cannot add/remove page elements or reword
|
||||
text (that's the templates → tier 3).
|
||||
|
||||
---
|
||||
|
||||
## Tier 3 — Templates / fork (heavy)
|
||||
|
||||
Page structure + copy live in Go templates `view/*.tmpl`, **embedded into the
|
||||
binary at build time** (Go `embed.FS`) — not overridable by mounting. Files:
|
||||
|
||||
```
|
||||
root.tmpl user.tmpl player.tmpl registration.tmpl
|
||||
complete-registration.tmpl challenge.tmpl admin.tmpl
|
||||
layout.tmpl header.tmpl footer.tmpl error.tmpl
|
||||
```
|
||||
|
||||
To change them you must **fork + rebuild**:
|
||||
|
||||
1. Fork `unmojang/drasl`.
|
||||
2. Edit `view/*.tmpl` (reword, restructure, add help text/links).
|
||||
3. Build a custom image, push to your registry (or build locally).
|
||||
4. Point `image:` in compose at your fork.
|
||||
|
||||
Maintenance cost: you now track upstream and rebase on releases. Only worth it
|
||||
if tier 2 + landing-page guide aren't enough.
|
||||
|
||||
Alternative to forking: **build a thin custom frontend** that talks to Drasl's
|
||||
HTTP API (see `api.go`) for the one flow guests care about (login + skin
|
||||
upload), hosted at e.g. `${BASE_DOMAIN}/skins`. More code, but total UI control
|
||||
and no upstream coupling. Overkill for 4–10 friends.
|
||||
|
||||
---
|
||||
|
||||
## Recommended path for Ulicraft
|
||||
|
||||
1. **Tier 1**: `InstanceName = "Ulicraft Accounts"`, decide on bg/footer.
|
||||
2. **Tier 2**: reskin `style.css` to match the landing page, swap logo + favicon.
|
||||
3. **Landing-page guide**: add a `/skins` (or `/help`) page on the apex landing
|
||||
site — numbered steps + screenshots: register at `auth.`, log in, upload skin,
|
||||
done. This is what actually makes it noob-friendly; Drasl stays the plumbing.
|
||||
4. Skip tier 3 unless a specific page is confusing enough to justify a fork.
|
||||
|
||||
## Related
|
||||
|
||||
- Skin/cape config flags: see `plan/03-drasl.md` and CLAUDE.md gotchas.
|
||||
- `AllowTextureFromURL = true` lets guests paste a skin URL (e.g. from a skin
|
||||
site) instead of uploading a file — friendlier for non-technical users.
|
||||
Reference in New Issue
Block a user