An open API service indexing awesome lists of open source software.

https://github.com/jossarchived/ultimatetroll

Plugin for your Nukkit Server to troll everyone
https://github.com/jossarchived/ultimatetroll

apixelados java lutorlandia minecraft nukkit surviland troll

Last synced: 7 months ago
JSON representation

Plugin for your Nukkit Server to troll everyone

Awesome Lists containing this project

README

          

UltimateTroll

## 📩 Setup

1) Download the latest version [here](https://github.com/Josscoder/UltimateTroll/releases/latest)
2) Put the .jar in your plugins folder
3) And finally, start your server!

## 📙 Description

Plugin for your Nukkit Server to troll everyone

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_1.png)

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_2.png)

- Player Selector:

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_7.png)

- Variety of traps:

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_3.png)

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_4.png)

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_5.png)

![](https://github.com/Josscoder/UltimateTroll/blob/master/.github/assets/Screenshot_6.png)

## ⏯ Watch the video
[![Watch the video](https://i.imgur.com/WgkocOW.png)](https://www.youtube.com/watch?v=GLZIB9H5-sg)

# For Developers
## 🌏 Add as dependency
Maven:

```xml


jitpack.io
https://jitpack.io

com.github.Josscoder
UltimateTroll
1.0.0

```

## 🕳 Add a trap

```java
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...");
}
});
}
}

```

## 🕳 Remove a trap

```java
import josscoder.ultimatetroll.UltimateTrollPlugin;

public class RemoveTrap {

public static void main(String[] args) {
UltimateTrollPlugin.getInstance().getHelper().deregisterTrap("Burn");
}
}
```

## 🕳 Get a trap

```java
import josscoder.ultimatetroll.UltimateTrollPlugin;

public class GetTrap {

public static void main(String[] args) {
UltimateTrollPlugin.getInstance().getHelper().getTrap("Burn")...
UltimateTrollPlugin.getInstance().getHelper().getTrap("BurnTrap")...
}
}

```

## 📜 LICENSE

This plugin is licensed under the [Apache License 2.0 LICENSE](https://github.com/Josscoder/UltimateTroll/blob/master/LICENSE), this plugin was completely created by Josscoder (José Luciano Mejia Arias)