This is a system that allows you to block messages, advertisements and commands. There is also an API that allows you to send Bungeecord players to other servers. With the API you can also easily create a countdown. And much things more!
config.yml
# MySystem by EinSpigotPlugin
# ---------------------------
#Commands
Disallowed_Commands:
- /version
- '/minecraft:'
- /pl
- /about
- /me
Disallowed_Commands_Perm: Disallowed.Commands.Perm
Disallowed_Command_Run: '&7[&cSystem&7] &cDieser Befehl existiert nicht!'
Disallowed_Messages:
- huso
- arschloch
- wichser
- fotze
- hurensohn
- schwul
- behindert
- lespisch
- lespe
- untermensch
- neger
- schwanz
- penis
- ez
- schlampe
- nutte
- hure
- bustard
- hundesohn
Disallowed_Messages_Perm: Disallowed.Messages.Perm
Disallowed_Messages_Run: '&7[&cSystem&7] &7Du darfst das Wort: &c%msg% &7nicht benutzen!'
Disallowed_Domains:
- .net
- .com
- .de
- .tk
- .eu
- .me
- .at
- .ch
- .info
- .org
- .biz
- .nl
- .space
- .ml
Disallowed_Domains_Perm: Disallowed.Domains.Perm
Disallowed_Domains_Run: '&7[&cSystem&7] &7Du darfst keine Werbung machen!'
CountDown - Class
private static int taskid;
public static void startCountdown() {
taskid = MySystem.getTimer().startCountdown(main.getPlugin(), 20, 30);
}
@EventHandler
public void on(TimerSecondChangeEvent e) {
if(e.getTimerID() == taskid) {
switch (e.getTime()) {
case 30: case 20: case 15: case 10: case 5: case 4: case 3: case 2:
Bukkit.broadcastMessage("[§cTimer§f] §eDer Timer endet in §6" + e.getTime() + " §eSekunden.");
for(Player all : Bukkit.getOnlinePlayers())all.playSound(all.getLocation(), Sound.CLICK, 1, 1);
break;
case 1:
Bukkit.broadcastMessage("[§cTimer§f] §eDer Timer endet in §6" + e.getTime() + " §eSekunde.");
for(Player all : Bukkit.getOnlinePlayers())all.playSound(all.getLocation(), Sound.CLICK, 1, 1);
break;
case 0:
Bukkit.getScheduler().cancelTask(e.getTimerID());
Bukkit.broadcastMessage("[§cTimer§f] §eDas Spiel fängt nun an!");
for(Player all : Bukkit.getOnlinePlayers())all.playSound(all.getLocation(), Sound.LEVEL_UP, 1, 1);
break;
default:
break;
}
}
}
API
use the Timer: MySystem.getTimer().startCountdown(Plugin,time,totaltime)
use the BungeeAPI: MySystem.getBungeeAPI(Plugin)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta