Adding a Simple API for Plugin DEV's!

Dieses Thema im Forum "Suggestions" wurde erstellt von boomer41, 30. November 2012.

  1. boomer41

    boomer41 Mitglied

    Beiträge:
    8
    Punkte für Erfolge:
    21
    heyo guys,

    i'm just programming a Plugin which needs the onlinetime. My server's got Glizer, so i want to use it.
    The Problem is: Glizer does not have an API :(
    Can you please add sth like this?
    This would be very nice :)
    EDIT: In the source i've seen that the bConnector Class handles these requests, but it needs an online Player, which executes the "command" :-/

    Good Evening
    - boomer
     
  2. Krim

    Krim Ist nicht Krim Teamsklave

    Beiträge:
    4.068
    Punkte für Erfolge:
    118
    AW: Adding a Simple API for Plugin DEV's!

    there is an api, and you can connect to it, but we dont offer a documentation for it, because it's possible to mess a lil bit too much around.
     
  3. boomer41

    boomer41 Mitglied

    Beiträge:
    8
    Punkte für Erfolge:
    21
    AW: Adding a Simple API for Plugin DEV's!

    Can you give please an example? :)
    I'll include it into one void like "getOnlineTime(String player)".
     
  4. Boomer

    Boomer Stammi

    Beiträge:
    437
    Punkte für Erfolge:
    36
    AW: Adding a Simple API for Plugin DEV's!

    I've Solved it now, and sorry, on some computers I'm still logged in with boomer41 :-/ @krim, can you please delete this account?
     
  5. thoosequa

    thoosequa Mitglied

    Beiträge:
    37
    Punkte für Erfolge:
    26
    AW: Adding a Simple API for Plugin DEV's!

    Can you please share your hook and the method? Of course only if thats fine with you
     
  6. Boomer

    Boomer Stammi

    Beiträge:
    437
    Punkte für Erfolge:
    36
    AW: Adding a Simple API for Plugin DEV's!

    Well, i'll create a GlizerAPIHelper Plugin later when i've got some more time :) But just look into the code and see how these requests are working!

    ~80% is only Copy&Paste! :D
     

Diese Seite empfehlen