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

Turtle permissions question.

Started by Oompf, 31 December 2013 - 04:04 AM
Oompf #1
Posted 31 December 2013 - 05:04 AM
Dear all,

i would like to ask if there is a implementation to anti-griefing systemsplugins that prevent turtles from entering claims from other players or pick blocks from claims.
Servers as BusinessElite (Tekkit) do not allow Turtles because they would grief.

A secondary idea would be to be able to check if the block in front/back is a own claim, no claim, adminclaim or other players claim (to avoid a turtle to leave a claim where it could get stolen or not picked up again).

I would like to program mods on my own but didn't have the time to look for tools to do so - my javaknowledge is not very good but i am familiar programming with classes and objects.
Maybe the antigriefing System need to provide a own api for computercraft but there must be a way for other mods to interrupt lua commands like turtle.dig or turtle.move inside the compiled java-class to let the antigriefing system suppress turtles from digging or maybe a check can be added to the javacode to act like the player the turtle is from (if the turtle knows who is the owning player at all?)

i would like to help even if i am new to modprogramming, but i don't know if i am asking at the correct adress.

kindly regards
Rene (ingame Oompf)
Lyqyd #2
Posted 31 December 2013 - 10:23 AM
ComputerCraft does not use or respect any permissions system particularly, nor will it until a system is built into Forge itself.