Raidable Shelters (Legacy Thread)

Status
Not open for further replies.
they not spawning wat i do wrong g
Shelters spawn at random locations around players who meet certain criteria, such as not being in monuments, near enemy bases, or in water. If shelters aren't spawning, it means there aren't any valid positions available at the time the plugin checked for spawning
 
do you think it would be possible to implement an feature that would allow us to set a percentage to spawn? such as...
assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab : spawn chance 50%
assets/prefabs/deployable/furnace/furnace.prefab : spawn chance 12%
campfire: spawn chance 100%
etc
etc...


AS well do you think it would be possible to do the following? set custom positions for objects? see image > https://ibb.co/NWfNWmY
 
Last edited:
do you think it would be possible to implement an feature that would allow us to set a percentage to spawn? such as...
assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab : spawn chance 50%
assets/prefabs/deployable/furnace/furnace.prefab : spawn chance 12%
campfire: spawn chance 100%
Sure thing, it'll be included in the next update! (y)

AS well do you think it would be possible to do the following? set custom positions for objects?
No, see, the main feature of the plugin is its automatic generator, which doesn't rely on hardcoded positions and rotations for entity spawning
 
Not sure what I'm doing wrong, but I've been running this since launch on the default configuration and I have never seen it spawn once. I upgraded it as updates come out hoping it would be resolved.
 
Not sure what I'm doing wrong, but I've been running this since launch on the default configuration and I have never seen it spawn once. I upgraded it as updates come out hoping it would be resolved.
Shelters spawn at random locations around players who meet certain criteria, such as not being in monuments, near enemy bases, or in water. If shelters aren't spawning, it means there aren't any valid positions available at the time the plugin checked for spawning
 
Not sure what I'm doing wrong, but I've been running this since launch on the default configuration and I have never seen it spawn once. I upgraded it as updates come out hoping it would be resolved.
A debug mode has been added in the latest version, you may use it to get visual feedback on why shelters fail to spawn
 
plugin not working

Have this when i try on local server
Could not initialize plugin 'RaidableShelters v1.4.0' (JsonReaderException: Unexpected character encountered while parsing value: T. Path 'Notification['Notify Surrounding Players Of Shelter Spawn']', line 24, position 52.)on 51.)
at Newtonsoft.Json.JsonTextReader.ReadAsBoolean () [0x00294] in <271c58b7a8684db5a2c92be17a81f252>:0 b/s in, 0b/s out
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0006e] in <271c58b7a8684db5a2c92be17a81f252
 
plugin not working

Have this when i try on local server
Could not initialize plugin 'RaidableShelters v1.4.0' (JsonReaderException: Unexpected character encountered while parsing value: T. Path 'Notification['Notify Surrounding Players Of Shelter Spawn']', line 24, position 52.)on 51.)
at Newtonsoft.Json.JsonTextReader.ReadAsBoolean () [0x00294] in <271c58b7a8684db5a2c92be17a81f252>:0 b/s in, 0b/s out
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0006e] in <271c58b7a8684db5a2c92be17a81f252

Your config has a syntax error somewhere in this section:
JSON:
  "Notification": {
    "Notify Surrounding Players Of Shelter Spawn": false,
    "Radius For Notifying Nearby Players": 40.0,
    "Send As Toast": true
  },
 
Last edited:
Hey, nice plugin idea, but im missing something more, way to easy to raid shelters, maybe can you add in cfg couple lines like this:
"min shelter and doors hp": 1000,
"max shelter and doors hp": 2000,
 
Status
Not open for further replies.
Back
Top
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.
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.
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. Make sure 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