Compound Options allows you to configure some options for the monument "Compound" (scientists town), "Bandit Camp" & "Fishing Monuments" (Boat Vendors)
On every server load, the plugin automatically creates data/CompoundOptions_default.json with the server default vending machine configuration.
Then we can see array of fields, where:
Features
- Configure sell prices and lists for vending machines (via data/CompoundOptions.json)
- Disable Compound SafeZone trigger (attack player when enter to area with loaded gun or attack any NPC), defaults - off
- Disable Compound Turrets, defaults - off
- Disallow Compound NPC (for rollback need restart server/respawn npc), defaults - off
- Disable Compound vending machines, defaults - off (for rollback if switched 'on' need restart server)
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.- compreset - this will allow admins to reset the vending machines after editing the data files and saving them without having to do a server reboot now.
- /compreset - same as above just via chat for admins
Notes
For first run plugin automatically make data/CompoundOptions.json with defaults (in-game). You can manually change fields in this file and reload plugin to apply.On every server load, the plugin automatically creates data/CompoundOptions_default.json with the server default vending machine configuration.
Then we can see array of fields, where:
- comment - comment for you, not used in code
- sellId - ID of item what you sell
- sellAmount - Price in currency for order
- currencyId - ID of yours currency
- currencyAmount - how many you sold for 1 order (sellAmount)