Jump to content

Showing MsgPerm_InstantBarr even with the data file set to false

Not a Bug 0.1.1

ChardaZAR
ChardaZAR

Posted

I have two commands that players can buy
instantbarrels.use
instantbarrels.roadsigns

from the Instant Barrels mod on Umod

The perms are always showing on the status bars, for everyone on the server, regardless if the status bar is enabled or not in the PermissionsConfig.json

I've even removed them from the config completely, but they are still showing

See Screenshot below

 

Screenshot at Dec 29 15-49-37.png

IIIaKa

Posted

Hello! I didn't quite understand your problem 😅

Do you saying that you cant change the nice name of permission?

ChardaZAR

Posted

Hello! I don't want to show "MsgPerm_Instantbar" in the status
I can't remove them

I've turned them off in the config, but they are still showing in game for everyone

Both permissions are set to false, but still show in-game

 

 "InstantBarrels.use": {
    "Name. The name must be identical to the key above.": "InstantBarrels.use",
    "IsEnaled": false,
    "TextKey": "MsgPerm_InstantBarrels.use",
    "BarSettings": {
      "BarType - You can choose only between TimeProgressCounter and TimeCounter": "TimeProgressCounter",
      "Order": 20,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material": "",
      "Image_Url": "https://i.imgur.com/BtK7YHa.png",
      "Image_Local(Leave empty to use Image_Url)": "PermissionsStatus_Default",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": false,
      "Image_Color(Hex or RGBA)": "#FFF53D",
      "Image_Transparency": 1,
      "Is it worth enabling an outline for the image?": false,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1,
      "Image_Outline_Distance": "0.75 0.75",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "1 1 1 1",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 0,
      "Is it worth enabling an outline for the text?": false,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1,
      "Text_Outline_Distance": "0.75 0.75",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "1 1 1 1",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "Is it worth enabling an outline for the sub text?": false,
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1,
      "SubText_Outline_Distance": "0.75 0.75",
      "Progress_Reverse": true,
      "Progress_Color(Hex or RGBA)": "#FFD700",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "0 0",
      "Progress_OffsetMax": "0 0"
    }
  },
  "InstantBarrels.roadsigns": {
    "Name. The name must be identical to the key above.": "InstantBarrels.roadsigns",
    "IsEnaled": false,
    "TextKey": "MsgPerm_InstantBarrels.roadsigns",
    "BarSettings": {
      "BarType - You can choose only between TimeProgressCounter and TimeCounter": "TimeProgressCounter",
      "Order": 20,
      "Height": 26,
      "Main_Color(Hex or RGBA)": "#FFFFFF",
      "Main_Transparency": 0.15,
      "Main_Material": "",
      "Image_Url": "https://i.imgur.com/BtK7YHa.png",
      "Image_Local(Leave empty to use Image_Url)": "PermissionsStatus_Default",
      "Image_Sprite(Leave empty to use Image_Local or Image_Url)": "",
      "Image_IsRawImage": false,
      "Image_Color(Hex or RGBA)": "#FFF53D",
      "Image_Transparency": 1,
      "Is it worth enabling an outline for the image?": false,
      "Image_Outline_Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
      "Image_Outline_Transparency": 1,
      "Image_Outline_Distance": "0.75 0.75",
      "Text_Size": 12,
      "Text_Color(Hex or RGBA)": "1 1 1 1",
      "Text_Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
      "Text_Offset_Horizontal": 0,
      "Is it worth enabling an outline for the text?": false,
      "Text_Outline_Color(Hex or RGBA)": "#000000",
      "Text_Outline_Transparency": 1,
      "Text_Outline_Distance": "0.75 0.75",
      "SubText_Size": 12,
      "SubText_Color(Hex or RGBA)": "1 1 1 1",
      "SubText_Font": "RobotoCondensed-Bold.ttf",
      "Is it worth enabling an outline for the sub text?": false,
      "SubText_Outline_Color(Hex or RGBA)": "0.5 0.6 0.7 0.5",
      "SubText_Outline_Transparency": 1,
      "SubText_Outline_Distance": "0.75 0.75",
      "Progress_Reverse": true,
      "Progress_Color(Hex or RGBA)": "#FFD700",
      "Progress_Transparency": 0.7,
      "Progress_OffsetMin": "0 0",
      "Progress_OffsetMax": "0 0"
    }

 

ChardaZAR

Posted

I fixed it by removing the Instant Barrels plugin from the server

 

IIIaKa

Posted

@ChardaZAR
I understood the reason. In this case, the InstantBarrels plugin has permissions with uppercase letters, namely "InstantBarrels.use" and "InstantBarrels.roadsigns", but you are trying to assign them using lowercase letters for the entire name("instantbarrels.use" and "instantbarrels.roadsigns").
This issue is related to the TemporaryPermissions plugin and it will be fixed in the next update.
In the meantime, I recommend using the permission names exactly as they are specified in the plugins.

  • Love 1
ChardaZAR

Posted

Awesome. Thanks man. Appreciate it!
I've removed the plugin in the meantime

Will add it back in on the next update

Appreciate you 

  • Like 1
IIIaKa

Posted

Changed Status from Pending to Not a Bug

IIIaKa

Posted

If the issue persists, feel free to report it in this thread.

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.