Jump to content




Disable Turtles


  • You cannot reply to this topic
13 replies to this topic

#1 zero_cool

  • Members
  • 14 posts
  • LocationGermany

Posted 02 May 2014 - 11:22 AM

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 by zero_cool, 02 May 2014 - 11:23 AM.


#2 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 02 May 2014 - 11:44 AM

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).

#3 zero_cool

  • Members
  • 14 posts
  • LocationGermany

Posted 02 May 2014 - 11:59 AM

Okay, thanks for the answer :)

#4 apemanzilla

  • Members
  • 1,421 posts

Posted 02 May 2014 - 01:11 PM

Not sure if this mod supports it but with many mods setting the ID for an item to -1 will disable it.

#5 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 May 2014 - 02:29 PM

With that version, you simply remove the ccturtle mod included in the download.

#6 apemanzilla

  • Members
  • 1,421 posts

Posted 02 May 2014 - 03:43 PM

View PostLyqyd, on 02 May 2014 - 02:29 PM, said:

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?

#7 ExDomino

  • Members
  • 44 posts

Posted 02 May 2014 - 04: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.

#8 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 02 May 2014 - 04:39 PM

View Postapemanzilla, on 02 May 2014 - 03:43 PM, said:

View PostLyqyd, on 02 May 2014 - 02:29 PM, said:

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.

#9 apemanzilla

  • Members
  • 1,421 posts

Posted 02 May 2014 - 04:53 PM

View PostExDomino, on 02 May 2014 - 04:31 PM, said:

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.

#10 ExDomino

  • Members
  • 44 posts

Posted 02 May 2014 - 05: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

#11 apemanzilla

  • Members
  • 1,421 posts

Posted 02 May 2014 - 07:05 PM

View PostExDomino, on 02 May 2014 - 05:14 PM, said:

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.

#12 logsys

  • Members
  • 171 posts

Posted 02 May 2014 - 07: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 by logsys, 02 May 2014 - 07:30 PM.


#13 electrodude512

  • Members
  • 167 posts
  • LocationEastern USA

Posted 02 May 2014 - 10: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

#14 CometWolf

  • Members
  • 1,283 posts

Posted 02 May 2014 - 11:00 PM

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 by CometWolf, 02 May 2014 - 11:00 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users