advancedinteractions-0.9.2.jar
Curse Maven Snippet
What's new
0.9.2v Changelog:
## New
- **Clickable anything:** text, shapes, images and charts can be clicked, and the click area follows the real shape.
- **Button styles:** square, rounded, pill or circle; solid, outline, glass or gradient; borders, hover glow, icons, hover/press/disabled looks, and reusable presets.
- **Panel frames:** borders and rounded corners on the panel itself.
- **Hover text:** tooltips on any element, clickable or not. Placeholders and colours work in them.
- **Sounds:** hover, success and error sounds on any element.
- **Action chains:** follow-up steps that run "if it worked", "if it failed" or "always", with optional delays and Yes/No confirmations.
- **Variables:** `{var.name}`, per player or global.
- **Input fields:** number, slider, text, toggle and dropdown, read with `{input.name}`. The server checks every value. Scroll the mouse wheel over a slider or number field to change it.
- **Show/hide per player:** "Start hidden" plus `advholo:show`, `advholo:hide` and `advholo:toggle_show`. "Disabled if" greys an element out.
- **Block links:** show what's in a chest, furnace or sign (`{link.container.count:chest}` and more). Click the block to link it, or use `/aholo <id> link add <name> nearest`.
- **Shop buy/sell:** `advholo:trade` with a built-in admin shop, `{trade.max:...}` to show how many a player can afford, and support for store mods and bank-based economies that confirm payments later.
- **Schedules:** `between(18:00,23:00)`, `weekday(sat)`, `night()`, `gametime(...)`, `rotate(...)`, and server flags with `/aholo flag`.
- **Nested placeholders:** e.g. `{price|mul:{input.qty}|round:2}`.
- **10 new animations:** shake, swing, wobble, float, breathe, heartbeat, pop-in, zoom-in, flicker, glow. Slide-in has a direction, and any animation can play only on hover.
- **Colour codes:** `&a`, `&l` and `&#RRGGBB` hex colours work everywhere.
- **Player-owned holograms:** `/myholo create | edit | move | link | list | delete`, or the editor key. They have size, element, text and scale limits, a word filter, a save cooldown, safe actions only, and a configurable list of allowed placeholders. Permission locks are staff-only, and templates are cleaned when players apply them.
- **Staff tools:** `/aholo <id> staff hide | lock | reset | revoke | owner`, `/aholo perf` for the heaviest holograms, and `/aholo log` for who clicked what.
- **Editor:** every feature above, plus alignment and spacing tools. Grid, snap and preview settings are remembered per hologram. Placeholder docs from other mods appear in the picker.
- **Demo:** `/aholo spawndemo` has been rebuilt with 12 pages, and every button does something.
## Changes
- Default click distance is 6 blocks (was 64). It can be set per hologram (`/aholo <id> clickrange`) and is capped by config.
- The server measures click distance to where you clicked on the panel, not to its centre.
## Fixes
- Shape borders were uneven on chevrons, arrows and stars. They now follow the real outline.
- `&` in action parameters split them in the wrong place (`text=&aHi` broke).
- Item icons in text drew below the line and pushed nearby text aside.
- Enlarged button icons drifted to the left.
- Applying a template copied the template author's owner and linked blocks.
- Comparisons like `lt({placeholder,with,commas},5)` split at the wrong comma.
- Elements hanging past the edge of a panel couldn't be clicked.
- The console-action permission check only looked at buttons. It now covers every element, action chains and enter/leave actions.
- Placeholder lists from mods connecting through IMC or reflection didn't show in the editor.
## For developers
- New APIs:
- `HologramClickEvent`: cancel or change clicks.
- Data-source API: add your own block-link providers.
- Shop API: plug in a store mod, including economies that confirm payments later.
- `HologramFactory`: give a player a hologram built from a template.
- `Placeholders.document(...)` and `Shops.document(...)` list your keys in the editor.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

