Looking for a super easy API that Deletes wild bee hives/Drake &Wyvern Eggs/Beaver Damns on server startup.

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Fireboyjinx

Well-known member
Joined
Jul 30, 2019
Messages
1
Simple request I'm hoping someone could help me with. I can run admin commands for these, but it would be nice to have an API that just does a purge on each server start up. This would be serious Unofficial quality of life. No more mega beehive stacks, ransacked beaver damns, and spoiled eggs in nests.
 
Hm, Could do that as a Mod if you dont find any plugin author for it.
 
this has been a need for quite some time

as a workaround and filler until a mod of plugin is made ive modified code from ownprox's rcontool which he has here:
https://github.com/ownprox/Tools/tree/master/RconTool

if you wanted to try out the version i modified the code i use is located here:
https://pastebin.com/raw/k8p4SYqA

i have it so it can remove bee hives, and all rock drake/wyvern/deinoychus/magmasaur eggs as separate options but you can combine them all into the same command. this however is a manual process that you will need to run at least once per week.

its better then running it on each map you run since it can automate that part for you but its not as good as full automation like a plugin or mod would give.

and to solve your beaver damn issue you can modify the loot table of them to remove the wood from the smaller dams. something like this:
https://pastebin.com/raw/dvFRdhcE
modify as needed
 
also, ark remote/arkon has the possibility to run commands on a schedule
 
I have a plugin done for this purpose just finishing up testing. If you would like to help with that let me know.
 
Plugin will be available shortly after moderator approval.
 
Unfortunately RCON scheduler doesn't solve this problem, if you schedule a "destroyall beehive_c" it will also destroy player owned hives as the destroy all command also destroys sub classes of the one chosen.
 
Unfortunately RCON scheduler doesn't solve this problem, if you schedule a "destroyall beehive_c" it will also destroy player owned hives as the destroy all command also destroys sub classes of the one chosen.

The original poster mentioned running admin commands to fix the issues. While I agree the destroy all command will remove vanilla player owned beehives it was only included as example commands. I'm curious what commands @Fireboyjinx was using to accomplish this though.

If there is not a way to do some or all of these through RCON specifically. I can look at doing a custom solution for the ones that are not possible and add them as startup options in Rcon Scheduler.
 
Last edited:
The original poster mentioned running admin commands to fix the issues. While I agree the destroy all command will remove vanilla player owned beehives it was only included as example commands. I'm curious what commands @Fireboyjinx was using to accomplish this though.

If there is not a way to do some or all of these through RCON specifically. I can look at doing a custom solution for the ones that are not possible and add them as startup options in Rcon Scheduler.

There's no way to do specifically wild ones at the moment, it'd need a new command similar to destroyall that doesn't do subclasses.
 
itll fulfill all his other requests and if you use s+ on your server chances are you wont be using vanilla beehives. so just need to post a disclaimer on your server if you run the plugin and use it to kill beehives
 
if you use s+ and you are fine with using only s+ beehives you can try using the structures limit plugin as a helper tool. If you ONLY use it for this purpose you can edit the reachlimit notification to word it so they know why its blocked. an example of the config is below:

{
"General":{
"CheckInterval":10,
"NotificationDisplayTime":5.0,
"NotificationScale":1.5
},
"Structures":{
"Blueprint'/Game/PrimalEarth/Structures/BeeHive/BeeHive_PlayerOwned.BeeHive_PlayerOwned'":{
"Name":"\n\nVanilla BeeHives are disabled. Use the S+ version.\nVanilla Beehive",
"Count":0
}
},
"Messages":{
"Sender":"StructuresLimit",
"ShowLimitsCmd":"/limits",
"ReachLimit":"Vanilla Beehives are blocked to to the usage of a plugin to clear wild beehives.",
"ShowLimitMsg":"{}: Current Total {} / Max Allowed {}\n",
"TotalLimitMsg":"\nYour tribe currently has a total of {} structures.\nYour tribe is allowed a total of {} structures."
}
}


if you happen to already use the plugin you can add some extra text at the end of your config in the structures section. it could look something like this:

"Blueprint'/Game/PrimalEarth/Structures/BeeHive/BeeHive_PlayerOwned.BeeHive_PlayerOwned'":{
"Name":"\n\nVanilla BeeHives are disabled. Use the S+ version.\nVanilla Beehive",
"Count":0
}
 
Back
Top