Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
51fd1ea35a
Commit
9fa89644ee
@ -24,10 +24,7 @@ import de.steamwar.bungeecore.bot.config.SteamwarDiscordBotConfig;
|
||||
import de.steamwar.bungeecore.commands.*;
|
||||
import de.steamwar.bungeecore.comms.SpigotReceiver;
|
||||
import de.steamwar.bungeecore.listeners.*;
|
||||
import de.steamwar.bungeecore.listeners.mods.Forge;
|
||||
import de.steamwar.bungeecore.listeners.mods.LabyMod;
|
||||
import de.steamwar.bungeecore.listeners.mods.ModLoaderBlocker;
|
||||
import de.steamwar.bungeecore.listeners.mods.WorldDownloader;
|
||||
import de.steamwar.bungeecore.listeners.mods.*;
|
||||
import de.steamwar.bungeecore.sql.Punishment;
|
||||
import de.steamwar.bungeecore.sql.Statement;
|
||||
import de.steamwar.bungeecore.sql.SteamwarUser;
|
||||
@ -81,6 +78,7 @@ public class BungeeCore extends Plugin {
|
||||
new ConnectionListener();
|
||||
new Forge();
|
||||
new LabyMod();
|
||||
new Badlion();
|
||||
new ChatListener();
|
||||
new BanListener();
|
||||
new CheckListener();
|
||||
|
@ -3,7 +3,6 @@ package de.steamwar.bungeecore.listeners.mods;
|
||||
import de.steamwar.bungeecore.listeners.BasicListener;
|
||||
import net.md_5.bungee.api.event.PostLoginEvent;
|
||||
import net.md_5.bungee.event.EventHandler;
|
||||
import net.md_5.bungee.protocol.packet.PluginMessage;
|
||||
|
||||
public class Badlion extends BasicListener {
|
||||
|
||||
@ -11,6 +10,7 @@ public class Badlion extends BasicListener {
|
||||
public void onPostLogin(PostLoginEvent event) {
|
||||
/*
|
||||
{
|
||||
"modsDisallowed": {
|
||||
"Clear Glass":{"disabled":true},
|
||||
"ClearWater":{"disabled":true},
|
||||
"FOV Changer":{"disabled":true},
|
||||
@ -22,7 +22,10 @@ public class Badlion extends BasicListener {
|
||||
"ToggleSneak":{"disabled":true},
|
||||
"ToggleSprint":{"disabled":true}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
event.getPlayer().unsafe().sendPacket(new PluginMessage("badlion:mods", ("{\"modsDisallowed\":{\"Clear Glass\":{\"disabled\":true},\"ClearWater\":{\"disabled\":true},\"FOV Changer\":{\"disabled\":true},\"Hitboxes\":{\"disabled\":true},\"MiniMap\":{\"disabled\":true},\"MLG Cobweb\":{\"disabled\":true},\"Replay\":{\"disabled\":true},\"Schematica\":{\"disabled\":true},\"ToggleSneak\":{\"disabled\":true},\"ToggleSprint\":{\"disabled\":true}}}").getBytes(), false));
|
||||
//event.getPlayer().unsafe().sendPacket(new PluginMessage("badlion:mods", "{\"modsDisallowed\":{\"Animations\":{\"disabled\":true},\"ArmorStatus\":{\"disabled\":true},\"AutoFriend\":{\"disabled\":true},\"AutoGG\":{\"disabled\":true},\"AutoText\":{\"disabled\":true},\"AutoTip\":{\"disabled\":true},\"Block Overlay\":{\"disabled\":true},\"BlockInfo\":{\"disabled\":true},\"BossBar\":{\"disabled\":true},\"Chat\":{\"disabled\":true},\"Chunk Borders\":{\"disabled\":true},\"Clear Glass\":{\"disabled\":true},\"ClearWater\":{\"disabled\":true},\"Clock\":{\"disabled\":true},\"Combo Counter\":{\"disabled\":true},\"Coordinates\":{\"disabled\":true},\"CPS\":{\"disabled\":true},\"Crosshair\":{\"disabled\":true},\"Custom Fonts\":{\"disabled\":true},\"Direction\":{\"disabled\":true},\"EnchantGlint\":{\"disabled\":true},\"FOV Changer\":{\"disabled\":true},\"FPS\":{\"disabled\":true},\"Fullbright\":{\"disabled\":true},\"Hit Color\":{\"disabled\":true},\"Hitboxes\":{\"disabled\":true},\"InventoryBlur\":{\"disabled\":true},\"Item Counter\":{\"disabled\":true},\"Item Info\":{\"disabled\":true},\"Item Physics\":{\"disabled\":true},\"Item Tracker\":{\"disabled\":true},\"JustEnoughItems\":{\"disabled\":true},\"Keystrokes\":{\"disabled\":true},\"LevelHead\":{\"disabled\":true},\"Light Overlay\":{\"disabled\":true},\"Memory\":{\"disabled\":true},\"MiniMap\":{\"disabled\":true},\"MLG Cobweb\":{\"disabled\":true},\"MotionBlur\":{\"disabled\":true},\"MumbleLink\":{\"disabled\":true},\"Music\":{\"disabled\":true},\"Name History\":{\"disabled\":true},\"NickHider\":{\"disabled\":true},\"NotEnoughUpdates\":{\"disabled\":true},\"Notifications\":{\"disabled\":true},\"Pack Display\":{\"disabled\":true},\"Pack Tweaks\":{\"disabled\":true},\"Particles\":{\"disabled\":true},\"Perspective\":{\"disabled\":true},\"Ping\":{\"disabled\":true},\"Player Counter\":{\"disabled\":true},\"PotionStatus\":{\"disabled\":true},\"Protection\":{\"disabled\":true},\"Quickplay\":{\"disabled\":true},\"Reach Display\":{\"disabled\":true},\"Replay\":{\"disabled\":true},\"Saturation\":{\"disabled\":true},\"Schematica\":{\"disabled\":true},\"Scoreboard\":{\"disabled\":true},\"Server Address\":{\"disabled\":true},\"Shinypots\":{\"disabled\":true},\"SkyblockAddons\":{\"disabled\":true},\"Stopwatch\":{\"disabled\":true},\"TcpNoDelay\":{\"disabled\":true},\"TeamSpeak\":{\"disabled\":true},\"TimeChanger\":{\"disabled\":true},\"Timers\":{\"disabled\":true},\"ToggleChat\":{\"disabled\":true},\"ToggleSneak\":{\"disabled\":true},\"ToggleSprint\":{\"disabled\":true},\"Waypoints\":{\"disabled\":true},\"WeatherChanger\":{\"disabled\":true},\"World Edit CUI\":{\"disabled\":true},\"Zoom\":{\"disabled\":true},\"Clan Wars\":{\"disabled\":true},\"ColorSaturation\":{\"disabled\":true}}}".getBytes(), false));
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren