MightyPirates / OpenComputers

Home of the OpenComputers mod for Minecraft.
https://oc.cil.li
Other
1.59k stars 433 forks source link

[1.12.2] Robot (propably) has no permissions #3426

Closed HonzaVinCZ closed 1 year ago

HonzaVinCZ commented 3 years ago

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.

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

ghost commented 3 years ago

Can a robot break blocks if no plugins are installed?

mckuhei commented 3 years ago

same problem.

mckuhei commented 3 years ago

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

HonzaVinCZ commented 3 years ago

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.

xemnes commented 3 years ago

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

HonzaVinCZ commented 3 years ago

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.

xemnes commented 3 years ago

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.