PlayerSkins

Плагин PlayerSkins [Платное] 2.0.24

  • We have added support for the PayPal payment and Bitcoin, Litecoin, Dash, Zcash, Exmo to our site!
    Мы добавили поддержку платежного шлюза PayPal и Bitcoin, Litecoin, Dash, Zcash, Exmo!

TOP-ic

Регистрация
09.02.19
Сообщения
11
Реакции
1
Баллы
9
RUB
0.00
can you send me our PlayerSkins.json from config folder
Код:
{
  "Announcement Options": {
    "Display help information to players": false,
    "Information display interval (minutes)": 10
  },
  "Purchase Options": {
    "Enable purchase system": true,
    "Plugin used to purchase skins (ServerRewards, Economics)": "Economics"
  },
  "Skin Shop Options": {
    "Custom permissions which can be assigned to skins": [
      "vip",
      "vip2",
      "vip3"
    ],
    "NPC user IDs that players can interact with to open the skin shop": [],
    "Disable the '/skin shop' command and force players to access it via a NPC": false,
    "Allow players to sell unwanted skins back to the skin store": true,
    "Give player the item when they purchase a skin (this disables the reskin menu)": false,
    "Forced display mode for skin shop (Full, Minimalist, None)": "None",
    "Send a help message to players when exiting the skin shop": true,
    "List of shortnames for items to be blocked from appearing in the skin shop": []
  },
  "Re-skin Options": {
    "NPC user IDs that players can interact with to open the re-skin menu": [],
    "Disable the '/skin' command and force players to access it via a NPC": false
  },
  "Workshop Options": {
    "Disable approved skins from the skin shop": false,
    "Retrieve workshop skin information when the plugin loads": true,
    "Word filter for workshop skins. If the skin title partially contains any of these words it will not be available as a potential skin": [],
    "Force image URLs to use HTTP instead of HTTPS": false,
    "Steam API key (get one here https://steamcommunity.com/dev/apikey)": "here's my apikey"
  },
  "UI Options": {
    "UI Colors": {
      "Background": {
        "Color (hex)": "#2b2b2b",
        "Alpha (0.0 - 1.0)": 0.7
      },
      "Panel": {
        "Color (hex)": "#545554",
        "Alpha (0.0 - 1.0)": 1.0
      },
      "Button": {
        "Color (hex)": "#393939",
        "Alpha (0.0 - 1.0)": 1.0
      },
      "ButtonSelected": {
        "Color (hex)": "#d85540",
        "Alpha (0.0 - 1.0)": 1.0
      }
    }
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 14
  }
}
В реале apikey прописан.
 

mehdin85

Регистрация
25.01.19
Сообщения
27
Реакции
4
Баллы
9
RUB
326.01
Код:
{
  "Announcement Options": {
    "Display help information to players": false,
    "Information display interval (minutes)": 10
  },
  "Purchase Options": {
    "Enable purchase system": true,
    "Plugin used to purchase skins (ServerRewards, Economics)": "Economics"
  },
  "Skin Shop Options": {
    "Custom permissions which can be assigned to skins": [
      "vip",
      "vip2",
      "vip3"
    ],
    "NPC user IDs that players can interact with to open the skin shop": [],
    "Disable the '/skin shop' command and force players to access it via a NPC": false,
    "Allow players to sell unwanted skins back to the skin store": true,
    "Give player the item when they purchase a skin (this disables the reskin menu)": false,
    "Forced display mode for skin shop (Full, Minimalist, None)": "None",
    "Send a help message to players when exiting the skin shop": true,
    "List of shortnames for items to be blocked from appearing in the skin shop": []
  },
  "Re-skin Options": {
    "NPC user IDs that players can interact with to open the re-skin menu": [],
    "Disable the '/skin' command and force players to access it via a NPC": false
  },
  "Workshop Options": {
    "Disable approved skins from the skin shop": false,
    "Retrieve workshop skin information when the plugin loads": true,
    "Word filter for workshop skins. If the skin title partially contains any of these words it will not be available as a potential skin": [],
    "Force image URLs to use HTTP instead of HTTPS": false,
    "Steam API key (get one here https://steamcommunity.com/dev/apikey)": "here's my apikey"
  },
  "UI Options": {
    "UI Colors": {
      "Background": {
        "Color (hex)": "#️2b2b2b",
        "Alpha (0.0 - 1.0)": 0.7
      },
      "Panel": {
        "Color (hex)": "#️545554",
        "Alpha (0.0 - 1.0)": 1.0
      },
      "Button": {
        "Color (hex)": "#️393939",
        "Alpha (0.0 - 1.0)": 1.0
      },
      "ButtonSelected": {
        "Color (hex)": "#️d85540",
        "Alpha (0.0 - 1.0)": 1.0
      }
    }
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 14
  }
}
В реале apikey прописан.
OK i check it, for some reason skins wont save from ADMIN menu for now, but there is 3 ways you can set price for skins or remove skins

