Solved Respawn Dancer NPC at Saved Locations Automatically

Evil_Orko

Customer
Hello, this plugin does exactly what I want except I have to manually load them each time it reboots. Is there any way I can save the coordinates and reload the dancers like in HumanNPC? I have a town that spawns in the same coordinates constantly I would LOVE to utilize this at. Thanks for the fun plugin!
 
Figured it out. Was on a PVE enabled server. Need to use killplayer <SteamID>/<playername>
Maybe adding admin permission to kill or something can be helpful. Thanks. Love your other Plugins.
i always just waited for restart since they don't spawn automatically - the problem kinda fixed itself. I'll remember this though for when Viz adds the auto-spawning next time he updates this
 
@VizEntities - any chance the dancers will get autospawning any time soon? My SkyTown really could use some dancers in the Concert & Bar areas :) Off-topic, but it's awesome that you are getting some well-deserved attention with srtbull lately, too!
1763346177531.png
1763346219431.png
 
wow that was fast thank you VisEntities! I do have a question about the Gear Sets. Does this support some kind of kits or a way I can add a custom skinned outfit (shirt, pants, boots, etc) per dancer or just full suit outfits? Also - I might be misunderstanding about the Gear Sets but how would I add the new Kick Hazmat skin, or the Purple Hazmat for example? Am really looking forward to this obviously so thank you again!
 
wow that was fast thank you VisEntities! I do have a question about the Gear Sets. Does this support some kind of kits or a way I can add a custom skinned outfit (shirt, pants, boots, etc) per dancer or just full suit outfits? Also - I might be misunderstanding about the Gear Sets but how would I add the new Kick Hazmat skin, or the Purple Hazmat for example? Am really looking forward to this obviously so thank you again!
All of that is possible with Gear Core
 
All of that is possible with Gear Core
sorry it's been a few days but i got a bad flu and have been out of commission. I am having a few issues I thought I'd bring to your attention. I got the NPCs to use outfits now with Gear Core - thanks for that tip! I was trying to make some female dancers but after server restart the NPCs change genders. Also, the NPCs respawn but naked each time - is there a command I'm not entering to 'save to file' or something maybe? One last thing is that I'm getting a ton of console spam whenever the plugin is loaded. Thanks again for making them auto spawn for us!
 

Attachments

  • 1763999650125.png
    1763999650125.png
    23.5 KB · Views: 2
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