Skip to content

Ability to make the plugin only work on certain worlds #67

Open

Description

@jackysacki

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
On my server we have a vanilla world and a mcmmo (modded) world. I'm wondering if it will be possible for you to make it so the custom items can't be made on certain worlds. For instance we don't want anyone to be able to make the special armour on the vanilla world since it's supposed to just be vanilla.

Describe the solution you'd like
A clear and concise description of what you want to happen.
The ability to make a world blacklist on which worlds you can't use the /recipes command and you can't craft the custom items

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
We have a plugin called HPWP / PerWorldPlugins which lets us stop most plugins from being used on the vanilla world. It was previously possible to drag the items out of the UI on there because while the plugin was disabled it still let you type the /recipes command. We had trouble disabling the /recipes command on the vanilla world so I did it with the plugin MyCommand but now on the modded world it doesn't let you type /recipes to open the book anymore. I managed to bypass that kind of though because I made a /craftbook command that gives you the recipe book as an item. But that doesn't stop the fact that you can still make the items on the world we don't want them made on. (We are too new a server to be able to consider doing the bungee yet)

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. WolfyScript commented on Oct 4, 2021

    @WolfyScript
    Owner

    Have you tried the world condition of the recipes? It allows you to enable recipes in selected worlds.

  2. jackysacki commented on Oct 5, 2021

    @jackysacki
    Author
  3. WolfyScript commented on Oct 6, 2021

    @WolfyScript
    Owner

    hmm yeah that is quite awkward. Can you set permissions per world? That would be my idea. Give players on your modded world the permission to use /recipes. And block it on the vanilla. Not sure how that could be achieved, but just an idea.

  4. jackysacki commented on Oct 7, 2021

    @jackysacki
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions