This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Plainboy's profile picture

Computercraft Server Attack

Started by Plainboy, 04 July 2015 - 02:43 PM
Plainboy #1
Posted 04 July 2015 - 04:43 PM
Hello,

I am a Senior-Moderator of a server on Tekkit Classic. We have been using Computers as spawn monitors since the beginning although we have just had them changed due to a bug in another plugin. Someone accessed the computers and changed the code to very offensive material. They also added two new recipes into NEI. The default ID for the default computer is 207, although the added ones are 207:4 and 207:6.

Is there any way to remove them from in-game? and if not, maybe through the server files?

Thanks,
Plainboy
Wojbie #2
Posted 04 July 2015 - 10:15 PM
Not sure about version of cc you are using but this should do what you want.
This is through the server files method. If you have access to that its simpler to do.

Go to save folder of server into "computer" folder inside that save folder and delete folders named 4 and 6. That will remove all ( offensive included) content from computers 4 and 6.
Edited on 04 July 2015 - 08:15 PM
TheOddByte #3
Posted 04 July 2015 - 10:35 PM
This piece of code will remove everything on the computer

for _, name in ipairs( fs.list("/") ) do
    if not fs.isReadOnly( name ) then
        fs.delete( name )
    end
end
If you're using any of the recent CC versions, you could run this command

rm *
which also would remove everything on the computer.

If you have version 1.7+ of CC I believe, you can use the second method, if not then you'd have to go with the first method( that is, if you want to do this in-game ).