Skraund Posted March 21, 2019 Posted March 21, 2019 Hello, I did not understand a bit about Java SDK. Can it be used to retrieve data from a table in the lua resource for the MTA server?
Moderators Patrick Posted March 21, 2019 Moderators Posted March 21, 2019 Quote This SDK allows you to call exported MTA functions from Java over HTTP. https://wiki.multitheftauto.com/wiki/Java_SDK
Skraund Posted March 21, 2019 Author Posted March 21, 2019 Ok. And from Lua, you can send data through Java SDK? For example, when a player joined the server.
Investor Posted March 22, 2019 Posted March 22, 2019 (edited) You can poll for data using the Java SDK. If you want to send unsolicited data, you'll probably need to use a fetchRemote or callRemote to a webserver and pipe that into your Java SDK (if that's possible, have never tried) Edited March 22, 2019 by Investor
KillerX Posted March 22, 2019 Posted March 22, 2019 You can export function in meta and use callFunction in java
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now