OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

[1.12.2] Robot (propably) has no permissions

Open HonzaVinCZ opened this issue 3 years ago • 7 comments

Hello, I'm running Magma server ( Forge with classic Bukkit plugin support ) and I noticed, robots can't break/place blocks. After searching all day on google, I couldn't find a solution. I think it is caused by some permission.

  • Adding [OpenComputers] with its UUID to ops.json didn't help
  • Adding [OpenComputers] to fake player list in Towny config didn't help
  • Turning off world protection completely in Towny didn't help
  • Giving permission with player's name for ex. HonzaVinCZ.robot didn't help

The same robot with the same program works well in singleplayer.

Server log: latest.log

OpenComputers-MC1.12.2-1.7.5.192

Screenshots from the server: 2021-04-14_23 58 08

2021-04-14_23 58 10

HonzaVinCZ avatar Apr 14 '21 22:04 HonzaVinCZ

Can a robot break blocks if no plugins are installed?

ghost avatar May 05 '21 22:05 ghost

same problem.

mckuhei avatar May 16 '21 05:05 mckuhei

Okay,To fix this problem you should add <playername>.robot in config.

mckuhei avatar May 23 '21 06:05 mckuhei

Okay,To fix this problem you should add <playername>.robot in config.

Which config please?

Sorry for late reply, I had problems with my hw in my laptop.

HonzaVinCZ avatar Jun 21 '21 15:06 HonzaVinCZ

did you figure this out? i have the same problem, using mohist rather than magma though.

xemnes avatar Jul 10 '21 20:07 xemnes

did you figure this out? i have the same problem, using mohist rather than magma though.

Not yet. I'm still not sure what config is mckuhei referring to. I think he is referring to permission but except permission plugin I have no idea where else I could put it.

Even though if it worked, I need to allow it to each player who connects. That can't work if I had to write it manually and I'm not that experienced to make program that sets that automatically. I don't even have idea how to make it other way.

HonzaVinCZ avatar Jul 10 '21 21:07 HonzaVinCZ

i think i figured it out. im not entirely sure how. i added opencomputers with its uuid to ops, then i went into config/opencomputers/settings.conf

found "nameFormat=" and changed it to "OpenComputers.robot" (note: this makes the name generation static, im not sure if this is a problem or not, but works around permissions)

at first, it didnt work. but then i waited a bit and went back to try something and it was suddenly working.

i have to use ops.txt because luckperms wont let me add a user that doesnt exist.

xemnes avatar Jul 10 '21 22:07 xemnes