BCMacro API

Adds an API that lets mods create specific actions that can be bound to buttons or keys.

BCMacro API

BCMacro API

An API for creating buttons and keybinds.

Getting Started

Prerequisites

To use BCMacro API you fill first need to install a userscript manager.

Installing

Install us via the BCMC Website.

Usage

Go on to the BoxCritters Website and click the the ⚙️Settings button.

Mod Development

When making macros for your mod, enable the mod flag in the constructor so it gets deleted each refresh. After setting up your default settings, run setupMod() on your macro to apply the user settings.

API Reference

All documentation lives here

Examples

View some simple usage examples here.

Licensing

All the code of this project is licensed under the Apache License version 2.0 (Apache-2.0).

	Copyright 2020 TumbleGamer <[email protected]>
	Copyright 2020 The Box Critters Modding Community

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

		http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.

All the documentation of this project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

CC BY-SA 4.0

Requirements (Install in order)