EssentialsX

EssentialsX

2M Downloads

Time set per world

Platinteufel opened this issue · 15 comments

commented

Sorry for repost, but my ticket #135 has been closed.

I have several worlds on my spigot 1.8.8 server and want to allow my users to change the time in only one world. So i gave them essentials.time & essentials.time.set permissions in this world. But now they are also able to change the time in my other worlds with /day day [world] or /day day all. How can I prevent that?

I'm using PEX for per-world-permissions, but whenever I give them the permissions for changing time in only one world they can use /day day all there to change the time in all worlds. Any ideas please?

commented

Wow, that was fast, thank you!

commented

Öhm, is a fix still planned? :D

commented

This feature has been implemented in build 248.

commented

I've updated the permissions.

Permissions are as follow:

permission description
essentials.time.world. Permits the user to set the time in . is the world name with spaces replaced with _. e.g. My World becomes, my_world.
essentials.time.world.all Permits the user to set time of all worlds.

EDIT: Please consider using build 250.

commented

That means I should give my players essentials.time.world.My_World, if they only should be able to change the time in "My World"?

commented

essentials.time.world.my_world correct.

commented

Thank you! 👍

commented

Do I still need one of these permissions?
essentials.time
essentials.time.set

commented

Yes, both essentials.time and essentials.time.set are required for the command to function.

commented

Okay, thanks :)

commented

I believe you can give seperate permissions per world with pex. Try that.

commented

@BloodyHarvest is right. PEX supports per world permission setup. Read the documentation for further instructions.
Either you have a problem with your permission setup or there is something wrong with the time command.

commented

You just can't solve it with per-world-permissions. If you give your players
essentials.time & essentials.time.set
they can change the time in all worlds with
/day day all
even they have this permissions only in one specific world.

commented

I see your issue now, I'll take a look at it.

commented

Thank you! There should be a new permission for
/day day [world] and /night night [world] and essentials.time.set shouldn't allow this commands.