Hi,
i'm searching for plugin that gives Items on first connection
AND
on one item on every connection.
Is it possible to do this with your plugin ?
Starter Pack [Unmaintained]
Discussion in 'Plugin Support' started by mangiang, May 11, 2017.
-
Code:
Failed to call hook 'OnPlayerSleepEnded' on plugin 'StarterPack v1.1.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.StarterPack.GivePlayer (System.String inventoryName, System.Collections.Generic.Dictionary`2 inventory, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.StarterPack.GiveToPlayer (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.StarterPack.OnPlayerSleepEnded (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.StarterPack.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0 Calling 'OnPlayerSleepEnded' on 'StarterPack v1.1.0' took 1473ms
-
right when i put in the item id and everything els and save and restart the server it goes back to how it was set
Code:{ "Chat name": "StarterPack", "Chat Parameters": { "color": "white", "size": "0" }, "Connection Message": "A cup of coffee has been poured", "Give item to everyone": "true", "Is the message broadcasted ?": "False", "Items": { "Belt Inventory": { "789892804": "1" "-1289478934": "1" "-853695669": "1" }, "Main Inventory": { "-420273765": "32" }, "Wear Inventory": {} }, "Only on first connection": "False", "Plugin Name Parameters": { "color": "orange", "size": "0" }, "Use logs": "False", "Verbose mode": "False" }
-
everytime I restart the server the config file goes back to the original.
-
When i set up my starter kit, whenever anyone wakes up everyone on the server gets it.
-
To everyone that was having the same issue as me. .json file would revert to origional upon startup. I found tonight that Im having more success modifying the actual cs file its self
-
hi anyone still monitoring this thread?