MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    MUX: Attribute Visibility

    MU Code
    3
    4
    1260
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hexagon
      Hexagon last edited by

      Is there a good way to restrict attribute visibility to a list of objects (players, rooms, things) contained in an attribute list somewhere?
      I know it can be restricted via underscore, or with attribute ownership as attribute owners can read the attribute on an object even if they don't own the object. Visible is too open.

      A good example would be if you wanted to have a clan that could issue an arbitrary command and see the names of everyone in that clan... but you only wanted members already added to that clan to run the arbitrary command.

      Ashen-Shugar 1 Reply Last reply Reply Quote 0
      • Ashen-Shugar
        Ashen-Shugar @Hexagon last edited by

        @Hexagon said in MUX: Attribute Visibility:

        Is there a good way to restrict attribute visibility to a list of objects (players, rooms, things) contained in an attribute list somewhere?
        I know it can be restricted via underscore, or with attribute ownership as attribute owners can read the attribute on an object even if they don't own the object. Visible is too open.

        A good example would be if you wanted to have a clan that could issue an arbitrary command and see the names of everyone in that clan... but you only wanted members already added to that clan to run the arbitrary command.

        MUX does not have an arbitrary method to specify if you can see specific attributes over someone else.

        What you'lll have to do is build a @function to fetch the attribute(s) based on evaluated permission sets.

        Sorry I don't have a better answer for you.

        Though maybe... hum. Not overly familar with MUX Zones, but it is a potential for murking the ownership a bit to grant you what you want, but it will likely still be object-wide and not per attribute.

        I don't think Penn attribute trees would even grant something like this.

        Lotherio Hexagon 2 Replies Last reply Reply Quote 0
        • Lotherio
          Lotherio @Ashen-Shugar last edited by

          @Ashen-Shugar said in MUX: Attribute Visibility:

          @Hexagon said in MUX: Attribute Visibility:

          Is there a good way to restrict attribute visibility to a list of objects (players, rooms, things) contained in an attribute list somewhere?
          I know it can be restricted via underscore, or with attribute ownership as attribute owners can read the attribute on an object even if they don't own the object. Visible is too open.

          A good example would be if you wanted to have a clan that could issue an arbitrary command and see the names of everyone in that clan... but you only wanted members already added to that clan to run the arbitrary command.

          MUX does not have an arbitrary method to specify if you can see specific attributes over someone else.

          What you'lll have to do is build a @function to fetch the attribute(s) based on evaluated permission sets.

          Sorry I don't have a better answer for you.

          Though maybe... hum. Not overly familar with MUX Zones, but it is a potential for murking the ownership a bit to grant you what you want, but it will likely still be object-wide and not per attribute.

          I don't think Penn attribute trees would even grant something like this.

          On Penn I'd run it through a switch that checks an attribute on the player (clan) against the attribute one is trying to see. Could use a couple objects depending how complex you want it, but could get the effect of certain attributes only visible by certain clans or groups pretty easily.

          Not that it helps OP.

          I'm just a surge protector doing my job, sir.

          1 Reply Last reply Reply Quote 0
          • Hexagon
            Hexagon @Ashen-Shugar last edited by

            Thanks @Ashen-Shugar @Lotherio. That's about what I figured, but it was worth asking.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post