Live
Sphinkter reviewed Compost HelperSphinkter reviewed Better JackhammerSphinkter reviewed Extraction LooterCalvinRF reacted 👍 to Rage Cheating DetectionCalvinRF published Rage Cheating DetectionKhaled updated Recycler StationMayonnaiseScc published Porta-Potty / OuthouseSnaplatack reacted 😮 to Electric VehiclesRickySpanish updated PurgeFXFlecksel updated Rust Valley GPArox followed @WizlaVoodooLights updated MyTimedEventsVoodooLights published MyTimedEventsbadgyver updated The Day After TomorrowBrad Copp reacted 🚀 to Silent Shadows - Grimwood HollowTheGamingChurch published Silent Shadows - Haunted MansionTheGamingChurch published Silent Shadows - Haunted CemeteryTheGamingChurch published Silent Shadows - Quagknocker's Haunted AbodeTheGamingChurch published Silent Shadows - Grimwood HollowTheGamingChurch published Silent Shadows - Halloween Fair Safe ZoneJeffGoldblume followed @bigtexryderJeffGoldblume reacted 😮 to Radio StudioWrecks updated Skybase (Community Center)RickySpanish updated Escape RoomRickySpanish reacted 🔥 to LootFloatEM$Ø updated rPhonebadgyver updated Extractiondrifter reacted ❤️ to OverWatch HUD UIWrecks published OverWatch HUD UIWrecks updated Beast Master - (Aura & Effect Update)

NpcTp

Razor★ 0.0 (0)v1.5.1Oxide
Make Npc Do more things.
Description

depends on

  • Human NPC
  • Path Finding

works with

  • Economics
  • Server Rewards
  • Spawns Database

Features

  • Create NPCs that will teleport players
  • Allow NPCs to run commands for a player
  • Allow NPCs to run commands on death from player
  • Allow NPCs to open doors

Permissions

This plugin uses Oxide's permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.

  • npctp.admin -- Allows players to use the /npctp_add chat command
  • npctp.default -- Allows players to interfact with created NPCs

Permission for each NPC can be set in the data/NpcTp/NpcTP_Data.json file.

Chat Commands

  • /npctp_add <npcID> <Optional spawnfile name>

If you set spawnfile to name random it will tp to a random spot on the map with out needing to create a spawnfile.

or for command npc use

  • /npctp_add <npcID>

add the npc to a door to open

  • /npctp_door <npcID>

To add a command for the npc to run

  • /npctp <npcID> command <refrence name>

To add a item on use for the npc to useItem

  • /npctp <npcID> item <Item shortname>

Edit them in data/NpcTp/NpcTP_Data.json for more options or use the /npctp chat command.

UI to confirm if they want to pay or not.

Configuration

The settings and options for this plugin can be configured in the Npctp.json file under the oxide/config directory. The use of a JSON editor or validation site such as jsonlint.com is recommended to avoid formatting issues and syntax errors.

Config
{
  "KillNoPerms": {
    "NpcFollowUntellDead": false,
    "OnFireDamage": 10,
    "OnFireTime": 10,
    "SetOnFire": false,
    "UseGunToKill": true
  },
  "KillSleepPlayer": {
    "SleepKillDamage": 10
  },
  "SETTINGS": {
    "AutoCloseDoors": true,
    "AutoCloseTime": 15,
    "DoorOpenMessage": true,
    "useEconomics": false,
    "useRewards": false
  }
}

Stored Data

This plugin stores data in the data/NpcTp/NpcTP_Data.json file to keep track of NPCs created. Deleting this data file would remove all NPCs created with the plugin.

Example
Copy
{
  "NpcTP": {
    "1360609784": {
      "NpcName": "<color=#ffff00>Npc</color> : ",
      "SpawnFile": null,
      "Cooldown": 0,
      "CanUse": true,
      "useUI": false,
      "Cost": 0.0,
      "permission": "npctp.default",
      "useItem": true,
      "UseCommand": true,
      "useMessage": false,
      "MessageNpc": "none",
      "EnableDead": false,
      "DeadOnPlayer": false,
      "DeadCmd": "jail.send",
      "DeadArgs": "5",
      "OpenDoor": false,
      "DoorLocX": 0.0,
      "DoorLocY": 0.0,
      "DoorLocZ": 0.0,
      "DoorId": 0,
      "NoPermKill": false,
      "KillSleep": false,
      "Commands": {
        "say": {
          "Command": "say",
          "Arrangements": "this is a test",
          "OnPlayer": false
        },
        "say2": {
          "Command": "inventroy.give",
          "Arrangements": "scrap 25",
          "OnPlayer": true
        }
      },
      "Items": {
        "metal": {
          "ItemShortName": "metal.fragments",
          "Amount": 100
        },
        "stones": {
          "ItemShortName": "stones",
          "Amount": 10
        }
      }
    }
  }
Default configuration
Npctp.json
{
  "KillNoPerms": {
    "NpcFollowUntellDead": false,
    "OnFireDamage": 10,
    "OnFireTime": 10,
    "SetOnFire": false,
    "UseGunToKill": true
  },
  "KillSleepPlayer": {
    "SleepKillDamage": 10
  },
  "SETTINGS": {
    "AutoCloseDoors": true,
    "AutoCloseTime": 15,
    "DoorOpenMessage": true,
    "useEconomics": false,
    "useRewards": false
  }
}
Sponsored
RCONtrol
RCONtrol

Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.

Visit site ↗
Free
Download
Views1.4k
Downloads48
Purchases0
Rating★ 0.0
Version1.5.1
PlatformRust
CategoryPlugins
CompatibleOxide
Size55 KB
PublishedJan 30, 2021
UpdatedOct 4, 2024
✓ Reviewed for safety and integrity