- Compatible API Versions
- 1.0.7+
- Contributors
- Verox001
MinigameSigns for NukkitX
Important: This plugin is an API, so you will likely have to include this plugin in YOUR Plugin dependencies.
Create Sign:
At the location, where the sign should be created, there already have to be a sign to apply one.
Update a Sign:
Valid update methods:
Maven Dependency:
Important: This plugin is an API, so you will likely have to include this plugin in YOUR Plugin dependencies.
Create Sign:
Java:
SignsAPI.createMinigameSign(
yourPluginInstance,
locationOfSign,
"nameOfMinigame",
"command to execute, when clicked",
currentPlayerAmountInRound,
maxPlayerAmountInRound,
additionalText
);
Update a Sign:
Java:
SignsAPI.updateMinigameSign<...>(
yourPluginInstance,
blockEntitySignInstane,
yourValueToPass
);
<...> must be replaced with the parameter, you want to modify.
- updateMinigameSignName
- updateMinigameSignCommand
- updateMinigameSignPlayerCount
- updateMinigameSignMaxPlayerCount
- updateMinigameSignAdditionalText
Maven Dependency:
XML:
<dependency>
<groupId>com.cimeyclust.signs</groupId>
<artifactId>MinigameSigns</artifactId>
<version>{current version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/MinigameSigns-{current version}.jar</systemPath>
</dependency>