PrismarineJS / dazed-sheep

A Minecraft Classic server in JavaScript
MIT License
24 stars 5 forks source link

[Reference] Add server command prompt with server command API #17

Closed ghost closed 6 years ago

ghost commented 7 years ago

Example of adding a command-prompt to dazed-sheep using the flying-squid command API

rom1504 commented 7 years ago

very flying-squid much copy-paste :p It's okay but eventually it would be better to somehow put that command system in an independent package.

ghost commented 7 years ago

ah, flying-squid has this? I just thought of a quick way to hack it together, it's unlikely i'll merge this at the moment as it's more of a hack.

rom1504 commented 7 years ago

I meant this https://github.com/dazed-sheep/dazed-sheep/pull/17/files#diff-4e492e4e1b14c827979d04d06a34c2b1R257

ghost commented 7 years ago

@rom1504 :smile:

ghost commented 6 years ago

This won't be merged as it's not optimal. Will be kept for reference though.