1.20-9.2.0:
- New named number system where you have variables with a name and an integer value:
- Two new commands: 'numbers' to show the current numbers and 'setnumber' to set a number
- New 'number' test that can be used in almost all rules to test if a number satisfies a given expression. Example expression: "number": { "name": "mycounter", "expression": "gt(10)" }
- This test also works for events and spawner rules. Basically everwhere that you can test for a phase you can now also test for a number
- New event action called 'number'. This will allow you to modify a number when an event happens. For example: { "name": "mycounter", "value": "+1" }
- New 'changenumber' action that can be used in many rules. Same syntax as the number event action: "changenumber": "mycounter=+1"
- Various fixes and improvements to the phase system:
- Manually set phases will now also be persisted when the world is reloaded
- New event action called 'phase'. This will allow you to set or clear a phase when an event happens. For example, you can now set a phase when a player kills a mob and then use that phase in a spawner rule to spawn mobs only when that phase is set
- The 'phase' test is now also supported for experience, loot, effect, harvest, left click, right click, place, and summon aid rules
- New custom event:
- New 'customevent' action that you can use from within many rules to fire a custom event
- New event trigger called 'custom'
- New 'result' called 'deny_with_actions' which will deny the event but still execute the actions. This can be used to deny the spawn of a mob but still send out an event
InControl 1.20-9.1.0
- New events.json system that allows the player to spawn mobs whenever something happens. Still work in progress
- Implemented 'mob_killed' and 'block_broken' events
- New 'eventspawn' test in 'spawn.json' that can be used to test for mobs spawned by the new events.json system
- Added new 'setphase', 'clearphase', and 'togglephase' actions for effects, experience, leftclicks, rightclicks, harvests, and spawn events
- New area system in 'areas.json'. This can be used by map makers to define predefined locations on the map. These areas can then be used in various rules. For example to create a peaceful area on a server
- New 'area' test that can be used in nearly all rules (like spawn.json, loot.json, effects.json, ...). This will evaluate to true if the position is in the specified area
- Added new /incontrol area command to show the current area
- Added 'setphase' and 'clearphase' commands
InControl 1.20-9.0.0
- In Control for 1.20 works differently then previous versions. "onjoin" is gone. Instead there is now "when" with four possible values 'position', 'onjoin', 'finalize', and 'despawn'
- The 'special.json' file is gone. Instead you can now use 'spawn.json' for all your needs. Using 'when' at finalize you can now control the equipment and stats of mobs
- Merged all FxControl functionality into InControl