Minecraft PC IP: play.cubecraft.net
Oct 10, 2021
6
16
4
17
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

Team online

Latest posts

Latest profile posts

Daily Question 166.

What do you think your most commented thing on CubeCraft is?
Sometimes I'm just so glad that this community is so nice. Even if things come up, they're dealt with quickly, efficiently... in the mature manner that they should be. I know there are problems no matter where, but little things really do matter a lot.
sebasxd12 wrote on Thijs's profile.
happy birthday thijs
Hello, I don't want to use cubecraft forums anymore. Is there a way I can delete my account?
Love Summer, hate hot weather
Top Bottom