Please dont merge this with the current Kits addon as I want this seperate from Kits, Thank you.
So what Im looking for is an addon that clan leaders can set a clans "kit" so to speak. But the kit would only be the 6 clothing/armor slots.
So for example I am the leader of -DT- on my server and I want my clan to wear Metal Facemask, Metal Chestplate, Roadsign Kilt, Cuda87 Hoodie, Black Pants and Black Boots. I want to put them on and have a command like /ClothingClan -DT- and it would save that clothing for anyone in DT to redeem. I would want the addon to either use server rewards OR X amount of X materials to redeem the kit so long as they are in the clan.
Meaning that the addon would have to check either every so often if the person is still in the clan or check when the player tries to redeem the clans clothing kit. Im hoping there is some sort of way an addon can check clans to see if players are still in the clan.
Also make it so ONLY the clan leader may set, edit or remove the clan uniform.
Commands I would suggest would be:
/ClothingClan <clan tag>
/Clothing_Edit <clan tag>
- needs a /Clothing_save <clan tag> sub command?
/Clothing_Remove <clan tag>
- needs some sort of way to confirm this.
If someone is willing to work on this for me please let me know, even if its going to take some time or a backseat to other addons you may have in development.
Rust Kits for clans
Discussion in 'Plugin Requests' started by Razor14150, Oct 5, 2016.
-
Anyone willing to look into this for me?
-
Would it be better if clan owner can set own "StartupItems"?
So clan members dont have to always claim kit?
What clan plugin you using? Maybe this,
Rust:IO Clans for Rust | Oxide -
I have something in the works. It implements what I believe you are requesting. Currently, I have tested clan owner adding and removing clan clothing as well as clan member claiming. The cost functionality is being added and will be tested soon.
Currently the commands are:
(All commands can be changed in the config)
/cc - check the cost of the Clan Clothing
/cc_claim - clan member claims the Clan Clothing
/cc_add - Clan owner sets their current clothing as the Clan Clothing (Can be used to modify already existing Clan Clothing)
/cc_remove - Clan owner removes the current clan clothing
Notes:
Each clan get's only 1 set of clothing
There will be an exception list to block certain items from being added as Clan Clothing. Ex (Metal Facemask)
Since both Rust:IO Clans and Universal Clans are the same name and support the same API calls they should be able to be used interchangeably.
If you feel that I misunderstood or there is change to this you want just let me know.Last edited by a moderator: Oct 6, 2016 -
@MJSU This sounds what Im looking for. This does only the 6 clothing slots correct?
-
-
If you need another place to test it out let me know, I would be more then willing to help.
-
-
It won't let me upload files here so you can find everything here: Plugins
Current commands for Clan Clothing:
/cc - check the cost of clan clothing
/cc_claim - claim your clans clothing
/cc_view - view your clans clothing
/cc_add - as clan owner you add your current clothes as the clans clothing
/cc_remove - as clan owner you remove your current clans clothing -
[Oxide] 15:31 [Info] Loaded plugin Clan Clothing v0.0.1 by MJSU
[Oxide] 15:31 [Error] Failed to initialize plugin 'ClanClothing v0.0.1' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 15:31 [Debug] at Oxide.Plugins.ClanClothing.Loaded () [0x00000] in <filename unknown>:0
at Oxide.Plugins.ClanClothing.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
[Oxide] 15:31 [Info] Unloaded plugin Clan Clothing v0.0.1 by MJSU
[Oxide] 15:31 [Info] No previous version to rollback plugin: ClanClothing
[DOUBLEPOST=1476052251][/DOUBLEPOST]Just thougt I would let you know this is popping up in RUSTY -
When did you download that one?
Please try this link:
OxidePlugins/OxidePlugins/OxidePlugins at master · dassjosh/OxidePlugins · GitHubLast edited by a moderator: Oct 10, 2016 -
idk but i think an easy way is if there is a call to the clans api and then clan members are put into a group and then using the kits plugin the permission is given.
-
I downloaded your newest version and this come up:
[Oxide] 11:13 [Info] Loaded plugin Clan Clothing v0.0.1 by MJSU
[Oxide] 11:13 [Error] Failed to initialize plugin 'ClanClothing v0.0.1' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 11:13 [Debug] at Oxide.Plugins.ClanClothing.Loaded () [0x00000] in <filename unknown>:0
at Oxide.Plugins.ClanClothing.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
[Oxide] 11:13 [Info] Unloaded plugin Clan Clothing v0.0.1 by MJSU
[Oxide] 11:13 [Info] No previous version to rollback plugin: ClanClothing -
That's happening because the config is failing to be created. Can you delete the ClanConfig.json in your oxide/config folder and load the plugin. That should fix the issue.
-
its not making a config file at all
-
I just pushed and update that should keep it from failing if the config doesn't load correctly. Can you please try that?
-
same things over and over again. Do you have a TS we could chat on to try and get this working?
-
I can't do that at the moment. I'll be available later in the day Can you paste the file you're using? It's doing that because it's trying to configure the custom command names and the config is failing to load them. The code I posted should have fixed that.
-
Ill send you a PM with the one Im using.