hypsum is a simple way to add placeholders to Hytale servers. It lets you show dynamic information in messages and text.
api: What you use to make your own placeholders.core: How the placeholders are actually handled.plugin: The main plugin you install on your server.example-plugin: A simple example to show you how it works.
- β‘ Fast: Works quickly without slowing down your server.
- π‘ Safe: No infinite loops or broken messages.
- π€ Player Names: Can show different things for different players.
- βοΈ Customizable: Change how your placeholders look (like using
{}instead of%%).
The latest version of Hypsum API is 1.1.
Add Hypsum API to your project using your build tool of choice.
Add this to your build.gradle or build.gradle.kts:
dependencies {
compileOnly("com.craftlyworks.hypsum:api:1.1")
}dependencies {
compileOnly 'com.craftlyworks.hypsum:api:1.1'
}Add this to your pom.xml:
<dependency>
<groupId>com.craftlyworks.hypsum</groupId>
<artifactId>api</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>Here is how you add a new placeholder:
import com.craftlyworks.hypsum.api.HypsumProvider;
import com.craftlyworks.hypsum.api.placeholder.Placeholder;
HypsumApi api = HypsumProvider.get();
api.registerPlaceholder(new Placeholder() {
@Override
public String getIdentifier() {
return "my_placeholder";
}
@Override
public String getValue(PlayerRef player) {
return "Hello, " + player.getDisplayName();
}
});To replace placeholders in a string:
String text = "Welcome %my_placeholder%!";
String result = HypsumProvider.get().process(player, text);
// Result: "Welcome Hello, PlayerName!"Make sure to add Hypsum as a dependency in your plugin manifest.json to use these features.
If you want an optional integration, use OptionalDependencies instead.
{
"Dependencies": {
"com.craftlyworks.hypsum:Hypsum": ">=1.1"
}
}Enjoy coding with Hypsum! π₯
To build the project, we use Gradle and Java 25+. Run this command in the root directory:
./gradlew buildΒ© 2026 CraftlyWorks | Licensed under MIT License