Jump to content

Players unable to use Switches? [CONFIG INCLUDED]

Closed 1.0.30

Shark-A-Holic

Posted

{
  "Options": {
    "RequirePermission": false,
    "protectedDays": 0.0,
    "useZoneManager": false,
    "useSchedule": false,
    "useRealTime": false,
    "useFriends": true,
    "useClans": true,
    "useTeams": true,
    "HonorRelationships": false,
    "OverrideOven": false,
    "OverrideTC": false,
    "StartEnabled": true,
    "StartLogging": false,
    "LogToFile": false,
    "AdminBypass": false,
    "BuildingShareRange": 150.0,
    "BShareIncludeSigns": true,
    "BShareIncludeLights": false,
    "BShareIncludeElectrical": false,
    "TCAuthedUserAccess": true
  },
  "Rules": {
    "abovegroundpool.deployed": true,
    "bbq.deployed": true,
    "box.wooden.large": true,
    "campfire": true,
    "cursedcauldron.deployed": true,
    "fridge.deployed": true,
    "fuelstorage": true,
    "furnace.large": true,
    "furnace.small": true,
    "hopperoutput": true,
    "item_drop_backpack": true,
    "lock.code": true,
    "lock.key": true,
    "mixingtable.deployed": true,
    "murderer_corpse": false,
    "paddlingpool.deployed": true,
    "player": true,
    "player_corpse": true,
    "recycler_static": false,
    "refinery_small_deployed": true,
    "repairbench_deployed": true,
    "researchtable_deployed": true,
    "scientist_corpse": false,
    "sign.hanging": true,
    "sign.huge.wood": true,
    "sign.large.wood": true,
    "sign.medium.wood": true,
    "sign.pictureframe.landscape": true,
    "sign.pictureframe.portrait": true,
    "sign.pictureframe.tall": true,
    "sign.pictureframe.xl": true,
    "sign.pictureframe.xxl": true,
    "sign.small.wood": true,
    "vendingmachine.deployed": true,
    "woodbox_deployed": true,
    "planter.large": true,
    "planter.small": true,
    "workbench1.deployed": true,
    "workbench2.deployed": true,
    "workbench3.deployed": true,
    "electric.andswitch": true,
"electric.audioalarm": true,
"electric.blocker": true,
"electric.button": true,
"electric.cabletunnel": true,
"electric.counter": true,
"electric.doorcontroller": true,
"electric.heater": true,
"electrical.branch": true,
"electric.flasherlight": true,
"fluid.switch": true,
"electric.hbhfsensor": true,
"electric.igniter": true,
"electric.battery.rechargable.large": true,
"electric.solarpanel.large": true,
"electric.laserdetector": true,
"electric.battery.rechargable.medium": true,
"electrical.memorycell": true,
"electric.orswitch": true,
"electric.pressurepad": true,
"electric.random.switch": true,
"electric.rf.broadcaster": true,
"electric.rf.receiver": true,
"electrical.combiner": true,
"electric.sirenlight": true,
"electric.fuelgenerator.small": true,
"electric.battery.rechargable.small": true,
"smart.switch": true,
"electric.splitter": true,
"electric.sprinkler": true,
"electric.switch": true,
"electric.teslacoil": true,
"electric.generator.small": true,
"electric.timer": true,
"generator.wind.scrap": true,
"electric.xorswitch": true
  },
  "Zones": null,
  "EnabledZones": null,
  "DisabledZones": null,
  "Schedule": "",
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 29
  }
}

Shark-A-Holic

Posted

Just updated to 1.30.0 and same thing's going on. 😞 

RFC1920

Posted

Switches should not be in the default config.  If they are in there and set to true, then they would have to be shared.  /lp log as admin to enable logging.

Shark-A-Holic

Posted

I added the switches to try and resolve the issue and it didn't fix it either.

Ryrzy

Posted

+1, there are some entity with problems, like fluidswitch, electric.switch, plants in planter.large.deployed and small (for example red_berry.entity, pumpkin.entity) and more. Those are working only with "false" ibn config but all have access now. witch "true" players have no access (with TC, share, friend, clan etc not working)

RFC1920

Posted

I haven't had much time to look.  However, it appears that as written, you should set the values to false.:
 

if (configData.Rules[prefab])
{
    DoLog($"Rule found for type {prefab}.  Access BLOCKED!");
    return false;
}

So, if in your config you have "fluid.switch": true, then access would be blocked.

Shark-A-Holic

Posted

Also finding that players cannot /share these electrical parts at all either.

Guest

Posted

 

I tested it, and indeed, whether the switch is in the "config" mode or not, they cannot be shared.

 

RFC1920

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

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.