playerskins.setprice <item shortname> <amount> - Set the price for all skins for the specified item
playerskins.setprice all <amount> - Set the price for all skins for all items
playerskins.skins remove <item shortname> <skin ID> - Remove the specified skin from the skin shop

or you can go in DATA folder and edit skinlist.json manually like this:

Код:
"tshirt": {
    "101": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
    "10002": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
    "10003": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
    "10024": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
......................................
edited:
Код:
"tshirt": {
    "101": {
      "permission": "",
      "cost": 5,
      "isDisabled": false
    },
    "10002": {
      "permission": "",
      "cost": 1,
      "isDisabled": true // hiden skin (removed from menu)
    },
    "10003": {
      "permission": "",
      "cost": 13,
      "isDisabled": false
    },
    "10024": {
      "permission": "",
      "cost": 20,
      "isDisabled": false
    },
 

TOP-ic

Регистрация
09.02.19
Сообщения
11
Реакции
1
Баллы
9
RUB
0.00
OK i check it, for some reason skins wont save from ADMIN menu for now, but there is 3 ways you can set price for skins or remove skins

playerskins.setprice <item shortname> <amount> - Set the price for all skins for the specified item
playerskins.setprice all <amount> - Set the price for all skins for all items
playerskins.skins remove <item shortname> <skin ID> - Remove the specified skin from the skin shop

or you can go in DATA folder and edit skinlist.json manually like this:

Код:
"tshirt": {
    "101": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
    "10002": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
    "10003": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
    "10024": {
      "permission": "",
      "cost": 1,
      "isDisabled": false
    },
......................................
edited:
Код:
"tshirt": {
    "101": {
      "permission": "",
      "cost": 5,
      "isDisabled": false
    },
    "10002": {
      "permission": "",
      "cost": 1,
      "isDisabled": true // hiden skin (removed from menu)
    },
    "10003": {
      "permission": "",
      "cost": 13,
      "isDisabled": false
    },
    "10024": {
      "permission": "",
      "cost": 20,
      "isDisabled": false
    },
Oops! And in the skinlist file.json, something must be? I have only {} in this file. No matter how many times I reinstall the plugin, in the skinlist.json file except {} nothing appears.
Упс! А в файле skinlist.json, что-то должно быть? У меня в этом файле только {}. Сколько бы я раз не переустанавливал плагин, в файле skinlist.json кроме {} ничего не появляется.
Пост автоматически объединен:

В консоли набираю команду playerskins.skins import random rifle.ak 10 и у меня в файле skinlist.json появляется:
JSON:
{
  "tshirt": {
    "101": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "10002": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "10003": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "10024": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "10025": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "10033": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
        ......
          "door.double.hinged.toptier": {
    "1874611109": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "1911994581": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    }
  },
  "door.double.hinged.wood": {
    "1876817741": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    },
    "1882487559": {
      "permission": "",
      "cost": 1500,
      "isDisabled": false
    }
  }
}
В котором на 10000 строк записей. Хотя я загружал всего 10 скинов на "калаш".
 
Последнее редактирование:

mehdin85

Регистрация
25.01.19
Сообщения
27
Реакции
4
Баллы
9
RUB
326.01
PlayerSkins - PlayerSkins 2.0.15

Force skin data save on every admin change made via UI
Пост автоматически объединен:

Код:
{
  "Announcement Options": {
    "Display help information to players": false,
    "Information display interval (minutes)": 10
  },
  "Purchase Options": {
    "Enable purchase system": true,
    "Plugin used to purchase skins (ServerRewards, Economics)": "Economics"
  },
  "Skin Shop Options": {
    "Custom permissions which can be assigned to skins": [
      "vip",
      "vip2",
      "vip3"
    ],
    "NPC user IDs that players can interact with to open the skin shop": [],
    "Disable the '/skin shop' command and force players to access it via a NPC": false,
    "Allow players to sell unwanted skins back to the skin store": true,
    "Give player the item when they purchase a skin (this disables the reskin menu)": false,
    "Forced display mode for skin shop (Full, Minimalist, None)": "None",
    "Send a help message to players when exiting the skin shop": true,
    "List of shortnames for items to be blocked from appearing in the skin shop": []
  },
  "Re-skin Options": {
    "NPC user IDs that players can interact with to open the re-skin menu": [],
    "Disable the '/skin' command and force players to access it via a NPC": false
  },
  "Workshop Options": {
    "Disable approved skins from the skin shop": false,
    "Retrieve workshop skin information when the plugin loads": true,
    "Word filter for workshop skins. If the skin title partially contains any of these words it will not be available as a potential skin": [],
    "Force image URLs to use HTTP instead of HTTPS": false,
    "Steam API key (get one here https://steamcommunity.com/dev/apikey)": "here's my apikey"
  },
  "UI Options": {
    "UI Colors": {
      "Background": {
        "Color (hex)": "#️2b2b2b",
        "Alpha (0.0 - 1.0)": 0.7
      },
      "Panel": {
        "Color (hex)": "#️545554",
        "Alpha (0.0 - 1.0)": 1.0
      },
      "Button": {
        "Color (hex)": "#️393939",
        "Alpha (0.0 - 1.0)": 1.0
      },
      "ButtonSelected": {
        "Color (hex)": "#️d85540",
        "Alpha (0.0 - 1.0)": 1.0
      }
    }
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 14
  }
}
В реале apikey прописан.
New update is out, now everything works with ADMIN menu !
 
  • Мне нравится
Реакции: TOP-ic

Serge

Регистрация
28.10.19
Сообщения
1
Реакции
0
Баллы
6
Возраст
38
RUB
0.00
Прочитал все посты и не могу понять плагин то работает цены запоминает ??? стоит покупать или сыроват
 

TOP-ic

Регистрация
09.02.19
Сообщения
11
Реакции
1
Баллы
9
RUB
0.00
Прочитал все посты и не могу понять плагин то работает цены запоминает ??? стоит покупать или сыроват
Всё работает, ну может не так как надо или просто я "не догоняю". ) Вчера вон обнову подогнали, вроде пишут исправили сохранения из админки. Я еще не проверял. Но если изменять в data, то цены точно запоминает. )
Пост автоматически объединен:

Хелп!
JSON:
0:35 [Error] Failed to call hook 'OnActiveItemChanged' on plugin 'PlayerSkins v2.0.15' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Cui.CuiHelper.DestroyUi (BasePlayer player, System.String elem) [0x00035] in <b2e814edb32346bea68fd85cf644aa0f>:0
  at Oxide.Plugins.PlayerSkins.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x00000] in <ecc6b7894def49f1bea9eb7406f7ec55>:0
  at Oxide.Plugins.PlayerSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f6] in <ecc6b7894def49f1bea9eb7406f7ec55>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
 
