Remove Sentry - Unused
This commit is contained in:
parent
d853f8467c
commit
dad453bd84
@ -28,10 +28,6 @@
|
|||||||
<groupId>commons-codec</groupId>
|
<groupId>commons-codec</groupId>
|
||||||
<artifactId>commons-codec</artifactId>
|
<artifactId>commons-codec</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>net.kencochrane.raven</groupId>
|
|
||||||
<artifactId>raven</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.md-5</groupId>
|
<groupId>net.md-5</groupId>
|
||||||
<artifactId>bungeecord-proxy</artifactId>
|
<artifactId>bungeecord-proxy</artifactId>
|
||||||
|
@ -1,35 +1,16 @@
|
|||||||
package mineplex.bungee;
|
package mineplex.bungee;
|
||||||
|
|
||||||
import java.util.logging.Handler;
|
|
||||||
import java.util.logging.Level;
|
|
||||||
import mineplex.bungee.lobbyBalancer.LobbyBalancer;
|
import mineplex.bungee.lobbyBalancer.LobbyBalancer;
|
||||||
import mineplex.bungee.motd.MotdManager;
|
import mineplex.bungee.motd.MotdManager;
|
||||||
import mineplex.bungee.playerCount.PlayerCount;
|
import mineplex.bungee.playerCount.PlayerCount;
|
||||||
import mineplex.bungee.playerStats.PlayerStats;
|
import mineplex.bungee.playerStats.PlayerStats;
|
||||||
import mineplex.bungee.playerTracker.PlayerTracker;
|
import mineplex.bungee.playerTracker.PlayerTracker;
|
||||||
import net.kencochrane.raven.DefaultRavenFactory;
|
|
||||||
import net.kencochrane.raven.dsn.Dsn;
|
|
||||||
import net.kencochrane.raven.jul.SentryHandler;
|
|
||||||
import net.md_5.bungee.api.plugin.Plugin;
|
import net.md_5.bungee.api.plugin.Plugin;
|
||||||
|
|
||||||
public class Mineplexer extends Plugin
|
public class Mineplexer extends Plugin
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
getProxy().getScheduler().runAsync(this, new Runnable()
|
|
||||||
{
|
|
||||||
@Override
|
|
||||||
public void run()
|
|
||||||
{
|
|
||||||
// Sentry setup
|
|
||||||
Handler sentry = new SentryHandler(new DefaultRavenFactory().createRavenInstance(
|
|
||||||
new Dsn("https://470f12378af3453ba089e0c0a0c9aae6:292516b722594784807aebb06db8ec38@app.getsentry.com/66323"
|
|
||||||
)));
|
|
||||||
sentry.setLevel(Level.SEVERE);
|
|
||||||
getProxy().getLogger().addHandler(sentry);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
new MotdManager(this);
|
new MotdManager(this);
|
||||||
new LobbyBalancer(this);
|
new LobbyBalancer(this);
|
||||||
new PlayerCount(this);
|
new PlayerCount(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user