CustomResourceSpawns

Moved

Total Downloads: 4,211 - First Release: Mar 20, 2016 - Last Update: Jul 6, 2018

5/5, 11 likes
  1. Yaaay! Thank you :D
     
  2. Thanks man. This is, by far, my favorite plugin.
     
  3. wath is command for permission customresourcespawns.admin?
     
  4. whenever I adjust the respawntime in the .json it breaks the respawn altogether. What am I doing wrong?
     
  5. Using Oxide's permission system | Oxide
    What breaks exactly?
     
  6. For idiots like me out there - /crs add id - the ID is the number i.e. 46 for an oak tree - /CRS add 46
    took me about 20 minutes to realize this. Great plugin by the way !
     
    Last edited by a moderator: Jul 16, 2016
  7. Everything. Nothing respawns after I adjust it and save. I even tried setting it to 0.00001 to see if it would respawn faster. Nothing happened.

    Is there somewhere I can go to see if there's an error?
     
  8. i dont get a list in the console for the resources
     
  9. The command customresourcespawns.admin doesn't work in console or server launcher.. and I dont have permission to use the command /crs.. how do I use them then?
     
  10. I'm getting an issue with ore nodes respawning more or less half buried. A manual reload of the plugin fixes it, but as soon as it auto refreshes they are buried again.
     
  11. This plugin is broken after the current patch:

    [Oxide] 20:09 [Error] CustomResourceSpawns plugin failed to compile!
    [Oxide] 20:09 [Error] CustomResourceSpawns.cs(117,20): error CS1501: No overload for method `Spawn' takes `1' arguments
     
  12. Fix removed I done as coder has updated the plugin
     
    Last edited by a moderator: Aug 19, 2016
  13. 1 - Group add admin
    2 - usergroup add USERNAME admin
    3 - grant group admin customresourcespawns.admin
    4 - Add Items : /crs add ID
    5 - Remove Items : /crs remove ( the one you're looking at )
    6 - wipe just seems to remove the first items then second etc.. won't wipe all.
    Usefull ID :
    1 = Corn
    2 = Hemp
    3 to 8 = Mushroom
    9 = Pumpkin
    56 = Metal Ore
    57 = Stone Ore
    58 = Sulfur Ore
     
  14. Hi Mate.
    Bit of a problem. I added a forest area to my map... we now get people's game randomly crashing when they enter the village via a TP or set /town...
    yes, I know, I may have added to many trees :) I didn't think trees would cause a problem. There are approx 85 entries, mostly trees with some mixed ore rocks.

    Anyway, I tried a /crs wipe.... nothing hapened. This is the entry that popped up in the console.

    [Oxide] 10:34 [Debug] at System.Collections.Generic.List`1+Enumerator[BaseEntity].VerifyState () [0x00000] in <filename unknown>:0
    at System.Collections.Generic.List`1+Enumerator[BaseEntity].MoveNext () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CustomResourceSpawns.chatResourceSpawn (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CustomResourceSpawns.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.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    Any ideas?

    I am the owner/moderator of the server. You are more than welcome to jump onto the server if you want to have a look... Midgard ... in Australia under the modded category. PM me for the direct address if you wish.
     
  15. First of all awesome plugin, however only one problem. When ever the node respawns it goes 4-5 inches lower. So for example if a tree is spawned on a roof after it is respawned 4-5 times a portion of the tree is under the floor.
     
  16. This broken ? Seems to be failing as of the current update:

    (19:46:02) | [Oxide] 19:46 [Error] Failed to call hook 'OnServerInitialized' on plugin 'CustomResourceSpawns v0.2.21' (NullReferenceException: Object reference not set to an instance of an object)

    (19:46:02) | [Oxide] 19:46 [Debug] at Oxide.Plugins.CustomResourceSpawns.SpawnResourceEntity (System.String type, Vector3 pos) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomResourceSpawns.InitializeNewSpawn (System.String type, Vector3 position) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomResourceSpawns.InitializeResourceSpawns () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomResourceSpawns.OnServerInitialized () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomResourceSpawns.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.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  17. This isn't showing me anything in Console. What is the argument to post all in chat?