Последнее редактирование:

mehdin85

Регистрация
25.01.19
Сообщения
27
Реакции
4
Баллы
9
RUB
326.01
PlayerSkins - PlayerSkins 2.0.20

2.0.20
Don't queue approved icons for download when found in workshop results

2.0.19
Make sure all loadorder URLs are properly changed to http when "Force image URLs to use HTTP instead of HTTPS" is set to true

2.0.18
Forgot to include the already existing approved skins into the view-able skin list

2.0.17
Split approved skin queries and missing skin queries into chunks of 100 (SteamAPI limit per request?)
Only query for approved skins if the icon isn't already registered in ImageLibrary...
 

TOP-ic

Регистрация
09.02.19
Сообщения
11
Реакции
1
Баллы
9
RUB
0.00
[Oxide] 18:15 [Error] [PlayerSkins] There was a error querying Steam for workshop item data : Code (400)
Страшная ошибка? )) Спасибо.
 

mehdin85

Регистрация
25.01.19
Сообщения
27
Реакции
4
Баллы
9
RUB
326.01
PlayerSkins - Update to 2.0.21

More workshop names -> shortnames
Adjust item name UI element size so it shows on 4k resoultion
Пост автоматически объединен:

update added sorry for late, im working and dont have much time for PC, im rly sorry now i will add notify to my mobile to get update fast.
 
  • Мне нравится
