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

Disable Turtles

Started by zero_cool, 02 May 2014 - 10:22 AM
zero_cool #1
Posted 02 May 2014 - 12:22 PM
Can I somehow disable turtles on my server? Or do I have to remove the recipe with another plugin?
(I'm running CC for MC 1.5.2)

(There's a thread here about that, but it didn't really get answered)
Edited on 02 May 2014 - 10:23 AM
MKlegoman357 #2
Posted 02 May 2014 - 12:44 PM
There is no config option but you can use plugins to disallow placing/crafting/spawning them + remove block placing permission for '[ComputerCraft]' so Turtles wouldn't be able to place anything (but they will still be able to break things).
zero_cool #3
Posted 02 May 2014 - 12:59 PM
Okay, thanks for the answer :)/>
apemanzilla #4
Posted 02 May 2014 - 02:11 PM
Not sure if this mod supports it but with many mods setting the ID for an item to -1 will disable it.
Lyqyd #5
Posted 02 May 2014 - 03:29 PM
With that version, you simply remove the ccturtle mod included in the download.
apemanzilla #6
Posted 02 May 2014 - 04:43 PM
With that version, you simply remove the ccturtle mod included in the download.
Correct me if I'm wrong, but wouldn't that cause most peripheral addons to crash if they attempt to add a turtle tool/peripheral?
ExDomino #7
Posted 02 May 2014 - 05:31 PM
An option to disable turtles would be really useful since they bypass the protections provided by bukkit plugins.
Even an option to log what the turtles do would be a bit useless since you will not be able to know who ordered the turtle to do a potential grief.
Lyqyd #8
Posted 02 May 2014 - 05:39 PM
With that version, you simply remove the ccturtle mod included in the download.
Correct me if I'm wrong, but wouldn't that cause most peripheral addons to crash if they attempt to add a turtle tool/peripheral?

Only if they are coded incorrectly.
apemanzilla #9
Posted 02 May 2014 - 05:53 PM
An option to disable turtles would be really useful since they bypass the protections provided by bukkit plugins.
Even an option to log what the turtles do would be a bit useless since you will not be able to know who ordered the turtle to do a potential grief.
If you have a bukkit plugin it's fairly easy to stop people from using turtles anyways with the help of a plugin or two.
ExDomino #10
Posted 02 May 2014 - 06:14 PM
With Essentials you're able to disable the placement and the use of turtles, yes I know. ^^
Just when a player craft a turtle and be warm he can't place it, after he complains because he have lost his poor 7 stones, 1 redstone and 1 glass pane. XD
apemanzilla #11
Posted 02 May 2014 - 08:05 PM
With Essentials you're able to disable the placement and the use of turtles, yes I know. ^^
Just when a player craft a turtle and be warm he can't place it, after he complains because he have lost his poor 7 stones, 1 redstone and 1 glass pane. XD
With certain plugins you can disable the crafting of items as well.
logsys #12
Posted 02 May 2014 - 08:29 PM
you can disable them in the startup file in "rom" folder, just change

if turtle then
sPath = sPath..":/rom/programs/turtle"
else
	sPath = sPath..":/rom/programs/rednet:/rom/programs/fun"
	if term.isColor() then
	 sPath = sPath..":/rom/programs/fun/advanced"
	end
end
to

if turtle then
--sPath = sPath..":/rom/programs/turtle"
		os.shutdown()
else
	sPath = sPath..":/rom/programs/rednet:/rom/programs/fun"
	if term.isColor() then
	 sPath = sPath..":/rom/programs/fun/advanced"
	end
end

Edit: It will only shutdown them, but should prevent them from turning on as that startup cannot be overriden. Correct me if im wrong
Edited on 02 May 2014 - 06:30 PM
electrodude512 #13
Posted 02 May 2014 - 11:53 PM
Your method won't work. The turtle api will still exist. You have to add a line saying _G.turtle = nil to disable turtles from moving, and even that might not be enough
CometWolf #14
Posted 03 May 2014 - 12:00 AM
You don't get what he's doing. He changed the rom startup, the one that runs prior to the user's, so that if the turtle API is loaded, it will just shutdown. This does essentially brick the turtles, unless you have access to the rom files.
Edited on 02 May 2014 - 10:00 PM