Jump to content




Include computer id in turtle player name


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

#1 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 05 April 2013 - 05: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.

#2 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 05 April 2013 - 05: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.

#3 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 05 April 2013 - 06: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.

#4 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 05 April 2013 - 08: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>

#5 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 05 April 2013 - 11:41 AM

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

#6 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 05 April 2013 - 11:57 AM

View PostDlcruz129, on 05 April 2013 - 11:41 AM, said:

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.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users