Реакции: MrFallen и Ernieleo

TOP-ic

Регистрация
09.02.19
Сообщения
11
Реакции
1
Баллы
9
RUB
0.00
Куча ошибок при загрузке сервера.
JSON:
00:51 [Error] Failed to call hook 'OnActiveItemChanged' on plugin 'PlayerSkins v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Cui.CuiHelper.DestroyUi (BasePlayer player, System.String elem) [0x00035] in <5a50b2cbb89e4232b3947fd1bdab52c2>:0
  at Oxide.Plugins.PlayerSkins.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x00000] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.PlayerSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f6] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
00:51 [Error] Failed to call hook 'OnActiveItemChanged' on plugin 'PlayerSkins v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Cui.CuiHelper.DestroyUi (BasePlayer player, System.String elem) [0x00035] in <5a50b2cbb89e4232b3947fd1bdab52c2>:0
  at Oxide.Plugins.PlayerSkins.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x00000] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.PlayerSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f6] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
И в логах такой ошибки очень много, более 50 шт. за раз.
 

mehdin85

Регистрация
25.01.19
Сообщения
27
Реакции
4
Баллы
9
RUB
326.01
Куча ошибок при загрузке сервера.
JSON:
00:51 [Error] Failed to call hook 'OnActiveItemChanged' on plugin 'PlayerSkins v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Cui.CuiHelper.DestroyUi (BasePlayer player, System.String elem) [0x00035] in <5a50b2cbb89e4232b3947fd1bdab52c2>:0
  at Oxide.Plugins.PlayerSkins.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x00000] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.PlayerSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f6] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
00:51 [Error] Failed to call hook 'OnActiveItemChanged' on plugin 'PlayerSkins v2.0.21' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Cui.CuiHelper.DestroyUi (BasePlayer player, System.String elem) [0x00035] in <5a50b2cbb89e4232b3947fd1bdab52c2>:0
  at Oxide.Plugins.PlayerSkins.OnActiveItemChanged (BasePlayer player, Item oldItem, Item newItem) [0x00000] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.PlayerSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001f6] in <c34207d5d92c4f04a131414f75d04590>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
И в логах такой ошибки очень много, более 50 шт. за раз.
that error is for API key and server hosting, pluging works fine. some api key need to in imagelib to...
 

SKY

Регистрация
03.03.20
Сообщения
2
Реакции
0
Баллы
6
RUB
0.00
How to add all aviable Skins from workshop one time?
And could you update please?
Unloaded plugin PlayerSkins v2.0.21 by k1lly0u

[PlayerSkins] Waiting for Steamworks to update item definitions....

Loaded plugin PlayerSkins v2.0.21 by k1lly0u

Something is wrong I uploaded it and edited the Steam API Key but till 1h nothing happen maybe update needed?
 
Последнее редактирование:

Batenka

Регистрация
13.12.19
Сообщения
12
Реакции
0
Баллы
0
RUB
0.00
There was a error querying Steam for workshop data : Code (0)
There was a error querying Steam for workshop data : Code (0) постоянно спамит этим в консоль
 
Последнее редактирование: