90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Version 0.7.0 | Dynamic Variables

Changelog

What are Dynamic Variables

Before, all fields on an entry needed to be filled in with valid values during configuration time. With Dynamic variables, fields can now be substituted with runtime values.

To give you some inspiration of what you can now do:

  • Have cinematics in the world the player is in, instead of in a fixed world. Which is useful for playing cinematics in generated dungeons.
  • Have the skin of a NPC be determined from a placeholder. For making leaderboard NPCs.
  • Having the strength of a potion effect be the value of a fact. For "upgradable skills."
  • Making launch pads shoot the player in the direction where they are looking.

Placeholder Parameters

Sometimes you want to know different details of an entry. Like the time it last got updated. The remaining time until the fact resets. Entries now support parameterized placeholders for more detailed information:

%typewriter_<entry id>:remaining:10%     // Items left to collect
%typewriter_<entry id>:time:expires:relative%     // Time until daily quest is active

New Entries

  • Entity types: ArmorStand, EnderDragon, Parrot, Wolf, BlockDisplay
  • CalculatedFact for complex expressions
  • WeightedRandomTriggerGate for probability-based triggers
  • World and potion effect audience filters

Breaking Changes

  • Extension developers: PlaceholderEntry API updated
  • Random...DialogueEntry deprecated (use RandomVariable instead)

If you find Typewriter valuable for your server, please consider Sponsoring the Project

Files

Typewriter.jar(35.64 MiB) Primary Download
BasicExtension.jar(866.15 KiB) Download
CitizensExtension.jar(28.53 KiB) Download
CombatLogXExtension.jar(29.93 KiB) Download
EntityExtension.jar(864.06 KiB) Download
MythicMobsExtension.jar(70.04 KiB) Download
RPGRegionsExtension.jar(37.02 KiB) Download
SuperiorSkyblockExtension.jar(61.52 KiB) Download
VaultExtension.jar(46.86 KiB) Download
WorldGuardExtension.jar(50.25 KiB) Download

Project members

gabber235

Owner

Details

Published 2 years ago
Updated 11 days ago