CatalysmsServerManager / 7-days-to-die-server-manager

A server manager for 7 Days to die
GNU General Public License v3.0
68 stars 59 forks source link

Entity auto fill for gimme configuration #470

Open Rizzano74 opened 3 years ago

Rizzano74 commented 3 years ago

Item name for shop and gimme has an list/auto fill option when typing letters. This is especially handy when managing a modded server because CSMM connects to the changed XML files and includes modded items. It would by very welcomed if, when configuring gimme, to have entity have this same feature as mods often have custom entities.

Also it would be helpful if gimme allowed a quantity. Things like a bundle of iron or stone, you don't need a quantity, but mods often add extra resource items and don't include bundles for said resources. For example, the Ravenhearst mod adds Limestone as a potential resource when mining. Limestone, in this mod, is needed to make concrete mix in the cement mixer. The mod doesn't have a bundle of limestone, and if configured in the gimme, would only give one limestone, which is not helpful (maybe as a booby prize lol.) I woul like to give 100 limestone as a prize in gimme, but there is no way to set quantity. Server managers can circumvent this by adding 100 limestone through purchase at the shop, but sometimes people want to offer stuff like that through gimme, so we need a quantity option.

Also, while I'm posting here, I think CSMM is the best server manager, but one function Rat has that I don't know if CSMM or CPM has the capability of is packs. What mean is Rat can configure different loot packs that contain specific items and then press a button to drop at random. For instance, say I wanted a Food Drink pack to drop, or have it as an option to buy or gimme. I could put 5 beef rations and 5 purified water in it.

Last thing, it would be cool if there was a built in feature to spawn either a wandering horde of zombies, or spawn some stags for hunting. Someone told me how to configure this but I didn't understand it.

Thanks for reading

niekcandaele commented 3 years ago

Good suggestions! Usually we want only one request per issue because it helps us keep track better of things. So let's dissect this

Should be possible! We do it for items already

Interesting bits of code are: API route to get items. Would need something similar but for entities instead

Filling in items in the frontend Again, similar thing but for entities.

I think the only place CSMM lets users configure entities is in gimme.

I've made a separate issue for this. See that issue for a workaround.

I think that's a duplicate of this issue ?

Should be achievable with a custom command

Have a look at the help text for multipleentityspawn, an example of a custom command would be:

multipleentityspawn ${entityId} 4 @ 85 85 86 86 87 88

You should double check those entity IDs though, can be different on your server. Ask on Discord if you need some more help with this :wink: