Hey, I really like the plugin idea but I'm having a bit of an issue with the default skin config. On my server we run with Skinbox/Server Rewards and I don't really want our players to be able to skin their rocks at will without having to buy them through the Skinbox. I would however like every new spawn's rock to have a custom skin on it with a link to our server's rules. I've made the skin, I've pasted it's workshop id into the config, but I still get the default skin on respawns. For reference I changed the vanilla config:
---
If I give myself the customrock permission and use the /rskin command I spawn with the proper skin, so I know the plugin is working. I see you added the default skin part as an update as per someone's request. Are you sure it's still working? Does my config look like I did anything wrong?
Merged post
For anyone interested, our local dev Tori1157 has fixed up this issue for us. He changed the line:
{"DefaultRockSkin": 1}
to:{"DefaultRockSkin": 1538455156}---
If I give myself the customrock permission and use the /rskin command I spawn with the proper skin, so I know the plugin is working. I see you added the default skin part as an update as per someone's request. Are you sure it's still working? Does my config look like I did anything wrong?
Merged post
For anyone interested, our local dev Tori1157 has fixed up this issue for us. He changed the line:
var b = ItemManager.CreateByName("rock", 1, skin);
to
var b = ItemManager.CreateByName("rock", 1, Convert.ToUInt32(Config["DefaultRockSkin"].ToString()));
And now the default rock skin is working like a charm.