Dancing NPC

Dancing NPC 1.3.1

Sign in to download
Allows players to spawn an npc that performs various dance gestures
Dependencies
Gear Core (Optional)
This plugin lets players spawn npcs that perform looping gestures, making them appear as if they’re dancing.







Permissions

  • dancingnpc.use - Required for players to use the /dance command.

Commands

  • /dance [gesture] [gearSetName] - Spawns an npc at your location to perform the specified gesture or updates the gesture of an existing npc if you're looking at one. If no gesture is provided, a random gesture from the configured list will be used. If no gear set name is provided, a random gear set from the configured list will be equipped.

Configuration

JSON:
{
  "Version": "1.2.0",
  "Chat Command": "dance",
  "Gestures": [
    "shrug",
    "victory",
    "wave",
    "cabbagepatch"
  ],
  "Gear Sets": [
    "hazmat suit",
    "egg suit"
  ]
}
  • Chat Command - This is the command players will type in the chat to trigger the npc to dance.
  • Gestures - This is a list of gestures that the npc can perform. When a player uses the dance command without specifying a gesture, the plugin will randomly pick one from this list.
  • Gear Sets - Defines different gear sets that can be equipped on the npcs.

Available Gestures

Not all gestures listed here may work, as they have not all been tested and could have been removed from the game.
  • clap
  • surrender
  • hurry
  • ok
  • point
  • shrug
  • thumbsdown
  • thumbsup
  • victory
  • wave
  • raiseroof
  • cabbagepatch
  • twist
  • talk_01
  • talk_02
  • talk_03
  • talk_04
  • talk_05
  • hold_relaxed
  • exclaim_01
  • hat_tip
  • parachuteLand
  • kick
  • push
  • cine_kick
  • cine_push
  • chicken
  • drink

Localization

JSON:
{
  "NoPermission": "You do not have permission to use this command.",
  "GesturePlayedOnNewNPC": "Spawned a new npc and played gesture <color=#CACF52>{0}</color>.",
  "GestureUpdatedOnExistingNPC": "Updated gesture to <color=#CACF52>{0}</color> on the existing npc.",
  "GestureNotFound": "Gesture <color=#75A838>{0}</color> not found. Please specify a valid gesture."
}
Author
VisEntities
Downloads
77
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Latest updates

  1. 1.3.1

    Patched for November 7th Rust update. Gear sets are now optional in the /dance command. Fixed an...
  2. 1.3.0

    npcs will now face the player when spawned, and this also applies when updating gestures for...
  3. 1.2.0

    NPC outfits are now managed through the Gear Core plugin. Check out...
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