Skraund Posted March 21, 2019 Share 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? Link to comment
Moderators Patrick Posted March 21, 2019 Moderators Share 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 Link to comment
Skraund Posted March 21, 2019 Author Share Posted March 21, 2019 Ok. And from Lua, you can send data through Java SDK? For example, when a player joined the server. Link to comment
Investor Posted March 22, 2019 Share 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 Link to comment
KillerX Posted March 22, 2019 Share Posted March 22, 2019 You can export function in meta and use callFunction in java Link to comment
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