Hi! It is possible to make a little plugin that makes the admin resourses not consumable?!
Ex: i give me 1k wood and when i want to build a base, that 1k wood does not consume!
(wood/stones/metal_fragments with persission: infinite.resources)
Thx!
P.S.: Like Infinite Ammo!
Solved Infinite resources (for admin)
Discussion in 'Plugin Requests' started by Freaky, Jul 12, 2015.
-
you could make a admin kit with like 500k wood or what ever and all you do is the kit every time you want more . we are doing that
-
Or use build plugin and not have to worry about that... Or use rusty to spawn a large stack of it
-
...not to forget automatic build grades.
All I got is an admin kit with 100k wood included, dont need anything else. Rest ist taken care of with build for RUST.
Regards -
I'm assuming there is a way to enable it in-game.
Code:public bool freeCraftingCheat;public bool CanCraft(ItemBlueprint bp, int amount = 1) { if (this.freeCraftingCheat) return true; using (List<ItemAmount>.Enumerator enumerator = bp.ingredients.GetEnumerator()) { while (enumerator.MoveNext()) { ItemAmount current = enumerator.Current; if (!this.DoesHaveUsableItem(current.itemid, (int) current.amount * amount)) return false; } } return true; }