Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| OnActionStuff-0.99.5.jar beta | 1.92 MB | Oct 31, 2019 | 1.12.2 | 45 | Download |
| OnActionStuff-0.99.4.jar beta | 1.91 MB | Oct 30, 2019 | 1.12.2 | 17 | Download |
| OnActionStuff-0.99.3.jar beta | 1.90 MB | Oct 24, 2019 | 1.12.2 | 18 | Download |
| OnActionStuff-0.99.2.jar beta | 1.86 MB | Oct 22, 2019 | 1.12.2 | 24 | Download |
| OnActionStuff-0.2.9.jar alpha | 748.95 KB | Jan 2, 2018 | 1.12.2 | 1,398 | Download |
| OnActionStuff-0.2.6.jar alpha | 742.94 KB | Dec 31, 2017 | 1.12.2 | 64 | Download |
| OnActionStuff-0.2.4.jar alpha | 742.11 KB | Dec 28, 2017 | 1.12.2 | 92 | Download |
| OnActionStuff-0.0.11.jar alpha | 730.27 KB | Nov 4, 2017 | 1.12.2 | 189 | Download |
| OnActionStuff-0.0.9.jar alpha | 727.34 KB | Nov 1, 2017 | 1.12.2 | 66 | Download |
| OnActionStuff-0.0.8.jar alpha | 726.36 KB | Oct 31, 2017 | 1.12.2 | 58 | Download |
| OnActionStuff-0.0.7.jar alpha | 725.92 KB | Oct 31, 2017 | 1.12.2 | 47 | Download |
| OnActionStuff-0.0.6.jar alpha | 712.25 KB | Oct 30, 2017 | 1.12.2 | 52 | Download |
| OnActionStuff-0.0.5.jar alpha | 707.17 KB | Oct 30, 2017 | 1.12.2 | 56 | Download |
| OnActionStuff-0.0.4.jar alpha | 707.01 KB | Oct 30, 2017 | 1.12.2 | 70 | Download |
| OnActionStuff-0.0.3.jar alpha | 707.18 KB | Oct 29, 2017 | 1.12.2 | 63 | Download |
Description
When someone does something, like subscribe or provide a gratuity, performs an action such as giving you their head or spawning a chance cube.
Do Stuff On External Action relies on a lua file to provide the user the ability to determine what needs to be done. The following lua functions are implemented:
- oas.currentPlayer.sendMessage(String) – Send the current player a message in chat.
- oas.currentPlayer.isDead() – Returns a boolean whether the current player is dead.
- oas.delayedExecution(Function, Delay) – Runs Function in Delay milliseconds.
- oas.setBlock(BlockIdentifier, [NBT]) – Sets block at current player's current position, BlockIdentifier being the registry name of the block (ex: "chancecubes:chance_cube"), NBT being optional, a JSON string epresenting the NBT data to give the TileEntity.
- oas.streamlabs.registerCallback(Function) – Registers a function Function to run whenever StreamLabs sends you something.
- oas.primeSkinCache(Username) – Allows you to prime the Minecraft skin cache for all players on the server you're playing on, so as to avoid a lag spike when spawning a head.
- oas.generateFireworksEntityNBT() – Helper function to generate a random firework's NBT data.
- oas.spawnEntity(EntityIdentifier, [NBT]) – Spawn an entity with the registry name EntityIdentifier, NBT being optional, a JSON string representing the associated NBT data.
- oas.consoleLog(String) – Log String to the Minecraft logs.
- oas.generateItemEntityNBT(ItemName, [count, [damage, [NBT]]]) – Helper function to generate the NBT data behind the EntityItem, count, damage, and NBT being optional, requiring the previous items if you need each item.
Note – While no changes to this API are anticipated, they are not ruled out.
Get 0.05 TON 💎
Download
Add a comment