This is not supposed to be an OS you download and then run on your computers in single player.
This is what it's about:
I as a (tekkit) server owner am unhappy with the many ways computercraft can be used maliciously.
My solution to this was to restrict computers completely from all users except people I knew were good with lua, but this made many players unhappy who were using computercraft for their password doors etc.
So I had a great idea. Why not let these people use the parts of computercraft they want, with a GUI to make it even easier for them!
This OS was built towards your non-coding simpletons, and towards you, the server owner, to keep your server safe by not letting anyone run their own scripts.
Of course it is still possible for your devs to do everything they want, that is why there is a login system, normal users just hit enter and use the computers with the "Guest" account and all your devs get credentials to sign in with which will let use dev programs built into the OS or simply access the console.
Download:
https://github.com/x...XoXOS/downloads
Instructions:
are in the readme file
Changelog:
1.2 ,
Major changes
- Added DevNet . Chat for Devs
- Added version for turtles, lets users use excavate and tunnel..
Minor changes:
- Added Pastebin support into the UI
- Maybe some bugfixes if I found any, dont remember.
Screenshots:
Old Post:
Spoiler
Now, the most important part, the scripts:add all of these to the server folder /mods/computercraft/lua/rom/programs/computer/
with these filenames:
XoXOS - http://pastebin.com/0p3fWBv0
XoXOSLS - http://pastebin.com/zW64gNE4
XoXEdit - http://pastebin.com/Qt3bV98v
XoXRun - http://pastebin.com/ve7jCvYT
calc - http://pastebin.com/C9YpGM7L
door - http://pastebin.com/yY7X0CaE
Now you got all of these files and are probably wondering what they all do:
XoXOS – The main file, this is the actuall OS
XoXOSLS – This is the login server
XoXEdit, XoXRun – These are scripts to edit or run files right from the OS
calc - This is a simple calculator for users to use
door - This is my personal door script which is configured on the first run, therefore usable by anyone in any situation
Now, how to set all of this up:
First you must edit your computercraft setting and edit the range of modems to go pretty much anywhere.
Find this line in the settings:
modem_range=64
and change it to something high like
modem_range=6400000
same goes for
modem_rangeDuringStorm=16
Now you want to set up the login server.
Set up a computer somewhere with a modem, and probably close to spawn so it is always loaded.
Now get the computers ID and in the XoXOS file, change the first line (serverID = ) accordingly
then do "edit XoXUsers" and add users to be devs, one per line.
after you saved this file, do "edit XoXPasss"
here you will the passwords for the users, the first user uses the 1st password, 2nd user 2nd pass, etc.
Once you have all your users set up, you are done, come back here any time to edit the users.
Now you will want to edit the files so all computer load XoXOS, for this you will open mods/computercraft/lua/rom/startup
In here, at the end of the file you want to add:
if os.computerID() = SERVERID then shell.run("XoXOSLS") else while true do shell.run("XoXOS") end end
Don't forget to replace SERVERID with the id of the server we set up before.There you go, all done.
If I made an error in the scripts or the post, please let me know!!!!!!!
You might also want to check back every now and then to see if I have updated the OS.