- Download the latest version here
- Put the .jar in your plugins folder
- And finally, start your server!
Plugin for your Nukkit Server to troll everyone
- Player Selector:
- Variety of traps:
Maven:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Josscoder</groupId>
<artifactId>UltimateTroll</artifactId>
<version>1.0.0</version>
</dependency>
import cn.nukkit.Player;
import josscoder.ultimatetroll.UltimateTrollPlugin;
import josscoder.ultimatetroll.trap.Trap;
public class CreateTrap {
public static void main(String[] args) {
UltimateTrollPlugin.getInstance().getHelper().registerTrap(new Trap() {
@Override
public void init() {
System.out.println("Initialized!");
}
@Override
public String getSimpleName() {
return "TestTrap";
}
@Override
public void onExecute(Player target) {
target.sendMessage("Hello");
}
@Override
public void close() {
System.out.println("Closing...");
}
});
}
}
import josscoder.ultimatetroll.UltimateTrollPlugin;
public class RemoveTrap {
public static void main(String[] args) {
UltimateTrollPlugin.getInstance().getHelper().deregisterTrap("Burn");
}
}
import josscoder.ultimatetroll.UltimateTrollPlugin;
public class GetTrap {
public static void main(String[] args) {
UltimateTrollPlugin.getInstance().getHelper().getTrap("Burn")...
UltimateTrollPlugin.getInstance().getHelper().getTrap("BurnTrap")...
}
}
This plugin is licensed under the Apache License 2.0 LICENSE, this plugin was completely created by Josscoder (José Luciano Mejia Arias)