Tuesday at 11:45 PM4 days AI was heavily used in writing this code. (Gemini, Claude & ChatGPT)Default OP password is admin, change with /set op passwordGenerates /hub world with 3 additional worlds that may be password protected (/set word <worldname> password)hub building with portals to other worlds protected/goto hub/newlvl & /resizelvl are locked behind OPlevels/<worldname>.welcome.txt is world specific MOTDPlayer position and world are saved cross sessionYou can place MCG global.json block def in root folder and they will be importedfallbacks for blocks 50-65 if CPE is not detectedcustom block adding (/bg <id> <name>), texture not added yetGitHubGitHub - tux-peng/cubeserve: A classicube server written...A classicube server written in Go. Contribute to tux-peng/cubeserve development by creating an account on GitHub.
Thursday at 04:09 PM2 days Author No one has to use it, I don't get the hate. A way for me to learn a little about the language and build a lightweight server for my needs.BTW -- tuxcracft is up on the server list, I'd appreciate a beta test if someone has time
Thursday at 05:45 PM2 days Glodden Godd 1 hour ago, tux_peng said:A way for me to learn a little about the languageWere you already familiar with Go? Why use generative AI in this case?
Thursday at 06:02 PM2 days Author 12 minutes ago, Pear said:Were you already familiar with Go? Why use generative AI in this case?Nope, I know the fundamentals of x86 assembly, java and MS Basic. A bit more of C99 & C++Even if I had known Go, AI can be a useful tool; why wouldn't I use it? Edited Thursday at 06:05 PM2 days by tux_peng
Friday at 04:33 AM1 day Glodden Godd 12 hours ago, tux_peng said:No one has to use it, I don't get the hate. A way for me to learn a little about the language and build a lightweight server for my needs.It's popular to hate AI usage.
Friday at 06:34 AM1 day Why have classicube server software with blocks and other bloat when you can just chat instead? https://gist.github.com/morgana-x/0ec43adfc27cceb298205bae8eaf2e9f
Friday at 06:12 PM1 day Author 11 hours ago, morgana said:Why have classicube server software with blocks and other bloat when you can just chat instead? https://gist.github.com/morgana-x/0ec43adfc27cceb298205bae8eaf2e9fImpressive, but it's primarily pixel art that I do. After all, I added 100 blocks, 64 of which are just wool in the colours of the 1995 box of crayons.While I appreciate mono, and the ability to run C# code on linux. I don't like to rely on it. Edited Friday at 06:37 PM1 day by tux_peng
9 hours ago9 hr working on a actual real go server software, and then i see this absolutly digusting code 😢func sendSetTexturePack(conn net.Conn, textureURL string) { pkt := make([]byte, 65) pkt[0] = 0x28 copy(pkt[1:65], padString(textureURL)) conn.Write(pkt)}geniounely what is the point of this?? this is a singular excerpt from your codebase (which is a single file by the way!), come on!func WriteSetMapEnvUrl(w io.Writer, url string) { w.Write([]byte{PacketSetMapEnvUrl}) WriteString(w, url, 64)}this is how a real person would write your code, consise and with lines of code that people can ACTUALLY READ instead of horrible ai slopyou aren't going to learn any language by asking a ai to do it and not changing a single thing
7 hours ago7 hr Author Happy to take PR's if anyone wants to improve it. That's why it's opensource and MIT licensed.
AI was heavily used in writing this code. (Gemini, Claude & ChatGPT)
Default OP password is admin, change with /set op password
Generates /hub world with 3 additional worlds that may be password protected (/set word <worldname> password)
hub building with portals to other worlds protected
/goto hub
/newlvl & /resizelvl are locked behind OP
levels/<worldname>.welcome.txt is world specific MOTD
Player position and world are saved cross session
You can place MCG global.json block def in root folder and they will be imported
fallbacks for blocks 50-65 if CPE is not detected
custom block adding (/bg <id> <name>), texture not added yet
GitHub
GitHub - tux-peng/cubeserve: A classicube server written...