PineJam 2025 is starting soon!
2 downloads 20 views Jul 1, 2025
profile

mcNet by RedTech0

Updated Jul 1, 2025
project thumbnail

MCNet

about

This is the official [insert website name here] repo for the MCNet Project Lua code for CC-Tweaked

i know this isn't much but i just threw this repo together in like a few second so please don't be mad about that srry

you have questions feel free to ask on the MCCM Discord you should find my post under creations and then just the name of the repo Discord LINK

I got this idea from someone else (i can't find the original video :,( ) who made a internet system but i wanted to see if i can do the same

hope you'll enjoy ;) !

how to set up

if you are using the installer from the pinestore page it should set up the system automatically

First, I recommend making a DNS server, then the client, and then servers can be added to the network!

setup DNS server

dnsServer.lua and
initDns.lua ona computer
now execute initDns.lua and the rest is done by the system

repo folder click here

šŸ“ File Tree (DNS Server side Example)

computer/
ā”œā”€ā”€ dnsServer.lua
└── initDns.lua ← Execute this file to start the system

setup mcNet-client

so first i would advise you to make a folder on the machine where you are going to install the client on so that the files are in one place tho you don't have to do that
for example internet as the folder name
now put the mcNet-client.lua file in that and execute it once
it is going to give you an error but thats normal now enter the newly created libs folder (my example internet/libs) and drop the logo.nfp and the openUILib.lua file in there then go back and execute mcNet-client.lua again now it should work!

repo folder click here

šŸ“ File Tree (Client Side Example)

internet/
ā”œā”€ā”€ mcNet-client.lua ← Execute this file first
ā”œā”€ā”€ libs/
│ ā”œā”€ā”€ logo.nfp
│ └── openUILib.lua
└── pages/

setup server

so to set up a server enter any computer with ender/wireless(not advised) modem
now instal server.lua this is your server framework (which you can edit)
you will also have to open a folder to hold all your "pages" and a folder that MUST be named libs this is where custom librtaries and the server Library will sit
now as already told put serverLib.lua in the libs folder!

repo folders:

šŸ“ File Tree (Server Side Example)

server/
ā”œā”€ā”€ server.lua ← Main server framework (can be edited)
ā”œā”€ā”€ libs/ ← Contains required and custom libraries
│ ā”œā”€ā”€ serverLib.lua ← Required server library
│ └── yourCustomLib.lua ← šŸ”§ Optional custom libraries (not required by server)
└── pages/ ← Holds all your "pages"

coming soon/maybe today

  • better comments for coders
  • api documentation
  • forward arrow button
  • disclaimer

    not enought space just read the disclaimer on the github page through the blue button below

    wget run https://pinestore.cc/d/153
    Git Repository
    project screenshot project screenshot project screenshot project screenshot
    comments
    You can login with Discord to leave comments and reply to others!
    pfp RedTech0 Creator 1 day ago

    took a while but now it's on pinestore