Approved Can I change the spawn rate of resources? (Stones, woods, etc)

محمد

New Member
Member
Feb 12, 2018
3
0
1
27
Parts Unknown
I'm trying to change it already has a time but I do not find a plugin with this function,
I need to change the spawn rate of resources (stones, woods...)

(SORRY FOR MY ENGLISH, I'M SPEAK PORTUGUESE) <3 <3 <3
I do not know if it's the right place to post this ...
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,817
113
At your house.
github.com
I'm trying to change it already has a time but I do not find a plugin with this function,
I need to change the spawn rate of resources (stones, woods...)

(SORRY FOR MY ENGLISH, I'M SPEAK PORTUGUESE) <3 <3 <3
I do not know if it's the right place to post this ...
It seems to be the GenericSpawner class in the Assembly.
I can create you a hook for it in the next Fougerite update.
 
  • Friendly
Reactions: محمد

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,817
113
At your house.
github.com
Thanks brô, with this I can change the spawn rate of resources in my server? (Wood, stones, ore...)
When will you release the update? :) <3
Python:
def On_ServerLoaded(self):
    GenericSpawner = Util.TryFindReturnType("GenericSpawner") # Get the class's type.
    GenericSpawner.spawnStagger = 40