NucleusPowered / Nucleus

The Ultimate Essentials Plugin for Sponge.
http://nucleuspowered.org
MIT License
160 stars 69 forks source link

Disable certain permissions when no permissions plugin is installed #1051

Closed psiie closed 6 years ago

psiie commented 6 years ago

Fresh install of Nucleus leaves mobs entirely passive. No setting in config to make them aggressive. Removing the plugin makes the mobs aggressive again.

Nucleus-1.2.2-S7.0-MC1.12.2 forge-1.12.2-14.23.1.2555 spongeforge-1.12.2-2555-7.1.0-BETA-2825

dualspiral commented 6 years ago

I bet you’ve given yourself the permission wildcard and are logging in vanished. Does it say that you are now vanished when you log in? Please remove the nucleus.vanish.onlogin permission if so and read https://nucleuspowered.org/docs/faqs.html#lots-of-permissions as to why it’s a bad idea

psiie commented 6 years ago

I havn't installed permissions yet and am running the plugin without. I get that nice recommendation from Nucleus stating that no permissions are detected, are recommended, but not required.

arlojeremy commented 6 years ago

I've also done a fresh install and get passive mobs. Didn't run any Nucleus commands that I can recall, other than setting a new spawn point.

When I log it, it does say "you are currently vanished". I don't recall setting any nucleus specific permissions.

When I use the command "/vanish". I become visible and mobs attack. When I log back in, I'm vanished again.

So, I know nothing about permissions (yet?). I don't know how to check if I have a wildcard set or why I'd have a wildcard set, or if I somehow set nucleus.vanish.onlogin somehow accidentally.

I've used nucleus before, and recall it working fine on a fresh install without having to set-up groups and such. So before getting into the quagmire of permissions, I thought, okay, I'll just delete the root nucleus directory, and the nucleus config directory and start from scratch.

Same thing. Start vanished. Is it really necessary to go through a whole process of setting groups and permissions on all those groups just to play the game normally?

Thanks.

edit: So, I need to have a permissions plugin to fix the permissions problems I'm having out of the box?

Nucleus-1.2.2-S7.0-MC1.12.2-plugin.jar spongeforge-1.12.2-2555-7.1.0-BETA-2817.jar forge-1.12.2-14.23.1.2583-universal.jar

dualspiral commented 6 years ago

As it stands, yes. I'm in the process of determining how to disable some permissions (including this one) if no perm plugin is installed, because quite frankly, I didn't think about op when I did this - oversight on my part. The next update, when I get around to it, will use the permissions plugin detection to determine if we've only got op levels - that's why this issue is open. I just haven't had time to do it yet.

If you are running a small private server, you probably don't need vanish anyway. As a workaround until I get this sorted, you can disable the vanish module - in main.confyou can set -modules.vanish to DISABLED and restart your server.

arlojeremy commented 6 years ago

Thanks for the easy workaround, it worked great!