Jump to content

Console only usage

Closed 1.1.1

Delco
Delco

Posted (edited)

Is there a way to disable the UI, but still allow a player to use the custom items? I'm looking to add the items to my shop, but I don't want players to be able to create their own items.

I can currently give the items through console without the players having the permission, but they do not get the bonuses when using the items without the permission.

Edited by Delco6467
imthenewguy

Posted

Just to confirm; you dont want them to be able to get the items as drops in the world, or obtain them while crafting or use EpicScrap to get them?

Only via console command?

If so, set the following config options:

"Should players have a chance of their crafted items becoming enhanced?": false,
  "Loot crate info": {
    "Should we use the default item loot table for the below containers?": true,
    "Containers and their chance for an enhanced item to spawn": {
      "crate_normal_2": 0.0,
      "crate_normal": 0.0,
      "crate_elite": 0.0,
      "crate_underwater_basic": 0.0,
      "crate_underwater_advanced": 0.0,
      "heli_crate": 0.0,
      "bradley_crate": 0.0,
      "codelockedhackablecrate": 0.0,
      "codelockedhackablecrate_oilrig": 0.0,
      "crate_tools": 0.0
    },
    "Barrels and their chance for an enhanced item to spawn": {
      "loot-barrel-1": 0.0,
      "loot_barrel_1": 0.0,
      "loot-barrel-2": 0.0,
      "loot_barrel_2": 0.0
    }
  },
  "Corpse loot info": {
    "Corpse types and their chance for an enhanced item to spawn": {
      "scientistnpc_heavy": 0.0,
      "scientistnpc_cargo": 0.0,
      "scientistnpc_cargo_turret_any": 0.0,
      "scientistnpc_cargo_turret_lr300": 0.0,
      "scientistnpc_ch47_gunner": 0.0,
      "scientistnpc_excavator": 0.0,
      "scientistnpc_full_any": 0.0,
      "scientistnpc_full_lr300": 0.0,
      "scientistnpc_full_mp5": 0.0,
      "scientistnpc_full_pistol": 0.0,
      "scientistnpc_full_shotgun": 0.0,
      "scientistnpc_junkpile_pistol": 0.0,
      "scientistnpc_oilrig": 0.0,
      "scientistnpc_patrol": 0.0,
      "scientistnpc_peacekeeper": 0.0,
      "scientistnpc_roam": 0.0,
      "scientistnpc_roamtethered": 0.0
    }
  },
"Enable scrapping of equipment for a special currency that can be used to enhanced weapons?": false,

These options are spread out throughout the config.

Delco

Posted

These settings disables looting the items randomly, but I'm looking to remove the UI button and /el command for all players. I want them to be able to buy the items from /shop, but still be able to use the item enhancements without being able to craft them.
Realistically your Gathering Clothes plugin would be ideal if I could use a console command to give items to players.

imthenewguy

Posted (edited)

Why would you want to stop access to the inspector?

That is how players are able to see what the stats of their items are.

You can disable crafting with the first line I posted above

"Should players have a chance of their crafted items becoming enhanced?": false,

Setting the values for each create/npc type to 0.0 removes them from world drops.

Setting the following to false prevents players from scrapping the items and using epic scrap to create new ones

"Enable scrapping of equipment for a special currency that can be used to enhanced weapons?": false,

Having access to the HUD and the chat command still allows the player to inspect their equipment pieces and buffs, but will not allow them any means to obtain new items, so long as you follow my config options above.

Edited by imthenewguy
Delco

Posted

My plan was to set specific items, ex. miner's pants, to be static 15% at S level.
I can add the command to my shop to give the player the pants at S level. These pants will provide a flat 15% bonus to mining.

Since it will be a static stat increase while wearing the pants I want to remove the UI from the players. If this is not possible with the plugin's current state I fully understand and will look into alternative options.

imthenewguy

Posted

Ahh fair enough. No intention of preventing UI access unfortunately. The only thing you could do would be to disable the button in the next update via the config, and then prevent the chat command from running using a third party plugin.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.