Actio-1.3.0.jar
What's new
Actio 1.3.0: a quick tap on H runs a command.
Works with Hytale 0.7.x (Update 7). Tested on 0.7.7, in game, on a local server: a command typed in the admin menu, run by a tap on H. A mod taking the tap was not checked in game yet.
Until now, pressing and releasing H quickly, without opening the wheel, did nothing. Now that tap runs a command the admin chooses, or the action a mod linked to it. Holding H still opens the wheel, as before.
The tap command
The admin menu (/actio menu) has a new field, "Command on an H tap", and config.json a new key, TapCommand, empty by default. With a command there (like spawn), a tap on H runs it as the player, with that player's permissions, as if they had typed it in chat. The tap works with a free hand, like the wheel. On E, even when turned on with EKey, a tap still does nothing.
Updating from 1.2.0: your config.json is read as it is, with no tap command, and saved in the new format the next time you change something in the menu or with a command.
Mods and the tap
A mod can also link an action to the tap. There is only one tap: the first mod that claims it keeps it, and the others are refused. Mods from the same family as Actio have priority and take the tap from an outside mod. The admin's command always comes first, and the menu shows which mod holds the tap. The server console says who got the tap and who was refused.
For mod developers
The API has three new methods: claimTap, releaseTap and tapOwner. Mods built for Actio 1.0.0 to 1.2.0 work as they are; a mod that uses the tap asks for >=1.3.0 in its manifest. unregisterAll also releases the tap. The integration guide has the details.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects