voxel / voxel-clientmc

Minecraft client using WebSockets and voxel-engine (voxel.js plugin)
57 stars 13 forks source link

Chat command translation strings #25

Open deathcap opened 8 years ago

deathcap commented 8 years ago

Should support translating from the internal chat string names to human-readable descriptions, instead of:

voxel-clientmc connecting... 
Spawn position: {"x":0,"y":0,"z":0}
Spawn position: {"x":-8,"y":64,"z":-196}
<webuser-4> test
[Server: commands.op.successwebuser-4commands.op.success]
[Server: commands.time.set18001commands.time.set]
[Server: commands.give.success[Dirt] 1 webuser-4commands.give.success]
death.attack.outOfWorldwebuser-4death.attack.outOfWorld
[Server: commands.kill.successfulwebuser-4commands.kill.successful]
Spawn position: {"x":-8,"y":64,"z":-196}
Spawn position: {"x":-8,"y":64,"z":-196}
screen shot 2016-02-07 at 11 19 16 am

something like "webuser-4 died by falling out of this world" (versus death.attack.outOfWorldwebuser-4death.attack.outOfWorld). There might already be some translation modules to help with this.

deathcap commented 8 years ago

https://github.com/PrismarineJS/mineflayer/issues/175 Chat modularization

deathcap commented 8 years ago

Language files: https://github.com/PrismarineJS/node-minecraft-data/issues/6 https://github.com/SpockBotMC/python-minecraft-data/issues/8 https://github.com/PrismarineJS/minecraft-data/issues/17