Actio-1.1.0.jar
What's new
Actio 1.1.0: custom actions. The admin puts any command on the wheel.
Works with Hytale 0.7.x (Update 7). Tested on 0.7.5, in game, on a local server: creating actions and subcategories, the command running as the player, the empty wheel with the indicator, the menu shortcut and picking the places with the magnifier. An admin-only action seen by a player without the permission, and the new screens on the wheels of 7, 10 and 15, were not checked in game.
Until now, only a mod using the Actio API could put actions on the wheel. Now the admin creates actions in the menu: a name, an image and the command the action runs. Use it to open, from the wheel, the screen of any mod that has a command. The wheel also no longer disappears when it is empty, it gained a shortcut to the admin menu, and, with categories off, the admin builds the first level with actions, categories and subcategories.
Custom actions
The admin menu (/actio menu) has a new tab, "Custom actions". There the admin creates an action with a name, shown on the wheel the same for everyone, the command, as typed in chat, the category, the subcategory and the image. The list shows each action with its image, its name, where it sits on the wheel and its command, with Edit and remove. Up to 24 actions.
The command runs as the player who picked the action, with that player's permissions, as if they had typed it. Actio never runs a command as the console: a player without permission for the command gets the game's own refusal.
Only for administrators
Each custom action can be marked as only for administrators. That only decides who sees it on the wheel: players with the merlinz.actio.wheel.admin permission (OPs have it). Other players don't see the action. What the command can do still depends on the permissions of whoever runs it.
The admin's own subcategories
The admin creates subcategories, each with a name and an image, and picks, on each action, which one it goes in; with none picked, the action goes in "Shortcuts". Two subcategories can't have the same name, changing one changes all its actions, and removing one sends its actions back to "Shortcuts". On the wheel, a category that only has one admin subcategory gives its place to it: "Other" with only "Commands" shows "Commands".
Ready-made images and the game's icons
The image of an action or a subcategory comes from a picker: 20 ready-made Actio icons (shop, bank, mail, chat, home, warp, map, quest, rewards, ranking, settings, help, info, friends, guild, skills, kit, vote, calendar and the shortcuts bolt) and the item icons of the game and of the server's mods, in pages, with search by name.
The wheel is always there
The indicator next to the heart always shows, and holding E with an empty hand opens the wheel even with no actions, with empty places. Before, with no actions, E stayed the game's and the indicator disappeared. This means the empty-hand E now belongs to Actio on every server that installs it.
The menu shortcut on the wheel
The wheel of administrators has an Actio action, in Tools, that opens the admin menu. It is on by default, and the admin removes it with the "Actio menu shortcut on the wheel" option (MenuAction). /actio menu keeps working.
A wheel built by the admin
With categories off, each place of the wheel takes an action, a whole category or a subcategory. A category or subcategory in a place opens when the mouse rests on it, with everything inside: the admin brings to the first level what would sit deeper with categories on, in any order. In the menu, the magnifier of each place opens a screen where the admin browses the wheel, level by level, and chooses what the place shows; the arrows still step through the same choices.
The config file
config.json moves to version 4, with MenuAction, CustomSubcategories and CustomActions; in WheelActions, a place can be an action id, @Economy (a category) or @Economy/<id> (a subcategory). A file from an earlier version still works, and is rewritten as version 4 on the first change.
For mods
The API contract is still version 1, and nothing changes for mods that already use it. The integration guide was updated with what changed on the wheel.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects