Giter Site home page Giter Site logo

Comments (2)

Evidentsinger14 avatar Evidentsinger14 commented on June 10, 2024

What's your reasoning for wanting to pull from a specified group? meta is displayed based on group weight anyways, so if you want different colors for each group, you'd just set them how you usually would. if I'm understanding what you actually want to use this for (server color schemes, so you don't have to hard-code it) you can set in default, and use the appropriate meta placeholder for it.

from placeholders.

DooSHeK2 avatar DooSHeK2 commented on June 10, 2024

If I do that (put colors in the default group) I won't be able to use them for coloring (e.g. nicks, ranks) based on group affiliation, e.g. in chat. If I put colors as a meta entry in a group (I do now) I can't use those colors in places where I don't have a group reference. For example, I have done so that when you type /ranks, a list of all available ranks is displayed in the chat. This can be done e.g. using EssentialsX and an .info.txt file. This command just displays the contents of the file and I have to manually retype all the colors in this file that I have already entered in LuckPerms in groups. Now I have 18 ranks and I would like to change a few colors, I will have to do it in many places and if I had a placeholder I would do it in one place (in a group) and the color would automatically change everywhere. Imagine how much work it will be when there are more ranks.

There is a placeholder:
%luckperms_meta% <meta key>
why not do:
%luckperms_meta% <meta key> <group name>

ranks

from placeholders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.