Bukkit + Firebase

Discussion in 'Plugin Development' started by CBUltimate, May 20, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    CBUltimate

    Hello, I want to make a plugin which can work along with Google Firebase Cloud Function service. Such as receiving command strings from Firebase Function to post into the server console.

    Does anyone have some hints on using Firebase Realtime Database on plugins too? I want to add data into the Firebase Realtime Database to present them onto a website such as a leaderboard or player profile statistics.

    If there is anyone who can point me to the direction to start that would be great.

    TL;DR
    Does anyone know how to send commands to server console via Google Firebase Cloud Functions or modify the Realtime Database on the bukkit plugin?

    Thanks in advance, CBU.
     
  2. Offline

    timtower Administrator Administrator Moderator

    CBUltimate likes this.
  3. Offline

    CBUltimate

    Yes, it does have an API, however, I'm having trouble figuring out how to implement it.
     
  4. Offline

    timtower Administrator Administrator Moderator

    What kind of API is it? Rest?
     
  5. Offline

    CBUltimate

    This one, https://firebase.google.com/docs/admin/setup?authuser=0#add_firebase_to_your_app

    I am required to add this into into build.gradle file:
    Code:
    dependencies {
      implementation 'com.google.firebase:firebase-admin:6.1.0'
    }
    However, I'm not too familiar with Java environment coming from C# and I do not know where I could add dependencies into a Java Plugin.

    Thanks for helping.
     
  6. Offline

    timtower Administrator Administrator Moderator

    @CBUltimate Try to get the basic Java knowledge first then.
     
Thread Status:
Not open for further replies.

Share This Page