code doesn't work for all players
I am saddened to realize that code written in Code Builder in a host world is not available to players who join said world. Why not? I had high hopes of the host inviting students to play the games they had coded. Am I missing something? For example, I have a student who used a command block with "/tell @p jump". In his code, he has an "on tell 'jump'" block which contains an index var and logic that alternates teleporting players between two distant locations, thus building two teams. This only works for the host. Chat commands aren't even available to anyone except the host. I can import a url with code, but even then, a command block as described above only works for the host.
Am I missing something? Is M.EE not useable for multiplayer game development?
-
Yes i have had the same issue but I have some work arounds. if you import the code and all students import the code into their own builders make sure they have operator status.
if you dont give them operator status and only want one person to have the codebuidler active there are only a few triggers that work.
we are currently coding minigames and have found these event triggers no matter who does them.
the triggers that do work are
- if players place a block and you use the "detect block" , the subsequent commands will work.
- killing a mob
triggers that dont work for everyone (unless they have the imported code builder url)
- on player "move
- on blocks placed or destroyed
- on items used
0
Please sign in to leave a comment.
Comments
1 comment