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

Include computer id in turtle player name

Started by Xfel, 05 April 2013 - 04:36 AM
Xfel #1
Posted 05 April 2013 - 06:36 AM
At the moment, the turtle's player name is "ComputerCraft" for all turtles. If that was changed to eg. "ComputerCraft-1" for the turtle with id 1, server admins could set permissions for specific turtles.
Sammich Lord #2
Posted 05 April 2013 - 06:43 AM
IIRC, the turtle name is actually ComputerCraft[ID]. I remember messing with it this way on a few servers that we needed turtle specific permissions.
Cloudy #3
Posted 05 April 2013 - 07:14 AM
Until something comes out in forge, I'm not going to bother with permissions. "Player was killed by ComputerCraft100" just wouldn't look the same.
Cranium #4
Posted 05 April 2013 - 09:22 AM
Permissions work just as Human/Sammich Lord suggested. You use the player ComputerCraft[ID] to provide permissions to a specific ID of computer. It will however, use the main group [ComputerCraft] whenever it needs to display messages.

For example, if you wanted to add Turtle 34 to a specific group using GroupManager, you would do /manuadd ComputerCraft[34] <group>
Dlcruz129 #5
Posted 05 April 2013 - 12:41 PM
Lets say I run a server with 250 turtles. Do you have any idea how tedious it would be to type:
/op ComputerCraft1
/op ComputerCraft2

/op ComputerCraft250
Cranium #6
Posted 05 April 2013 - 12:57 PM
Lets say I run a server with 250 turtles. Do you have any idea how tedious it would be to type:
/op ComputerCraft1
/op ComputerCraft2

/op ComputerCraft250
You wouldn't have to do that. You can just /op ComputerCraft. We have done that on CCU and it works.