oddlama / minecraft-server

A simple but fully-featured minecraft server installer for linux. Comes with autostart, 3d online map, vane, account multiplexing, update script and more.
MIT License
66 stars 9 forks source link

Feat: Automatically download LuckPerms for Velocity + default permiss… #12

Open 0xSoul24 opened 4 months ago

0xSoul24 commented 4 months ago

…ions to start server

oddlama commented 4 months ago

Thanks, downloading spark by default is probably a really good idea. I'm not quite sure why you need luckperms by default though, I think anyone should be able to start the server by default, right?

0xSoul24 commented 4 months ago

This is what happens when you try to connect to server without lp using latest changes and this issue didn't only happen to me, allow_anyone is in true and nothing changed after install imagen

imagen

oddlama commented 4 months ago

Ahh damn, my bad. The issue is that there was no release since 1.14.0 and allow_anyone has only been introduced after that 😅

I added allow_anyone to avoid needing a permissions plugin for the default case where everyone can start the server to keep the installation more minimal and allow users the choice to use something else if they desire. But the current state is definitely suboptimal...

0xSoul24 commented 4 months ago

Starting with: by default it downloads Paper latest builds including experimental, so its downloading 1.21 builds and downloads vane for 1.20.4, so server will give errors when trying to start them and just leave them disabled, so for vane-velocity people will need a dev build and allow_anyone implemented, as for spark, in the install script add package "perf" as dependency, spark will try to make use of /proc/kallsyms, without perf installed in system, spark will crash