[Plugin] Notify

  • Heute möchte ich mal mein erstes bzw. meine beiden ersten Plugins vorzustellen.
    Mit diesem Plugin können wir notifications an user senden.


    Die notification kommt seitlich ins bild rein und die anzeige zeit läuft ab welche wir unten an hand der roten linie sehen können.
    Es werden maximal 3 benachrichtigungen zur zeit angezeigt.


    Das zweite Plugin (HungerWarn) ist mehr als beispiel gedacht und benachrichtigt den user wenn er zu hungrig oder durstig wird.




    Die Server besitzer können hier das Standart desing ändern. Farben als float also (0.0 - 1.0) und folgend aufgeteilt rot/grün/blau/alpha .
    Und ob die sidebar (der gelbe strich an der seite) sichtbar sein soll.

    Code: config.ini
    #Erstellungs datum
    Background=0.0/0.0/0.0/1.0
    SideBar=1.0/1.0/0.0/1.0
    TimeBar=1.0/0.0/0.0/0.5
    EnableSideBar=true


    Wir können notifications direkt senden an einen user oder eine gruppe von usern. Diese notification sind dann im default design.


    Dann gibt es noch die Möglichkeit das man die notification ändern kann.


    English



    Today I would like to introduce my first and two first plugins.
    With this plugin we can send notifications to users.


    The notification comes into the screen from the side and the time runs out, which we can see below on the red line.
    A maximum of 3 notifications at time are currently displayed.


    The second plugin (HungerWarn) is just an example and notifies the user when he gets too hungry or thirsty.


    The server owners can change the standard desing here. Colors as float so (0.0 - 1.0) and then split red/green/blue/alpha.
    And whether the sidebar (the yellow line on the side) should be visible.

    Code: config.ini
    #Creation date
    Background=0.0/0.0/0.0/1.0
    SideBar=1.0/1.0/0.0/1.0
    TimeBar=1.0/0.0/0.0/0.5
    EnableSideBar=true


    We can send notifications directly to a user or group of users. These notification are then in the default design.


    Then there's the possibility of changing the notification.


    Download


    NameVersionDownload
    Notify with javadoc0.5Notify.zip
    HungerWarn1.0HungerWarn.zip

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!