Join the Game4Freak Discord Get exclusive plugin sneak peeks, talk directly with VisEntities, never miss important updates, and unlock special discount codes!

Suggestion Hide Vending Machine Markers from Map

Well, if a player deployed Vending Machine can be separated from a vanilla machine. I would say separately set each as a true false option. I'm assuming a player deployed machine has an owner ID, where vanilla is just the prefab. If I had to choose one or the other, Id choose player deployed machine markers would always show up, and vanilla machine markers could be turned off.
 
Well, if a player deployed Vending Machine can be separated from a vanilla machine. I would say separately set each as a true false option. I'm assuming a player deployed machine has an owner ID, where vanilla is just the prefab. If I had to choose one or the other, Id choose player deployed machine markers would always show up, and vanilla machine markers could be turned off.
But I don't really see the point of hiding vanilla vending machine markers from the map, since players already know where they are
 
In most cases, I would 100% agree, and the request is completely self serving. But I came across "No Compound" a while back and have since been turning outpost and bandit into lootable / cobalt defended monuments just like all the others. In that process, all of the vending machine prefabs are removed, but the markers remain. Bandit is now a blue card monument with elite crates and outpost a red card with a locked crate. The vending economy is 100% player driven. So, you kinda gave me the idea for all of this, and deleting the vanilla markers would compliment compliment both plugins.
 
In most cases, I would 100% agree, and the request is completely self serving. But I came across "No Compound" a while back and have since been turning outpost and bandit into lootable / cobalt defended monuments just like all the others. In that process, all of the vending machine prefabs are removed, but the markers remain. Bandit is now a blue card monument with elite crates and outpost a red card with a locked crate. The vending economy is 100% player driven. So, you kinda gave me the idea for all of this, and deleting the vanilla markers would compliment compliment both plugins.
I just noticed I'm maintaining that plugin on umod now lol, so it's probably better to fix this directly in that plugin
 
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart