Minecraft PC IP: play.cubecraft.net
Oct 10, 2021
6
16
4
16
Hi, this is more of a question than a thread actually, i just don’t want to post this on this discord and end up losing the conversation with thousands of other messages. Since there is no replay mod for bedrock (at least for use with servers), i want to know if its possible to return data from an online game (preferably with python, C or C++ can work too), storing all entities and blocks in a txt file every frame.
Example of what this might look like:

map = {a whole ton of blocks} (since the eggwars map can’t be modified, this can be strored in a dictionary)
players = {all players in game} (this should continuelsy update, inventory and position

the data file:

00:00:00: players.randomPlayer1.pos = [randomX, randomY - 1, randomZ] #all players fall from their cages
00:00:00: players.randomPlayer2.pos = [randomX, randomY - 1, randomZ]
# you get the point
00.00.05: players.randomPlayer1.inventory.iron -= 8
00:00:12: players.randomPlayer1.inventory.stainedClay += 16 #bought 16 stainedclay
00:00:21: players.randomPlayer2.inventory.stainedClay -= 1
00:00:21: map.append(that one block player2 placed)

I have never coded something to do with minecraft, and i want to know if such a thing is possible. And if possible, if it would be possible to port it to mobile, thanks for your time.
 
Last edited:
Members Online

Members online

Latest posts

Latest profile posts

Reesle wrote on Fodjdkd999's profile.
Welcome to the Official Cubecraft Forums!! If you need help with something, feel free to DM me or a staff member! :D
Reesle wrote on jtdogzone6843's profile.
Welcome to the Forums!! :)
UncleSpect wrote on glo7776's profile.
Happy birthday!
TheOrderOfSapphire wrote on UncleSpect's profile.
Cool member appreciation moment!:D 💙
ElFlxen_ wrote on Soulless_Unity's profile.
Thanks for everything! :cubie:
Top Bottom