Solved Stack sizes
Discussion in 'Plugin Requests' started by [EHJ] 1776, Feb 5, 2015.
-
You can use my version of lua's equvalent when i created it for linux (before latest oxide updates with linux support for csharp).
http://oxidemod.org/threads/stack-sizes.6732/page-4#post-69862
please note - i didn't coded config file, so just edit values in code. If you want i can write config for it but i don't needed it in first place. And i don't need this already because for me csharp working now under linux so))Code:PLUGIN.Title = "Stack Sizes Lua" PLUGIN.Description = "Lua equvialent for stack sizes" PLUGIN.Author = "AlexALX" PLUGIN.Version = V(0, 0, 1) PLUGIN.HasConfig = falsefunction PLUGIN:OnServerInitialized() self:SetStackSizes(); endfunction PLUGIN:SetStackSizes() local tbl = { ["bone_fragments"] = 2000, ["charcoal"] = 1000, ["cloth"] = 2000, ["fat_animal"] = 2000, ["gunpowder"] = 2000, ["lowgradefuel"] = 2000, ["metal_fragments"] = 2000, ["metal_refined"] = 2000, ["paper"] = 2000, ["stones"] = 3000, ["sulfur"] = 2000, ["sulfur_ore"] = 3000, ["metal_ore"] = 3000, ["wood"] = 3000, } for k,v in pairs(tbl) do local item = global.ItemManager.CreateByName(k,1); item.info.stackable = v; end end -
thank you alot
now just i create new file
and paste the code in it
then save it with .lua format
?
thank you alot -
Yes save as .lua and it should work. Also edit stack values for what you need.
-
THANK YOU ALOT
i check my email now and i see refund for me from Multiplay
and now i will take detect server "linux"
to have full access
and should the plugin work .cs and .lua ? -
Also restart server. or you can add this so no required to restart:
[DOUBLEPOST=1425317018][/DOUBLEPOST]As for linux - no) its just for me needed for me because i'm have own server machine with linux os, rust don't have native support on linux server yet (i'm running using wine), just search another host or so, i can't help with this.Code:function PLUGIN:Init() self:SetStackSizes(); end
-
so should i take windows server ?
-
For now yes, i don't think that there is linux hosters for rust at all because of lack native support. It will be at some day, but probably not soon (year or so).
-
thank you ^_^
do you know the Server specifications for 100 player ?
to rent win for 100 player ^_^ -
No, because i never rent servers (for what if i have own
).
Anyway good luck with searching! -
Hey
Can anyone recommend a good plugin for changing the default stack size of things like stone and wood or is there a way to do this via the default server config files? -
Wulf Community Admin
Searching is the key!
Remember to keep it simple when searching, such as "stack size" or "stack sizes", which would both return the below results.
http://oxidemod.org/resources/betterloot.828/
http://oxidemod.org/resources/stack-sizes.812/ -
Hey, I've spent forever trying to find a good infinite stacks plugin that works but I am at a loss here, please help. Thanks
-
Wulf Community Admin
You won't be able to stack infinitely, there is a limit. Stack Sizes works fine though.
-
A problem with stack sizes is it breaks when I try to add more items to the list
-
Wulf Community Admin
Most likely you aren't editing the config right, breaking the format in some way. You have to be careful when editing JSON. -
I did it identical but it just won't work, can you help?
-
Wulf Community Admin
I'd recommend posting in the plugin's thread with your config attempt. -
Thanks
-
aint working
