Skins

Allow players to change items skin with the skin from steam workshop.

Total Downloads: 13,468 - First Release: Apr 20, 2017 - Last Update: May 5, 2017

5/5, 51 likes
  1. Oxide API Reference This will give you all your Items and codes, your skin codes and your colours. Hope it helps.
     
  2. Last edited by a moderator: May 12, 2017
  3. has anyone got an up-to date config they could share?
     
  4. Thank you so much. I would never have used it because I could not figuer why it was corrupted or whatever. Mine looked exactly like yours. But in a different order of courese...lolololo.....Thank you!!!!!!!!!
    Code:
    15:18 [Info] Loaded plugin RestoreUponDeath v0.1.51 by k1lly0u
    15:18 [Info] Loaded plugin Skins v1.2.9 by MalkoR
    15:18 [Error] Skins v1.2.9: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'Workshop['hat.miner']', line 414, position 1.)
    15:18 [Error] Failed to initialize plugin 'Skins v1.2.9' (JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'Workshop['hat.miner']', line 414, position 1.)
    15:18 [Stacktrace] at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0
    15:18 [Info] Unloaded plugin Skins v1.2.9 by MalkoR
    15:18 [Info] No previous version to rollback plugin: Skins
    15:18 [Info] Loaded plugin SkipNightVote v0.1.3 by k1lly0u
    I just copied and pasted you json config sir. This is what I am getting in server. How do I correct it. I looked and I can't see where the Issue is. Will you please look at it. Thanks

    Found the Problem and it works now. Your bottom half of the file needs Comma's after the Brackets. You did most of them but the bottom half just need them added Thank you again !!!!
     
    Last edited by a moderator: May 12, 2017
  5. You can find filled config files in history here. Just do not be lazy to read past message.
     
    Last edited by a moderator: May 14, 2017
  6. you have to give your game time to render the skins icons in, thats what i do and if not then im not sure what you can do.
     
  7. I'm already all afternoon with the plugin active and still continue the same things ;-; thank's
     
  8. If you set incorrect workshop id, than you'll see white square..
     
  9. I used the GitHub link..

    I already tried to put manual IDs too, and nothing
     

  10. its just a small part of skins - all skins you have in workshop :)
    [DOUBLEPOST=1494925450][/DOUBLEPOST]

    show me cfg file i help U
     
  11. I hate to post stupid questions, but i really cant figure it out myself. So i have the plugin, it works perfectly i added skins etc...I want to make another list of skins that can be used for an other group. I mean only for admins and mods or for vip. What i was trying: I uploaded again the same plugin renamed it to skinsvip.cs and edited the file everywhere where i saw "skins" i changed to skinsvip. I found where it says the chat command skin i changed it to skinvip etc. But it still doesnt work, it even doesnt load at server restart, i receiving this error: "[Error] Error while compiling: Skinsvip.cs(408,33): error CS0103: The name `SkinsList' does not exist in the current context" to be honest i dont know what does it mean...Also it doesnt generate the json file into the config folder so i uploaded manually a copy of the original skins.json just renamed it to skinsvip.json and edited the chatcommand too inside it but still nothing. im sure im missing something really fundamental,basic thing but cant figure it out. And my coding skills are around 0 so im just using my common sence so if it was a stupid idea im sorry :) So my question is how can i achieve that to be bale to create 2 separate list with skins for 2 separate groups? If somebody would have some spare time to help me i would really apriciate it. Thanks guys.
    Btw if somebody need a pretty decent list of skins here is my json in attachments, not all items ready but i already added a few hundred skins from workshop.
     

    Attached Files:

    Last edited by a moderator: May 18, 2017
  12. Code:
    {
      "ChatCommand": "skin",
      "PreventDefaultSkins": true,
      "Workshop": {
        "attire.hide.boots": [
          785347695,
          837175591
        ],
        "attire.hide.helterneck": [
          798669794,
          845019310
        ],
        "attire.hide.pants": [
          837179220
        ],
        "attire.hide.poncho": [
          833524594,
          788732722,
          825459163,
          837191793
        ],
        "attire.hide.skirt": [
          831920129,
          793180528
        ],
        "attire.hide.vest": [
          878319804
        ],
        "barricade.concrete": [
          828182621,
          846663258,
          791070521
        ],
        "barricade.sandbags": [
          809144507
        ],
        "bone.club": [
          791109245,
          888839261
        ],
        "box.wooden": [
          787716105,
          885103417,
          889212734
        ],
        "box.wooden.large": [
          813269955,
          10124,
          892062620,
          810383121,
          10122,
          854002617,
          576569265,
          798455489,
          10123,
          882223700,
          809975811,
          10141,
          797422750,
          904962497,
          851053322,
          842083350,
          878850459,
          881249489,
          890915277,
          854718942
        ],
        "bucket.helmet": [
          831798567,
          10127,
          867605376,
          784438982,
          885450077,
          889767601,
          564826303
        ],
        "burlap.gloves": [
          874488180,
          816473273,
          10128,
          883476299,
          904961862,
          661317919,
          610098458
        ],
        "burlap.headwrap": [
          896506958,
          861551572,
          868014709,
          785890135
        ],
        "burlap.shirt": [
          849866944,
          809909900,
          654502725,
          10136,
          882451685
        ],
        "burlap.shoes": [
          906443871,
          790679533
        ],
        "burlap.trousers": [
          921250017,
          809968188
        ],
        "chair": [
          875258235,
          871339422,
          897656037,
          871271807
        ],
        "coffeecan.helmet": [
          848645884,
          914060966,
          843676357,
          806212029,
          784910461,
          814098474,
          809816871,
          854460770
        ],
        "crossbow": [
          915855989,
          874268567,
          883141682,
          818070371,
          809964230,
          856029421
        ],
        "deer.skull.mask": [
          784259585,
          882204381,
          837166252
        ],
        "door.hinged.metal": [
          901194793,
          836815358,
          827190175,
          915684869,
          849614068,
          917719889,
          921076360,
          832957536,
          859864870,
          835119969,
          897274189,
          883741993
        ],
        "door.hinged.toptier": [
          869475498,
          804286931,
          911652483,
          801889927,
          801937986,
          801831553,
          839925176,
          809638761,
          807729959,
          885928673
        ],
        "door.hinged.wood": [
          838700836,
          804991715,
          809253752,
          804854812,
          847902281
        ],
        "explosive.satchel": [
          855256664,
          908893157,
          860156815,
          856333895,
          855084816
        ],
        "fridge": [
          869398873,
          864918396,
          873612402,
          886416273
        ],
        "fun.guitar": [
          809801196,
          826914904,
          809938266,
          844914652
        ],
        "grenade.f1": [
          836745325,
          815252048
        ],
        "hammer": [
          833423263,
          822539548
        ],
        "hat.beenie": [
          14180,
          10018,
          10017,
          594202145,
          10040,
          10016,
          10085
        ],
        "hat.boonie": [
          10058,
          587812040,
          844289539,
          833565406
        ],
        "hat.cap": [
          10029,
          10027,
          10055,
          10030,
          10026,
          10028,
          10045,
          890772638,
          893188334
        ],
        "hat.miner": [
          886968007,
          788260164,
          886318490
        ],
        "hatchet": [
          892263562,
          814630559,
          824552943,
          915910717,
          816715928,
          910196839,
          826402867,
          814713259,
          825033005
        ],
        "hoodie": [
          897890977,
          10142,
          14179,
          10052,
          14178,
          10133,
          889718910,
          14072,
          895065994,
          914621940,
          797128321,
          661319427,
          919353761,
          10132,
          10129,
          835836079,
          10086,
          677636990,
          803249256
        ],
        "icepick.salvaged": [
          911446362,
          820810719,
          844666224,
          843454856
        ],
        "jacket": [
          10011,
          10012,
          834233801,
          10009,
          10015,
          10013,
          10072,
          10010,
          10008,
          10014
        ],
        "jacket.snow": [
          530154777,
          10113,
          913227043,
          530159711,
          839466039,
          10112
        ],
        "knife.bone": [
          808955868,
          909612594
        ],
        "locker": [
          879343335,
          879533969,
          881997061,
          881411749
        ],
        "longsword": [
          825169057,
          796733487,
          831965423,
          855009078,
          825008040
        ],
        "mask.balaclava": [
          843976918,
          539536877,
          10069,
          10071,
          884484239,
          10068,
          813561728,
          858156568,
          10057,
          856403207,
          10075,
          10070,
          10054,
          807719156,
          10090,
          539562549,
          10084,
          851779943,
          10139,
          10111
        ],
        "mask.bandana": [
          10061,
          10060,
          10067,
          10104,
          10066,
          10063,
          10059,
          903595865,
          10065,
          10064,
          10062,
          10079
        ],
        "metal.facemask": [
          901668040,
          832021670,
          792649975,
          784316334,
          799044333,
          821441043,
          835026584,
          831923884,
          792079554,
          915572534,
          807821375,
          794837198,
          812933296,
          881687672,
          806983252,
          899001394,
          895067146,
          828888629,
          841012325,
          900645045,
          803894027,
          792905158,
          792827436,
          896211631,
          907176719,
          824898622,
          816530945,
          800980236,
          832934294
        ],
        "metal.plate.torso": [
          832233112,
          842577956,
          796728308,
          794169855,
          823132085,
          895066686,
          828888000,
          817022417,
          819160334,
          797410767,
          798736321,
          799657859,
          900807753
        ],
        "pants": [
          888360095,
          10001,
          10049,
          909888619,
          889714798,
          10019,
          10078,
          823154911,
          10048,
          10021,
          798690647,
          10020
        ],
        "pants.shorts": [
          794678401,
          793871235,
          818068257,
          799006291
        ],
        "pickaxe": [
          904296143,
          828884658,
          859743520,
          832799172,
          863455081
        ],
        "pistol.eoka": [
          856053892,
          898387222,
          856225258,
          920310954,
          857750032
        ],
        "pistol.revolver": [
          910665268,
          855087726,
          815532676,
          873242795,
          809865395,
          809822151,
          10114,
          809897611,
          911828654,
          887846629
        ],
        "pistol.semiauto": [
          902487409,
          919535259,
          883156158,
          876007573,
          10087,
          863443112,
          904356033,
          893118140,
          805925675,
          10108,
          830255284,
          899942580,
          853927198,
          830606037,
          804337360,
          798375117,
          868298519,
          10081,
          10073,
          827533196,
          829983759
        ],
        "rifle.ak": [
          849047662,
          887494035,
          859845460,
          809190373,
          875130056,
          840477492,
          885146172,
          10135,
          920472848,
          889710179,
          908297014,
          10137,
          911726740,
          895307805,
          654502185,
          10138
        ],
        "rifle.bolt": [
          818403150,
          897023403,
          10117,
          10115,
          875259050,
          840105253,
          819149392,
          10116
        ],
        "rifle.semiauto": [
          828616457,
          839302795,
          900921542,
          840023839,
          875259741,
          899564368,
          818613234
        ],
        "riot.helmet": [
          869125904,
          849872204,
          801095823,
          911015530,
          887283623,
          869709888
        ],
        "roadsign.jacket": [
          865659101,
          801873550,
          818611894,
          784581113,
          879861502,
          828175620
        ],
        "roadsign.kilt": [
          865679836,
          801837047,
          818612271,
          784577443,
          879861153,
          794291485,
          828173323
        ],
        "rock": [
          864277659,
          858285362,
          804791902,
          843429299,
          807372963,
          834287924,
          824904841
        ],
        "rocket.launcher": [
          879708939,
          813795591,
          875930670,
          853494512,
          812737524
        ],
        "rug": [
          907327964,
          871072156,
          870851438
        ],
        "rug.bear": [
          870446546
        ],
        "salvaged.sword": [
          828885909,
          893871715,
          825240467
        ],
        "shirt.collared": [
          885078753,
          797241160,
          802078252,
          802073199,
          819818852,
          809704306,
          801955689
        ],
        "shirt.tanktop": [
          784578916
        ],
        "shoes.boots": [
          882570089,
          869090082,
          10080,
          10023,
          10088,
          899942107,
          838205144,
          919261524,
          784559403,
          10034,
          613481881,
          10044,
          809586899,
          10022
        ],
        "shotgun.double": [
          916790605,
          865019380,
          854987948,
          860153737,
          858957151
        ],
        "shotgun.pump": [
          10074,
          813631833,
          813628651,
          921253888,
          850130444,
          849997025,
          10140,
          731119713
        ],
        "shotgun.waterpipe": [
          907070012,
          912464069,
          819137470,
          661319648,
          10143,
          832764933
        ],
        "sleepingbag": [
          10121,
          10037,
          909889024,
          10119,
          809186722,
          539536110,
          10107,
          795398514,
          919353105,
          834487561,
          10077,
          10076
        ],
        "smg.2": [
          820350952,
          820402694,
          866745136,
          816728172,
          897099822,
          892212957,
          904964438,
          854914986,
          822943156
        ],
        "smg.mp5": [
          904404578,
          796679172,
          833639834,
          796687275,
          911612956,
          808554348,
          892100306,
          853438134,
          800974015,
          914624163
        ],
        "smg.thompson": [
          561462394,
          839819171
        ],
        "stone.pickaxe": [
          840380436,
          886904592,
          837149011
        ],
        "stonehatchet": [
          887663210,
          797445687,
          854688691,
          912599650,
          878257758
        ],
        "table": [
          875258582,
          872346354,
          909129983
        ],
        "target.reactive": [
          824001540,
          791177585
        ],
        "tshirt": [
          10130,
          10033,
          10003,
          14177,
          851890495,
          489329801,
          14181,
          10024,
          10035,
          10046,
          10038,
          101,
          10025,
          10002,
          10134,
          489687236,
          10041,
          10053,
          10039,
          584379,
          10043
        ],
        "tshirt.long": [
          10047,
          801204141,
          10004,
          808300545,
          512107102,
          10106,
          10050,
          10032,
          10005,
          566893368,
          10118,
          10051,
          10006,
          10036,
          10042,
          10007
        ],
        "vending.machine": [
          861029759,
          862137836,
          869474635,
          860916780,
          862291005,
          861548229,
          871927557
        ],
        "water.purifier": [
          886677071,
          786826476
        ]
      }
    }
     
  13. Yeah bro, dont load ;-; just grey icons and normal skins..
     
  14. Want my cfg and plugin ?
     
  15. Thx a lot for ready config file. Update if you add some new skins to the list, I think everyone will be grateful to you. ;)
     
  16. Ok ill upload my cfg than.