-
Posts
235 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by MTriper
-
While adjusting the title color I came across a problem with it. When the status first appears, the text color is white. But if the status line is changed, the color becomes the one set at initialization. The problem is shown on the video. using Oxide.Core.Plugins; namespace Oxide.Plugins { [Info("SSTest", "MTriper", "1.0.0")] class SSTest : RustPlugin { [PluginReference] Plugin SimpleStatus; private void OnServerInitialized() { SimpleStatus.Call("CreateStatus", this, "SSTest.Drop", "0.42 0.13 0.09 1", "Title", "0 0 0 1", "Text", "1 1 1 1", "assets/icons/close.png", "1 0.24 0.1 1"); } [ChatCommand("tt")] void TEST(BasePlayer player) { SimpleStatus.Call("SetStatus", player.userID, "SSTest.Drop", 20); SimpleStatus.Call("SetStatusTitle", player.userID, "SSTest.Drop", "Test title"); SimpleStatus.Call("SetStatusText", player.userID, "SSTest.Drop", "-99"); } } }
-
- 84 comments
-
Changed Status from Pending to Closed
-
- 84 comments
-
- 84 comments
-
- 1
-
-
- 84 comments
-
- 84 comments
-
I made an example of a vehicle section. I also recommend that you read the "Permissions" section in the plugin description to reduce the number of permissions created by the plugin. { "Section name": "Vehicles", "Enable this section?": true, "Section permission [required]": "vehicles", "Section icon": "https://i.postimg.cc/xT7yjfHt/vehicles.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#fade54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [ { "Section name": "Mini Copter", "Enable this section?": true, "Section permission [required]": "minicopter", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [ { "Section name": "Spawn", "Enable this section?": true, "Section permission [required]": "spawn", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "spawn mini", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Recall", "Enable this section?": true, "Section permission [required]": "recall", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "recall mini", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Kill", "Enable this section?": true, "Section permission [required]": "kill", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "kill mini", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] } ] }, { "Section name": "RHIB", "Enable this section?": true, "Section permission [required]": "rhib", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [ { "Section name": "Spawn", "Enable this section?": true, "Section permission [required]": "spawn", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "spawn rhib", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Recall", "Enable this section?": true, "Section permission [required]": "recall", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "recall rhib", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Kill", "Enable this section?": true, "Section permission [required]": "kill", "Section icon": "https://imgur.com/2PPu54B.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#67fa54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "kill rhib", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] } ] } ] }
- 84 comments
-
- 1
-
-
- 84 comments
-
Changed Status from Pending to Closed
-
Hi, in the "Section permission" field you are using names that include dots and underscores. This is not allowed, it is written in the description of this setting. I would also recommend you to simplify the names of section permissions: - recycler ---- create ---- pickup ---- *etc.
-
Changed Status from Pending to Closed
-
Changed Status from Pending to Closed
-
Glad to help
-
Hi, these commands can be added to any level or menu section. Here is an example of a config that works well on my server. Check if the players have privileges for these sections. "Sections": [ { "Section name": "Homes", "Enable this section?": true, "Section permission [required]": "_homes_all", "Section icon": "https://i.imgur.com/5jmbECE.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#fade54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": -15, "Subsections": [ { "Section name": "Home 1", "Enable this section?": true, "Section permission [required]": "home_1", "Section icon": "https://i.imgur.com/Q4wlQVX.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#fade54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": -15, "Subsections": [ { "Section name": "Teleport", "Enable this section?": true, "Section permission [required]": "teleport", "Section icon": "https://i.imgur.com/2S9oQB8.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#57de54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "home {0}", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Remove", "Enable this section?": true, "Section permission [required]": "remove", "Section icon": "https://i.imgur.com/PECEX3I.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#f55757", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "home remove {0}", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] } ] }, { "Section name": "Add", "Enable this section?": true, "Section permission [required]": "home_add", "Section icon": "https://i.imgur.com/h1R6x2F.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#fade54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "home add {0}", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Bandit", "Enable this section?": true, "Section permission [required]": "bandit", "Section icon": "https://i.imgur.com/h1R6x2F.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#fade54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "bandit", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] }, { "Section name": "Outpost", "Enable this section?": true, "Section permission [required]": "outpost", "Section icon": "https://i.imgur.com/h1R6x2F.png", "Fill icon with color below?": true, "Inactive section color [HEX or Unity RGBA]": "#fade54", "Active section color [HEX or Unity RGBA]": "#e3e3e3", "Command executed on behalf of the player [if empty, the subsections below are used]": "outpost", "Command type [true - chat, false - console]": true, "Permissions for above command [comma separated. optional]. Checks if the player has such a permissions.": "", "Show this section only to those with permissions above?": false, "Show this section even to those who don't have permissions?": false, "Subsections layout [n - number]: 0 - auto; n - from the beginning; -n - from an active element": 0, "Subsections": [] } ] } ]
-
I have the panel opening normally with your configuration file.
-
- 84 comments
-
- 1
-
-
Hi, it's working fine for me. Maybe the plugin is displaying some warnings in the console? Try loading the plugin with the default config or check if the same command is used somewhere else. If the problem persists, send me your config and I'll try to figure it out.
-
Changed Status from Pending to Closed
-
You're welcome.
-
Please send me the standard config because I have no way to create it. In it I will try to set up commands for the Skinner plugin.
-
Please send me your config.
-
Hi, what exactly are you having trouble with?
-
Let's start with the fact that this is not a plugin bug. All pictures of sections that are used in the standard config are presented for example, as I see it. The only thing that is used in the plugin for all is the 3 circle level pictures. These 3 images can easily be reuploaded to any hosting you like and use the plugin as intended. The problem with imgur is related to the region of your game server. It occurs only for some users. I am already working on updating the plugin and it uses a different hosting. But it is not a fact that there will be no problems with it too. So, as I wrote above, just upload them to a convenient hosting or wait for an update.