Git Product home page Git Product logo

authdownwarning's Introduction

Authentication down → Warning Build Status

A small Bukkit plugin to warn players when Mojang servers are down.

Warnings

When the authentification or sessions servers become down, a message like this one will be broadcasted.
Warning message if the authentification servers are down
A similar message will be displayed if the servers are unstable. These messages will be broadcasted every ten minutes (by default) until the servers status change.

“Fine again” message
 

Manual check

A command is available to see the status of the Mojang services from in-game: /mojangstatus. It contains all the services displayed in the Mojang status page.
/mojangstatus preview

The status can also be force-updated using /mojangstatus update. By default, they are updated in the background every 90 seconds.
 

Configuration

The main configuration entries are the following:

# The number of seconds between two checks against the Mojang servers.
check_interval: 90

# The minimal number of seconds between two warning sent to the players for
# the same kind of status.
# Players will always be immediately notified if the status changes.
warning_interval: 600


# Set to true to display a list of the down or unstable services in the
# warning message, like this: http://raw.carrade.eu/s/1450919953.png
display_services_down: false

Another is available to change the status check URI; see the config.yml file.
 

Permissions

Permission Default Meaning
authdownwarning.status.view Everyone Allows a player to see the results of the last check using /mojangstatus.
authdownwarning.status.update Operators Allows a player to force-update the Mojang services status with /mojangstatus update.
authdownwarning.warnings.receive Everyone All players with this permission will receive the warnings if some of the Mojang services are down.

authdownwarning's People

Contributors

amaurycarrade avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

authdownwarning's Issues

java.lang.IllegalArgumentException: can't parse argument number: dark_green

[00:39:16 WARN]: [AuthDownWarning] Task #281220 for AuthDownWarning v1.0 generated an exception
java.lang.IllegalArgumentException: can't parse argument number: dark_green
        at java.text.MessageFormat.makeFormat(MessageFormat.java:1420) ~[?:1.7.0_79]
        at java.text.MessageFormat.applyPattern(MessageFormat.java:479) ~[?:1.7.0_79]
        at java.text.MessageFormat.<init>(MessageFormat.java:381) ~[?:1.7.0_79]
        at eu.carrade.amaury.AuthDownWarning.components.i18n.I18n.translate(I18n.java:587) ~[?:?]
        at eu.carrade.amaury.AuthDownWarning.components.i18n.I.t(I.java:88) ~[?:?]
        at eu.carrade.amaury.AuthDownWarning.status.critical.WarningsSender$1.run(WarningsSender.java:78) ~[?:?]
        at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.10.2.jar:git-Spigot-5391d73-00359a1]
        at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.10.2.jar:git-Spigot-5391d73-00359a1]
        at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:741) [spigot-1.10.2.jar:git-Spigot-5391d73-00359a1]
        at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.10.2.jar:git-Spigot-5391d73-00359a1]
        at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [spigot-1.10.2.jar:git-Spigot-5391d73-00359a1]
        at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [spigot-1.10.2.jar:git-Spigot-5391d73-00359a1]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]
Caused by: java.lang.NumberFormatException: For input string: "dark_green"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.7.0_79]
        at java.lang.Integer.parseInt(Integer.java:492) ~[?:1.7.0_79]
        at java.lang.Integer.parseInt(Integer.java:527) ~[?:1.7.0_79]
        at java.text.MessageFormat.makeFormat(MessageFormat.java:1418) ~[?:1.7.0_79]
        ... 12 more

Prevents the “servers are back” message to be displayed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.